Archive for the ‘Linux’ Category
The character device /dev/vboxdrv does not exist
When starting VirtualBox OSE, the following message is shown:
*
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-modules package for your kernel and
load the module named vboxdrv into your system.
You will not be able to start VMs until this problem is fixed.
Load the VirtualBox […]
#
In KDE, go to: KDE menu > System > VirtualBox OSE
#
In GNOME, go to: GNOME menu > Applications > System tools > VirtualBox OSE
#
From an X terminal:
$ virtualbox
VirtualBox OSE 1.6.6 is packaged for Debian Lenny and available as backported packages for Debian Etch. VirtualBox OSE 2.1.4 is currently packaged for testing.
Lenny
Using Etch? Skip to the Etch section.
udevcontrol reload_rules is not invoked at virtualbox-ose postinst as /sbin/udevcontrol does not exist in Lenny
1.
Install the virtualbox-ose […]
Problem VirtualBox zombi.
/usr/bin/vboxmanage controlvm or-prodtest reset
[!] FAILED calling virtualBox->OpenExistingSession (session, uuid) at line 5536!
[!] Primary RC = E_ACCESSDENIED (0×80070005) - Access denied
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_ACCESSDENIED (0×80070005) - Access denied
[!] Text = The machine 'or-prodtest' does not have an open session
[!] Component = […]
setterm writes to standard output a character string that will invoke the specified terminal capabilities. Where possible terminfo is consulted
to find the string to use. Some options however (marked “virtual consoles only” below) do not correspond to a terminfo(5) capability. In […]
Which shell am i running?
grep yourloginname /etc/passwd
/etc/profile
Configuration file for bash any data like variables, path, start options, hotsname, Histsize etc..
/etc/bashrc
Aliases and functions any logic
It is to make changes globaly.
/etc/skel/
Contains hidden files .bash_logout .bash_profile .bashrc this setting is for all user on the system. It is to make changes for eth new user.
To add new […]
However I did come across a weird problem. I’d installed Debian linux and the console keyboard layout wasn’t correct for my Apple USB keyboard.
The solution was to use this command
dpkg-reconfigure console-data
Boot from any emergency boot/root disk set. (SystemCD, rescue cd). If /dev/hda3 is the original root partition, the following will let one edit the password file juist as:
#mkdir fixit
# lvm vgchange -a y
# lvdisplay
#mount /dev/debain/root fixit
#cd fixit/etc
#vi passwd
show all dev
To activate the LVMs in FC4 Rescue Mode, run this from the command line:
lvm vgchange -a y
For a list of LVM commands, run:
lvm help
There is a really good LVM HowTo here
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/LVM-HOWTO.html
The bottom line about resizing ext3 logical volumes is that it is easy to make them bigger, but difficult to make them smaller. In theory, […]
Posted in Linux, Links |
Jul
31
0. Introduction
1. July Project of the Month: Piwik
2. August Project of the Month: eyeOS
3. Policy Change: Advertising In Project Web Space
4. Mail Alias Opt-Out
5. Statistics and Top Projects
This email is sponsored by: Adobe
——
Create RIAs more quickly with the Adobe® Flex® software
framework and Adobe Flex Builder™ software. Now it’s easy
to build engaging, cross-platform web apps when […]
Posted in Linux, Netwerk |
Jul
31
iperf is a tool for performing network throughput measurements. It can test either TCP or UDP throughput. To perform an iperf test the user must
establish both a server (to discard traffic) and a client (to generate traffic).
======================================= Server side:
./iperf -s
Client connecting to 192.168.202.62, TCP port 5001
TCP window […]
Posted in Linux, Netwerk |
Jul
31
In this tutorual will go over the most useful netcat commands. Netcat is a tool that every IT professional should have in their tool box, if you’re responsible for network or systems security, it is essential that you understand the capabilities of netcat. The original version of netcat is a UNIX program. Its author is […]
Posted in Python, Linux |
Jul
29
It is designed to upload files to, and run shell commands on, a number of servers in parallel or serially. These commands are grouped in tasks (regular python functions) and specified in a ‘fabfile.’
This is called remote automation, and the primary use case is deploying applications to multiple similar hosts.
Although it is easier to automate […]
That’s easy to fix: Unix tr command can convert every occurrence of one character in a file to another:
tr '\015' '\012' < file.win > file.unix
Posted in Apache, Linux, PHP |
Jul
11
After the default normal installation of Ubuntu, here are the additional steps I need to do to have a Apache-PHP-MySQL Server.
1. SSH Server (for my remote access)
sudo apt-get install ssh
2. Database Server
sudo apt-get install mysql-server
3. Apache HTTP Server
sudo apt-get install […]
1.1. Installation
Just install mdadm package
apt-get install mdadm
1.2. Documentation
Take a look in your directory
/usr/share/doc/mdadm/
1.3. Creating partitions
I prefere to use RAID with partitions instead of disks. Therefore, before proceding, the partitions shall be created.
Use your prefered tools (e.g.: cfdisk) and set the partition type to “FD”).
1.4. Autodetecting array
In order to autodetect your array […]
Posted in Linux, Links |
Jul
10
1. Introduction
This howto briefly describes how to install Debian Etch on LVM2 on software RAID 1.
This can be done directly from the official Etch DVD, without having to install the OS on a classical partition and then move it to a LV residing on RAID.
If you need more information about LVM, you might be […]
Internal and external NTFS partitions are different: NTFS partitions don’t mount read-write by default. You can arrange for an internal drive to mount read-write permanently by making a permanent entry in the file system table (fstab). You can’t do that for an external NTFS partition because if it’s switched off when the system boots, the […]
# Generated by Automatix
/dev/hda1 /media/winxp_c ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/hda5 /media/hda5 ntfs-3g defaults,locale=en_US.utf8 0 0
#/dev/hda6 /media/hda6 ntfs-3g defaults,locale=en_US.utf8 0 0
## End of Automatix mounted partitions
Top 10 Ubuntu apps, #4: The gParted disk partition utility reformats hard drives into practically any format including: FAT16, FAT32, NTFS, and HFS+. Additionally, gParted can resize existing partitions without corrupting the data. Fear not Windows and Mac users, gParted comes as a live CD so you can leverage it for all your partitioning needs.
Ubuntu […]