Tuesday, November 13, 2012

Troubleshooting on Linux

Preventing Crash on Linux 
Although known as the linux operating system stable, but crashes can happen anytime.And if a crash would be more difficult to fix. Here are some things to keep in mind that Linux does not crash the system in operation 1. Do not log in as root when not needed. This was done to avoid the mistakes that can damage the system command 



2. Create an emergency boot disk with a new karnel. Disk is a time we used when the system fails to recompile karnel  
3. Use the UPS to maintain the stability of the system  
4. To turn off the computer, use the shutdown and avoid suppression of the ON / OFF to turn it off.  
5. Use fsck or badblocks to perform floppy Checked  
6. Do not run fsck on a mounted file  
7. Avoid installing programs that are not needed  
8. Make backups on CD for important files  
Failed Booting LINUX 
 Computer with linux operating system suddenly fails to boot. Actually it would be easily solved by using the emergency boot disk. Perform the following steps: 1. Make computer boot using CD boot disk 2. At the lilo boot prompt, type "rescue". It is used to load from the CD before karnel 3. Follow the instructions given until prompted to enter the Supplemental Disk 4. The process of loading the file system is marked with a bar graph and a prompt appears indicating that the loading process has been completed 5. These programs are useful for the improvement in the bin directory and usr / bin 6. Next do the mount. If the partition is on / dev/hda3, use the command:
                        # mount-t ext2/dev/hda3 tmp 7. The repair process is complete do a reboot Deleted Text File on Linux Accidentally deleted a text file on linux, when the file is an important file and have not done the backup process against him. Linux does have the ability to recall a deleted text file, with a note that you still remember some parts of the phase of the text. For example, a text file containing the wedding invitation that is certainly in which there is a test which reads "wedding invitations". The number of lines of the file is 25 lines.Perform penarian with the following command:                    # Egrep -25 'wedding invitations +' / dev/hda3> / mnt / dos / lucy                       Hopefully to 25 lines can be read at:                    # Strings / mnt / dos / lucy

No comments:

Post a Comment