Linux
How to create Fedora Core 6 Virtual Machine using VMWare Server
Dec 17th
If you try to install Fedora Core 6 to a virtual machine in VMWare, installer doesn’t detect the hard drive that is attached with default options. The FC6 installer throws an error saying “No Devices Found”.
To get rid of this problem, you need to select different option for hard drive during virtual machine creation. Do the following during the virtual machine creation using VMWare virtual machine creation wizard.
- In Virtual Machine Configuration page, Select Custom.
- In Guest Operating System page, select Linux and in version combo box select Other Linux 2.6.x kernel
- Select LSI Logic based SCSI hard disk.
With this option, FC6 installer will continue normally.
More >
How to find status of a system service in RedHat Linux/Fedora
Dec 17th
There is a script in “/etc/init.d” directory to control each system service. For example, “/etc/init.d/httpd” script is used to control Apache web service. Typically all the scripts under that directory support basic operations like start, stop, status.
The status of any service can be determined using the “status” option supported by the corresponding script of the system service. For example, to know whether the Apache web service is running or not, the following command can be used.
[neo@techpulp ~]# /etc/init.d/httpd status httpd (pid 4201) is running... [neo@techpulp ~]#
The following command check if SNMP service is active or not.
[neo@techpulp ~]# /etc/init.d/snmpd status snmpd More >
How to find list of available drives and partitions in my Linux system
Dec 8th
There is a special file “/proc/partitions” in the proc file system interface exported by Linux kernel. This file contains information of all drives, partitions and their sizes present in the system. A sample file is shown below. This contains only one drive sda which has seven partitions sda1 through sda7 out of which sda4 is Windows extended partition.
[neo@techpulp ~]# cat /proc/partitions major minor #blocks name 8 0 117220824 sda 8 1 13309821 sda1 8 2 34186320 sda2 8 3 18040995 sda3 8 4 1 sda4 8 5 40050013 sda5 8 6 10747453 sda6 8 7 883543 sda7 [neo@techpulp ~]#
If you have More >
How to log all that is displayed in my console to a file
Dec 8th
It is difficult to keep track of all that is printed in the console session especially if you are debugging a program with lots of debug messages. In such cases, you can use “script” command which spawns a new shell and all the activity on that shell is logged to a file until the shell is closed using “exit” command. By default, the “script” command stores the log in a file “typescript” which is stored in the same directory where the “script” command is run. Once you close the shell newly spawed by “script” command you will go back to More >
How to mount NTFS/VFAT file systems under Linux
Dec 7th
First of all find which partition is having NTFS on it using “fdisk” command as shown below.
[root@techpulp ~]# fdisk -l | grep NTFS /dev/hda1 1 2125 4283968+ 07 NTFS/HPFS [root@techpulp ~]#
So I have NTFS file system present in the very first partition “/dev/sda1“. Now check if you have
[root@techpulp ~]# rpm -aq | grep ntfs ntfsprogs-2.0.0-9.fc10.i386 ntfs-3g-1.5012-4.fc10.i386 [root@techpulp ~]#
So I already have NTFS related software installed. If don’t have them installed, use “yum” command to get them installed.
[root@techpulp ~]# yum -y install ntfsprogs ntfs-3g
Now just try quickly whether you can mount the NTFS partition More >
Why my system shows lower CPU frequency in Fedora Linux
Dec 7th
The recent Linux distributions run a service called “cpuspeed”. This program monitors the system’s idle percentage and alters (reduces or raises) the CPUs’ clock speeds and voltages to minimize power consumption. When system needs more performance, it raises the CPU speed automatically.
You can disable the “cpuspeed” service if you don’t want this feature. Once the service is stopped, you will see correct cpu speed/frequency using the battery icon present in the system tray of KDE/GNOME desktops. You can temporarily stop the service (applies only for that boot) as shown below.
[root@techpulp]# /etc/init.d/cpuspeed stop
However it is advised to keep this service More >
How to resolve VMWare server installation issues on Fedora Linux 10
Dec 7th
The VMWare server 1.0.7 and higher do not install on Fedora 10 smoothly. This is because of the changes in the latest Linux kernel 2.6.27.5 that is shipped along with it. But the VMWare server kernel module sources are not up to date.
You download a patch from insecure.ws site and run “runme.pl” script to apply it. The following shows exactly how to do it. Please note that you should run the script with super user privileges.
[neo@techpulp ~]$ wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz [neo@techpulp ~]$ tar -zxvf vmware-update-2.6.27-5.5.7-2.tar.gz vmware-update-2.6.27-5.5.7-2/ vmware-update-2.6.27-5.5.7-2/services.sh vmware-update-2.6.27-5.5.7-2/runme.pl vmware-update-2.6.27-5.5.7-2/update.c vmware-update-2.6.27-5.5.7-2/vmblock.tar vmware-update-2.6.27-5.5.7-2/update vmware-update-2.6.27-5.5.7-2/vmmon.tar vmware-update-2.6.27-5.5.7-2/vmnet.tar [neo@techpulp ~]$ cd vmware-update-2.6.27-5.5.7-2/ [neo@techpulp vmware-update-2.6.27-5.5.7-2]$ su Password: [root@techpulp vmware-update-2.6.27-5.5.7-2]$ ./runme.pl
More >


Recent Comments