1. Change Telnet Login slow problem: Cd/etc vi resolv.conf to empty the contents of the inside
2. Change root user can not directly telnet problem: cd/etc CD PAM.D VI login comment out this line #auth required pam_securetty.so//the line commented out
3. Hook up USB mobile hard drive to hang the hard drive.
#df View Linux hard drive letter Mount/dev/sda1/mnt/usb (for example)
5. Change Linux startup with a graphical interface or a character interface Cd/etc VI Inittab will id:5:initdefault: of which 5 represents the default graphical interface to Id:3: Initdefault:3 represents the character interface
8. Configure which IP can be used by SMB.
Cd/etc/samba Vi smb.conf Find hosts allow = 192.168.1. 192.168.2 127. Modify what machine it is used for, pay attention to the IP separated by commas for example: hosts Allow =192.168.1.110,192.168.1.120
9. Prohibit the use of ctrl-alt-delete in the background to restart the machine Cd/etc/inittab VI inittab in the file to find the following line # Trap Ctrl-alt-delete Ca::ctrlaltdel:/sbin/shutdown- T3-r Now (comment out this line)
such as: # Trap Ctrl-alt-delete #ca:: Ctrlaltdel:/sbin/shutdown-t3-r now
10. Modify host name Vi/etc/sysconfig/network modify hostname row to hostname= hostname
12. View the hardware DMESG for boot detection | More
13. View hard disk usage df–m
14. View the size of the directory Du–sh dirname
15. Extract small Total tar xvfj lichuanhua.tar.bz2 tar xvfz lichuanhua.tar.gz tar xvfz lichuanhua.tgz tar xvf lichuanhua.tar unzip Lichuan Hua.zip
16. Show memory Usage free–m
Current 1/4 page
1234 Next read the full text