Linux, a word, wonderful question and answer - 2004/03/16 update
--------------------------------------------- -------
0001 Modify the host name (bjchenxu)
Vi / etc / sysconfig / network, modify Hostname first behavior "Hostname = host name" (don't you do?
Add this line), then run the "Hostname Host Name". No matter whether you restart, the host name is successful.
0002 RET HAT Linux boot to the text interface (not starting xwindow) (bjchenxu)
Vi / etc / inittab
ID: x: InitDefault:
X = 3: Text Way x = 5: Graphical mode
0003 Linux automatic upgrade update problem (HutuewORM, NETDC)
For redhat, in
Www.redhat.com/corp/support/errata/ Find the patch, 6.1 later version with a tool
Up2date, it can measure which RPM packets need to be upgraded, and then automatically download from the Redhat site and complete the installation.
Upgrade RPM: Up2date -u outside KERNEL: Up2date -u
Upgrade RPM: Up2date -u -f in Kernel: Up2date -u -f
Debian is still very different from other distributions, using Debian to do server maintenance more convenient; red hat upgrade
In fact, it is very troublesome, of course, if you pay the red hat, the service will not be the same.
Debian Upgrade Software:
APT-GET UPDATE
APT-GET UPGRADE
Prerequisites: Configuring networks and /etc/apt/sources.list, you can also use the APT-SETUP settings.
0004 WINDOWS Software (BJCHENXU)
Paragon.ext2fs.Anywhere.2.5.rar and explore2fs-1.00-pre4.zip
0005 MOUNT Usage (Sakulagi)
FAT32 partition mount -o codepage = 936, octharset = cp936 / dev / hda7 / mnt / cdrom
NTFS partition mount -o iocharset = cp936 / dev / hda7 / mnt / cdrom
ISO file mount -o loop /abc.iso / mnt / cdrom
Floppy disk mount / dev / fd0 / mnt / floppy
USB flash Mount / dev / sda1 / mnt / cdrom
All / etc / fstab content mount -a
You can specify the file format "-t format", the format can be VFAT, EXT2, EXT3, etc.
0006 Using local hard drives in VMware's linux (BJCHENXU)
Share your local FAT partition and then use SMBFS hanging in VMware. Can put the following line to /
ETC / FSTAB:
// Win_IP / D $ / MNT / D SMBFS
Defaults, Auto, Username = Win_Name, Password = Win_Pass, CodePage = 936, IOCHAREST = GB2312 0 0
Where Win_IP is your Windows IP address;
D $ is a shared name of the D disk shared in your Windows;
/ MNT / D is the directory of the partition mount to Linux;
Win_Name and Win_Pass are users in your Windows to read the partition, such as your administrator name and
password.
If you run /etc/rc.d/init.d/netfs, you will automatically mount this partition when starting. 0007.A Delete the file called -a (bjchenxu)
Rm ./-a
RM - -A tells RM This is the last option, see getopt
LS -I lists Inum, then use Find. -inum Inum_OF_THISFILE -EXEC RM '{}' /;
0007.B Delete files name / a file (bjchenxu)
RM
// a
0007.c Delete the / and '/ 0' file (bjchenxu)
These characters are characters that are not allowed by the normal file system, but may be generated in the file name, such as NFS files under UNIX.
The system is used on the Mac system
1. Solve the method, remove the NFS file system to delete files with a special file name under the system that is not filtered '/' characters.
2. You can also remove the other files of the error file name, LS -ID displays the Inum, Umount file system with the file directory.
System
CLRI Clears the directory of Inum, Fsck, Mount, Check Your Lost Found, Rename the file in it.
It is best to delete files with any file names through Windows FTP!
0007.D Delete the file with an invisible character (BJCHENXU)
List the file name and dump to file: ls -l> aaa
Then edit the contents of the file join the RM command to make its content into the format of the above file:
VI AAA
[rm -r *******
]
Plus the file with the execution permission CHMOD X AAA
Execute $ AAA
0007.e Delete file size is zero file (BJCHENXU)
Rm -i `find ./ -size 0`
Find ./ -size 0 -exec rm {} /;
or
Find ./-size 0 | xargs rm -f &
or
For file in * # ourselves define file types that need to be deleted
DO
IF [! -s $ {file}]
THEN
RM $ {file}
Echo "RM $ File Success!"
Fi
DONE
0008 Redhat Set Roller Mouse (MC1011)
After entering X, select the configuration of the mouse, select Wheel Mouse (PS / 2),
If the mouse is abnormal, restart your computer.
(Or SU, VI / ETC / X11 / XF86Config, modified PS / 2 to IMPS / 2)
0009 installed XWindow (bjchenxu)
Start with Linux CD, select Upgrade, then select the package separately, install it.
0010 Delete Linux Partition (BJCHENXU)
Do a PARTITION MAGIC launch floppy disk, delete it after startup. Or start with the Win2000 boot CD and then delete.
0011 How to exit Man (bjchenxu)
Qi
0012 Do not compile the kernel, Mount NTFS partition (BJCHENXU, HUTUWORM)
Original RH8, not upgraded or compiled kernel
1. Search on Google.com and download kernel-NTFS-2.4.18-14.i686.rpm
2. rpm -ivh kernel-NTFS-2.4.18-14.i686.rpm
3. MKDIR / MNT / C
4. Mount -T NTFS / DEV / HDA1 / MNT / C
or
Read Only:
http://linux-ntfs.sourceforge.net/
Read / Write:
http://www.jankratochvil.net/project/captive/
0013 TAR Split Compression and WongMokin as an example of 500m per volume
TAR Split Compression: TAR CVZPF - MyTARFile.Tar.gz | Split -D -B 500M
TAR multi-volume merge: CAT x *> mytarfile.tar.gz
0014 Find back the forgotted root password (BJCHENXU) when using LILO / GRUB
Three ways:
1. Go to the single user status in the system, change directly with Passwd root
2. Use the installation CD boot system to carry out the Linux Rescue state, the original / partition mount, the data is as follows:
CD / MNT
Mkdir HD
Mount -T Auto / DEV / HDAX (partition number where the original / partition is located) HD
CD HD
Chroot ./
Passwd root
This can be done
3. Take the hard disk of this unit and hang it on other Linux systems. The way is used as the second
RH8
One. LILO
1. Type Linux Single when LILO: Tips
Screen display LILO: Linux Single
2. Enter to enter the Linux command line directly
3. #vi / etc / shadow
Put the first line, that is, the ROOT: after ROOT: and next: The front content is deleted,
The first line will be similar to
root :: ......
save
4. #Reboot restart, the root password is empty
Two. GRUB
1. When the GRUB screen appears, use the upper and lower keys to select the one you usually start (Don't choose DOS 哟), then press the E key.
2. Use the up and down button to select the one you usually start in LINUX (similar to kernel /boot/vmlinuz-2.4.18-14 ro
Root = label = /), then press E key
3. Modify the command line you see now, join Single, as follows:
Kernel /Boot/vmlinuz-2.4.18-14 Single Ro root = label = /
4. Enter back, then press B to start, you can directly enter the Linux command line
5. #vi / etc / shadow
Put the first line, that is, the ROOT: after ROOT: and next: The front content is deleted,
The first line will be similar to
root :: ......
save
6. #Reboot restart, the root password is empty
0015 makes Ctrl Alt Del failure (BJCHENXU)
Vi / etc / inittab
Comment Ca :: ctrlatdder: / sbin / shutdown -t3 -r now, you can
0016 How to see that the version of the redhat is 7 or 8 (hutueworm)
CAT / PROC / VERSION or CAT / etc / redhat-release or cat / etc / ousseue
0017 file in which rpm (no pair)
on
Search on www.rpmfind.net, or RPM -QF file name
0018 stores the information of Man or INFO as a text file (bjchenxu)
Take TCSH as an example:
MAN TCSH | col -b> tcsh.txt
Info TCSH -O TCSH.TXT -S
0019 uses existing two files to generate a new file (bjchenxu)
1. Remove the pane of two files (repeated rows, reserved a copy)
2. Remove the intersection of two files (only the files existing in both files)
3. Delete the intersection, leave other lines
Cat file1 file2 | sort | UNIQ
2. Cat file1 file2 | sort | UNIQ -D
3. Cat file1 file2 | sort | UNIQ -U0020 Sets the COM1 mouth, let the super terminal login through the COM1 port (bjchenxu)
Confirm with / sbin / agharge, edit / etc / inittab, add
7: 2345: Respawn: / sbin / agharge / dev / ttys0 9600
9600bps is because the lack of router is generally this rate, or it can be formed.
19200, 38400, 57600, 115200
Modify / etc / securetty, add a line: TTYS0, make sure the root user can log in
Restart the machine, you can unplug the mouse keyboard display (it is best to look at the output information when starting)
0021 Delete All files All files include subdirectory (BJCHENXU)
RM -RF directory name
0022 View System Information (BJChenxu)
CAT / Proc / CPUInfo - CPU (I.E. Vendor, MHz, Flags Like MMX)
CAT / Proc / Interrupts - Interrupt
CAT / Proc / Ioports - Device IO Port
CAT / Proc / Meminfo - Memory Information (I.E. MEM Used, Free, Swap Size)
CAT / Proc / Partitions - All partitions of all devices
CAT / PROC / PCI - Information of PCI Equipment
CAT / Proc / Swaps - Information on all SWAP partitions
CAT / Proc / Version - Linux version is equivalent to uname -R
UNAME -A - See the system kernel and other information
0023 Remove extra carriage return (bjchenxu)
Sed 's / ^ m //' Test.sh> back.sh, pay attention to ^ m is getting ctrl_v ctrl-m
Or dos2Unix filename
0024 Switch X Desktop (LNX3000)
If you log in to Linux in a graphic login, click Session on the login interface to select
GNOME and KDE. If you are logged in with a text, execute SwitchDesk Gnome or SwitchDesk KDE, then
StartX can enter GNOME or KDE.
(Or vi ~ / .xinitrc, add or modify into exec gnome-session or exec startkde,
Then start x using startX)
0025 Universal Sound Card Driver (LNX3000)
OSS
Www.opensound.com/ ALSA
Www.alsa-project.org/
0026 Change Redhat's System Language / Character Set (BEMING / MC1011)
Modify / etc / sysconfig / i18n file, such as
Lang = "en_us", xwindow will display the English interface,
Lang = "en_cn.gb18030", XWindow will display the Chinese interface.
There is also a method
CP / ETC / SYSCONFIG / I18N $ HOME / .I18N
Modify $ home / .i18n file, such as
Lang = "en_us", xwindow will display the English interface,
Lang = "en_cn.gb18030", XWindow will display the Chinese interface.
This will change the individual's interface language without affecting other users.
(Debian does not support GB18030 (RH Zysong Font is copyrighted)
It seems that there is no free GBK and GB18030 Font.
Vi .bashrc
Export lang = zh_cn.gb2312
Export lc_all = zh_cn.gb2312) 0027 Set the screen to 90 columns (BJCHENXU)
Stty cols 90
0028 Using MD5SUM files (BJCHENXU)
MD5SUM ISOFILE> HASHFILE, the MD5SUM file is compared with the Hashfile file content comparison, verification
Whether it is consistent MD5SUM -C Hashfile
0029 Decompression multiple ZIP files (BJCHENXU)
Unzip "*", pay attention to quotation marks less
0030 Look at the PDF file (bjchenxu)
Use XPDF or install Acrobat Reader for Linux
0031 Find Right Limits for Files (BJCHENXU)
Find. -type f / (-perm -04000 -o -perm -02000 /) -exec ls -lg {} /;
0032 装 中文 输入法 (BJCHENXU)
Take RedHat8 as an example, xwindow and its terminal don't have to say it, the default is installed, exhaled with Ctrl-Space.
Now discuss pure console, please download zhcon.gnuchina.org/download/src/encha-0.2.1.tar.gz,
In either directory, TAR XVFZ ENCON-0.2.1.tar.gz, CD ENCON-0.2.1, ./configure,
Make, make install. End of installation, want to use, run zhcon, want to exit, run the exit.
0033 Receive the pop-up CD (Beike)
#eject -t
0034 CD CD Made ISO file (mentally)
Cp / dev / cdrom xxxx.iso
0035 quickly watch the power-on hardware detection (mentally wisdom)
Dmesg | More
0036 View the use of hard drives (bjchenxu)
DF -K is displayed in K
DF -H is displayed in humanized units, which can be B, K, M, G, T..
0037 View the size of the directory (bjchenxu)
du -sh dirname
-S only shows total
-H is in units of k, m, g, and improve information readability. KB, MB, GB is converted in 1024, -H
1000 is the conversion unit.
0038 Find or delete the process (WWWZC) that is using a file (WWWZC)
Fuser filename
Fuser -k filename
0039 Installing Software (BJCHENXU)
RPM -IVH aAA.RPM
TAR XVFZ AAA.TAR.GZ; CD AAA ;./configure; make; Make Install
0040 Setting / Remove Environment Variable in Character Mode (BJCHENXU)
under Bash
Setting: Export Variable Name = Variable Value
Delete: unset variable name
under CSH
Setting: STENV variable name variable value
Delete: UNSETENV Variable Name
0041 LS How to see hidden files (ie, the beginning of the file) (double eyelid pig)
LS -A
(for redhat)
0042 files in rpm have been installed (BJCHENXU)
RPM -QPL AAA.RPM
0043 use src.rpm (bjchenxu)
Rpmbuild --rebuild * .src.rpm
0044 VIM display color or does not display color (bjchenxu)
First, make sure the Vim-Enhanced package is installed, then vi ~ / .vimrc; if there is Syntax ON, display color, Syntax
No color is displayed
0045 Linux is a real-time or time-time operating system (BJCHENXU)
Minute
0046 Make bzimage -j's J is meaning in what? WIND521)
-j is mainly used when your system hardware resources are relatively large, use this speed to speed up compilation, such as -J 3
0047 How does the source package? BJCHENXU
You don't install the source code, you can see your source code on the rpm -i * kernel * source * .rpm on your CD.
.
0048 Modify System Time (BJCHENXU, LAIXI781211, HUTOWORM)
Date -s "2003-04-14 CST", CST referral time, time setting DATE -S 18:10
After modification, execute the clock -w Write to CMOS
HWClock - Systohc
Set The Hardware Clock to The Current System Time
0049 Power on the partition under Windows on Mount (BJCHENXU)
Automatically hang the Windows D disk on / mnt / d, open / etc / fstab with VI, add the following line
/ dev / hda5 / mnt / d vfat defaults, codepage = 936, ocharset = cp936 0 0
Note that first, one / mnt / d directory is created.
0050 Linux how to use so many memory (BJCHENXU)
In order to improve system performance and non-waste memory, Linux makes multiple memory Cache to increase IO speed.
What is the last two numbers in the last configuration item in FSTAB (LNX3000)
The first called FS_FREQ, used to determine which file system needs to perform DUMP operation, 0 is not required;
The second name is fs_passno, which is the sequence number of the FSCK program to detect the disk when the system is restarted.
1 is the root file system, 2 is another file system. FSCK Detects the disk according to the serial number, 0 indicates that the file system is not detected.
Dump executes the backup operation of the file system for EXT2
FSCK detection and repair file system
0052 Linux allows users to have a certain length and comply with complexity (EAPASS)
Vi /etc/login.defs, change Pass_min_len
0053 Translation Software in Linux (BJCHENXU, HUTOWORM)
Star translation king xdict
There is a DICT tool under Console, check 11 dictionaries through the DICT protocol to Dict.org, for example: DICT RTFM
0054 Do not let the display sleep (bjchenxu)
Setterm -blank 0
Setterm -blank n (n is waiting time)
0055 query with DAT yesterday's date (gadfly)
Date --Date = 'Yesterday'
0056 XWindow screenshot (bjchenxu)
KSNAPSHOT or GIMP
0057 unzipped small (BJCHENXU, NOCLOUDS)
Tar -i or bunzip2 command can decompress .bz2 file
TAR XVFJ EXAMPLE.TAR.BZ2
TAR XVFZ EXAMPLE.TAR.GZ
TAR XVFZ EXAMPLE.TGZ
TAR XVF EXAMPLE.TAR
Unzip eXample.zip
Tar -jvxf some.bz is to change Tar ZVXF to JVXF
Software file-roller with a graphics interface in Zip / Tar RH8 can do this. You can separate ZIP with unzip * .zip
File, unrar * .rar unordering the RAR file, but UnRar is generally not coming, download it online.
# rpm2cpio example.rpm │ CPI-DIV
# ar p example.deb data.tar.gz | TAR ZXF -
Alien provides mutual conversion between .TGZ ,.RPM, .SLP and .DEB and other compressed formats: http://sourceforge.net/projects/alien
SEX provides almost all visible compression format decompression interfaces:
http://sourceforge.net/projects/sex
0058 Find a method of a file in the multi-level directory (Qinghai Lake)
Find / dir -name filename.ext
Du -a | grep filename.ext
Locate FileName.ext
0059 Do not allow ordinary users to change their password (MyXFC)
[root @ xin_fc etc] # chmod 511 / usr / bin / passwd
I want to make ordinary users to change your password yourself.
[root @ xin_fc etc] # chmod 4511 / usr / bin / passwd
0060 graphics card is really unable to do (Win_BIGBOY)
go with
http://www.redflag-linux.com/, the XFree86 4.3 installation is available.
0061 Super Delete Formatting Tools (Mouns)
To build a deleted formatted gadget than pqmagic: sfdisk.exe for msdos
http://www.wuseuang.net/soft/sfdisk.zip
0062 How to make the correct Chinese in the XMMS playlist (MyXFC)
- * - * - * - * - * - ISO8859-1, -MISC-SIMSUN-Medium-R-NORMAL - 12 - * - * - * - * - * - GBK-0, * - R-
Complete this thing completely to your font
Operation method:
Right click anywhere in the XMMS playing tool
Will see an "option" and select "Fonts" to select "Fonts"
Then copy the above font to "playlist" and "User X FONT)
0063 Redhat Linux Play MP3 file (Hehhb)
The original XMMS cannot play MP3 (silent), to install an RPM package: rpm -ivh XMMS-MP3-1.2.7-
13.p.i386.rpm. Open XMMS, CTL-P, tick in the upper half of the small box in the Font column, then select "Fixed
(MISC) GBK-0 13 "font can display Chinese song song name. Select" Open Audio System Driver in Audio Output Plugin
Sequence 1.2.7 [lioss.so], you can play the MP3 file normally.
0064 Install Chinese Font (Hehhb)
Download first
Http://freshair.netchina.com.cn/~george/sm.sh
(references:
http://www.linuxeden.com/edu/doctext.php?docid=2679)
SIMSUN18030.TTC can download in Microsoft website,
http://www.microsoft.com/china/windows2000/downloads/18
030.asp It is an MSI file, installed in Mswindows, installed in the Fonts under the Windows directory
It can be found in the catalog. Take SIMSun.ttc, Simsun18030.ttc, Tahoma.ttf, Tahomabd.ttf
Copy to / usr / local / temp, then download the shell files in this directory, then open the terminal
CD / USR / local / TEMP
CHMOD 755 sm.sh
./sm.sh
0065 Fat32, FAT16 file system loaded with Windows partition (HEHHB)
Enter KDE as root, click the "Starting point" icon on the desktop, establish the following folder in / mnt directory:
C, D, E, F, G, USB. It is used as partitions and USB flash drives under Windows. Use the text editor to open the / etc / fstab file. Add it as follows:
/ dev / hda1 / mnt / c vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
/ dev / hda5 / mnt / d vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
/ dev / hda6 / mnt / e vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
/ dev / hda7 / mnt / f vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
/ dev / hda8 / mnt / g vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
/ dev / cdrom / mnt / cdrom udf, ISO9660 NOAUTO, IOCHARSET = GB2312, Owner, Kudzu, RO 0 0
/ dev / sda1 / mnt / usb vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0
The deployment is exit. After restarting, you can access the FAT32 or FAT16 format partition to solve the Windows partition.
And CD Chinese file name garbled
Question. A total of six columns, each column is used for a Tab key. Note that this method can only mount on the FAT partition format. SDA1 is a flash drive.
0066 uses five and pinyin, location input method (HMKART)
From
Http://www.fcitx.org/ Upload Fcitx's RPM package installation
0067 How to extract the RAR file (HMKART) under Linux
http://www.linuxeden.com/download/softdetail.php?soft=883
Download Rar for Linux 3.2.0, decompressing MAKE
You can then use unrar e youfilename.rar to extract the RAR file
0068 How to add / delete the RPM package after the hard drive installation (Sakulagi)
RedHat-config-packages --iseodir =
Can specify the directory where the ISO file is located
0069 Character Control Volume (GRUB007)
AUMIX
0070 use DD to do ISO (grub007)
DD if = / dev / cdrom of = / tmp / aaa.iso
0071 Delete all things before a few days (including files in the directory) (SHALLY5)
Find. -ctime 3-EXEC RM-RF {} /;
or
Find ./ -mtime 3 -print | xargs rm -f -r
0072 Where is the user's crontab (HUTUWORM)
/ var / spool / cron / next file named by the username
0073 Run the program in different users (BJCHENXU)
Su - username -c "/ path / to / command"
Sometimes you need to run a special identity, you can let Su come to do
0074 How to empty a file (bjchenxu)
> filename
0075 Why can't Chinese in OpenOffice (Allen1970)
Change font settings
Tools-> Options-> font replacement
Andale Sans Ui -> SIMSUN
0076 How to back up Linux system (PURGE)
Symantec Ghost 7.5 supplies EXT3 NATIVE replication
0077 PARTITION MAGIC (WWWWZC) on Linux
Linux Next useful partition tool: parted
You can modify the partition size in real time, delete / create partitions. What does each representative in the PROC / SYS / SEM? (Sakulagi)
/ Proc / Sys / SEM content is as follows
250 32000 32 128
These four parameters are SemMSL in turn (the maximum number of semanties per user), and the SEMMNS (the maximum number of system seminars),
Semopm (each Semop system call operate), SemMni (the maximum number of system semantics set)
0079 What does BIGMEM SMP UP mean in the GRUB boot menu? (lnx3000)
SMP: Symmetrical multiprocessor mode
BIGMEM: Supports optimized kernels for more than 1G memory
Up: (UNI Processor) Mode of single processor
0080 ORACLE installer Why is it garbled? (lnx3000)
Now that Oracle's installer has problems with Chinese support, you can only use the English interface to install, in executing RunInstaller
Before, execution: export lang = c; export lc_all = c
0081 What is the color of the file and directory under Linux? Sakulagi, mentally wisdom
Blue represents a directory; green represents executable; red represents a compressed file; light blue
Color represents a link file; gray represents other files; red flashing indicates a problem with the link; yellow is a device file,
Including Block, Char, and FIFO.
Use Dircolors -P to see the default color settings, including various colors and "bold", underscore, flashing, etc.
0082 View how many activities httpd scripts (BJCHENXU)
#! / bin / sh
While (True)
DO
PStree | grep "* / [httpd /] $" | sed 's /.*-/ ([0-9] [0-9] * /) / * / [httpd /] $ // 1 /'
Sleep 3
DONE
0083 How to add a hard disk (good gentleman)
First, shutdown, physical connection hard disk
If it is a IDE hard disk, pay attention to the main, slave the settings; if it is a SCSI hard disk, pay attention to select a ID that is not used
number.
Second, boot, check the hard disk is not detected by Linux
Dmesg | grep hd * (IDE hard drive)
Dmesg | grep sd * (SCSI hard drive)
Or Less / Var / Log / Dmesg
If you don't detect your new hard drive, restart, check the connection, see if the BIOS has recognized it.
Third, partition
You can use fdisk, sfdisk or partned (GNU partition tool, partition magic under Linux)
Fourth, format
MKFS
V. Modify FSTAB
VI / ETC / FSTAB
0084 How to see the volume of the partition under Linux (Q1208C)
E2Label / dev / hdxn, where x = a, b, c, d ...; n = 1, 2, 3 ...
How to add a new language package after installation in 0085 RH8, 9 (good gentleman)
One. 8.0
Put the first disc
2.CD / MNT / CDROM / RedHat / RPMS
3.RPM-IVH TTFONTS-ZH_CN-2.11-29.NOARCH.RPM (Simplified Chinese, you can use the TAB key to make up the part of the back,
Free input incorrectly)
4.RPM-IVH TTFONTS-EN_TW-2.11-15.NOARCH.RPM (Traditional Chinese)
If you still want to weave Japanese, Korean, try the TTFONTS * .RPM on the second CD.
2.9.0
9.0 is not on the first plate, on the third disk. RPM package name is:
TTFONTS-EN_CN-2.12-1.Noarch.rpm (Simplified Chinese)
TTFONTS-ZH_TW-2.11-19.NOARCH.RPM (Traditional Chinese)
0086 terminal gripping screen (TSGX)
CAT / dev / vcsx> Screenshot where x represents the X terminal
You can also run Script Screen.log, record the screen information to Screen.log. I will record your exit for a while. This is also
Good way to feature screen.
This is seen on the Cookbook on Debian. Can be used on RH9. There is no test on other systems.
0087 Let a program continue to run after exiting landing (NETDC)
#nohup program name &
0088 MAN Command is not in the path, how to view non-standard MAN files (BJCHENXU)
nroff -man /usr/man/man1/cscope.1 | more
0089 Run the program in different users (BJCHENXU)
Su - UserName -C "/ path / to / file"
Sometimes you need to run a special identity ... you can let Su come ...
0090 after editing / etc / inittab, direct effectiveness (BJCHENXU)
#init q
0091 Let Linux perform several commands continuously, and the error stops (bjchenxu)
Command1 && Command2 && Command3
0092 How to install GRUB to MBR (Bjchenxu, Netdc)
Grub> root (hd0, 0)
GRUB> Setup (HD0)
You can also install GRUB with # grub-install / dev / hda.
0093 Write GRUB (LILO) to the leading area of the Linux partition or the main guiding sector (MBR) (BJCHENXU)
If you want your computer to start, you will write GRUB (LILO) to the MBR directly, if you write
The boot zone of the Linux partition must be booted with the boot disk. It is recommended to write MBR, convenient point, as to write to MBR is not safe,
How to explain? Each time Win98, MBR will be modified once, do you think is it unsafe?
0094 How to make multiple system coexistence (BJCHENXU)
98 system, use LILO (GRUB) to boot, 2K / NT uses Osloader to boot multi-system
0095 How to switch back and forth between graphical interface and console (character interface)
a. Graphical interface to the console: CTR Alt Fn (n = 1, 2, 3, 4, 5, 6).
b. Switch between each console: Alt Fn (n = 1, 2, 3, 4, 5, 6).
c. Console to graphics: Alt F7
0096 Redhat Linux Common Order (BJCHENXU)
<1> LS: Column Directory.
Usage: LS or LS DIRNAME, parameter: -a Displays all files, -l lists files.
<2> MKDIR: Build a directory.
Usage: Mkdir Dirname, Parameters :- Jack Multi-level Directory, such as: MKDIR A / B / C / D / E / F -P
<3> Mount: Mount partition or mirror file (.iso, .img) file.
usage:
a. Disk partition: Mount DeviceName MountPoint -O Options, where DeviceName is the device name of the disk partition,
For example, / dev / hda1, / dev / cdrom, / dev / fd0, mountpoint is a mount point, it is a directory, Options is parameters,
If the partition is a Linux partition, it is generally not -O Options, if it is the Windows partition, the options can be IoCharset = CP936, so that the Chinese file name in the Windows partition can be displayed. Use case: such as / dev / hda5
Is Linux partition, I want to hang it on the directory A (if there is no directory A, first mkdir a), mount / dev / hda5 a, this
The things in the style A are things in the partition hda5, such as HDA1 is Windows partition, hung it on B,
Mount / dev / hda1 b -o iocharset = cp936.
b. Mirror file: mount filename mountpoint -o loop, filename is the mirror file name (* .iso, *. img), others
Needless to say, just like it. Use case: If I have a A.iso CD image file, Mount A.iso A -O Loop, this
Enter the directory A You can browse A.iso's content, *. IMG file usage.
<4> Find: Find files.
Usage: Find Indir -Name FileName, Indir is which directory you want to find, filename is the name you are looking for (
With wildcardries), FileName is best to use single quotes with wildcards, otherwise it will be wrong, use case: find.
-Name Test *, lookup files starting with TEST in the current directory.
<5> grep: Find the specified string in the file.
Usage: GREP STRING FileName, find String in FileName (available in wildcard) (it is best to use double quotes). Participate
Number: --R Found in FileName in all subdirectory. Use example: grep hello * .c -r in the current directory (including subdirectory)
All .C files find Hello.
<5> VI: Editor.
Usage: vi filename. FileName is the text file you want to edit. After using the VI FileName, you may send
You can't edit the text content, don't worry, this is because VI has not yet entered the editing state, press A or I to enter the editor
The status, you can edit the text after entering the editing state. To exit the edit status, press the ESC button. the following
The operation is in a non-editing state. Find text: Enter / and you want to find text and enter. Exit: Enter: and Q
Enter, if you have modified the text, then you want to use: Q! Enter to return. Save: Enter: w Enter, if you are read
Documents should be used: w !. Save Exit: Enter: WQ Enter, if you are read-only: wq! Enter. Cancel: Press U.
Cancel one step by one, you can cancel multiple steps multiple times. Copy a line of text: move the cursor to the line you want to copy
Where to, press YY (that is, press Y), move the cursor to the last line to paste, press P, just now
It will be inserted into the next line of the row where the cursor is located, and the original cursor will automatically move down. copy and paste
Multi-line text: Almost a line of replication, just yy change to first entered the number of rows to copy, press YY, followed by the operation
same. Move the cursor to the specified line: Enter: and the line number and enter, such as moving to 123 lines: 123 Enter, move to the end: $ Enter.
0097 How to turn off the PC speaker under the Linux text interface (Labrun)
# 去 # # # # # # #>>>>>>>>>>>
0098 Dressing Windows leads to solutions that Linux can't boot (good gentleman)
If there is no restrict, take the Linux boot disk (or the first installation disc) to boot, enter the rescue mode. First find
Where is the original / partition MOUNT. Redhat is usually / mnt / sysimage. Execute "Chroot / MNT / Sysimage". such as
Fruit is grub, enter grub-install / dev / hd * (according to the actual situation); if it is LILO, enter lilo -v, then re-enable
move. If the partition changes, the corresponding modification /etc/lilo.conf and /boot/grub/grub.conf will then perform the above command.
0099 Why did Win2k is very slow after linux (LNX3000, good sir)
Old problem, is you in 2000, is it possible to see Linux's logic, but you can't access it?
In disk management, select this disk, right click -> Change "Drive Name and Path" -> "Delete" is ok, beware that it is not deleting
In addition to this disk!
0100 Method for burning the Linux release version of the ISO file to the disc (BJCHENXU)
Borrow the NERO software in Windows, select the image file burning, select the ISO file, burn it!
0101 LINUX Method for Brass ISO (HUTUWORM)
Method 1: Use XcDroast, choose to make a disc, select the ISO file, burn!
See
http://www.xcdroast.org/xcdr098/faq-a15.html#17
Method 2: Logger the command of the recorder:
CDRecord --scanbus
The output is:
0,0,0 0) 'ATAPI' 'CD-R / RW 8X4X32' 5. EZ 'Removable CD-ROM
Burning command:
CDRecord -v Speed = 8 dev = 0,0,0 hutuworm.iso
0102 how to do when the screen is blocked (double eyelid pig)
When you accidentally Cat, it is not a file file, the screen will spread, then you can press two
The "Enter" button is knocked "RESET", then the screen will return to normal ....
How to learn the specific package (Diablocom) when uninstalling the package
Everyone knows that the command to delete the package is rpm -e xxx, but when we don't know the exact spelling of this XXX,
Query all installed packages or use rpm -q -a | grep xxxx query with rpm -q -a | GREP XXXX
0104 uses inside the / TMP folder under Linux (Yulc)
Add a line in / etc / fstab:
None / TMP TMPFS DEFAULT 0 0
Or join in /etc/rc.local
Mount TMPFS / TMP -T TMPFS -O Size = 128M
Note: SIZE = 128M represents / TMP maximum can be used 128M
Regardless of the way, as long as Linux restarts, the files under / TMP disappeared
0105 lists only directory (Yulc) LS -LF | GREP ^ D
LS -LF | GREP / $
LS -F | GREP / $
0106 List the native IP address in the command line, not a network card information (Yulc)
IFCONFIG | GREP "inet" | cut -c 0-36 | SED -E 'S / [A-ZA-Z:] // g'
Hostname -i
0107 How to take effect immediately after modifying / etc / profile or $ home / .profile file (Peter333)
#Source / etc / profile (or Source .profile)
0108 BG and FG use (BJCHENXU)
Enter CTRL Z, the current task will be suspended and paused, and the process number is returned on the screen. At this time, use "BG% process number",
This process will be put on the background, and the "FG% process number" will be used to let this process in the foreground. In addition,
Use the job command to see the current BG process
0109 Ctrl S with Ctrl Q (bjchenxu)
Ctrl-s is used to suspend data to the terminal, the screen is like death, can recover by ctrl-q
0110 directory statistics script (BJCHENXU)
Save into total.sh, then use Total.SH absolute path to statistically the size of the directory.
Code:
#! / bin / sh
DU $ 1 --MAX-Depth = 1 | Sort -n | awk '{Printf "% 7.2FM ---->% S / N", $ 1/1024, $ 2}' | sed 's: /.*// ([^ /] / {1, /} /)
$: / 1: g '
0111 GREP does not show its own process (BJCHENXU)
#ps -aux | Grep httpd | grep -v grep
GREP -V GREP can cancel the process of the Grep itself you execute, the -v parameter is not displayed
0112 Delete the file containing the keyword (wongmokin)
Find / MNT / EBOOK / -TYPE F -EXEC GREP "Enter keyword" {} /; -Print -exec rm {} /;
0113 Let the task in cron not feedback information, this example checks one email (WongMokin)
0-59 / 5 * * * * / usr / local / bin / fetchmail> / dev / null 2> & 1
0114 Decompression RPM file in the current directory (BJCHENXU)
Cat kernel-ntfs-2.4.20-8.i686.rpm | rpm2cpio | pax -r
0115 combine two PostScript or PDF files (Noclouds)
$ gs -q -dnopause -dbatch -sdevice = pswrite /
-SoutputFile = bar.ps -f foo1.ps foo2.ps
$ gs -q -dnopause -dbatch -sdevice = pdfwrite /
-SoutputFile = bar.pdf -f foo1.pdf foo2.pdf
0116 Remove all of Apache's Manual directory (bjchenxu)
Enter into the manual directory
Code: Find ./Regex. * /. En | awk -f. '{Printf "MV% S.% S.% S.% S.% S.% S / n", $ 1,, $ 2, $ 3 $ 4, $ 1, $ 2, $ 3} '|
SH
0117 How to get multiple x (noclouds)
StartX defaults to DISPLAY: 0.0 first X, by passing parameters to XServer can have multiple x: # startx -: 1.0
# Startx -: 2.0
...
Then use CTRL-ALT-F7 / F8 ... to switch.
0118 Let a program continue to operate after exiting landing (Noclouds, Bjchenxu)
#
# DISOWN
or it could be
Nohup Command &
0119 Look at the display information of the screen when Linux starts (BJCHENXU)
View DMESG with the command after startup
0120 Let VI do not ring (Sakulagi)
Echo "SET VB T_VB =" >> ~ / .vimrc
--------------------------------------------- -------
0001 Let Apache's default character set to Chinese (BJCHENXU)
If it is 1. *, Vi httpd.conf
Find AddDefaultCharset ISO8859-1, change to Adddefaultcharset GB2312
If it is 2. *, you need to change a place, vi httpd.conf
AddDefaultCharset ISO-8859-1 to AddDefaultCharset Off
0002 Permanently change IP (bjchenxu)
IFConfig Eth0 new IP
Then edit / etc / sysconfig / network-scripts / ifcfg-eth0, modify IP
0003 Remote from Linux Windows Desktop (LNX3000)
Install RDESKTOP package
0004 Manual Add Default Gateway (BJCHENXU)
Execute: Route Add Default GW Gateway IP
Want to change the gateway
1 Vi / etc / sysconfig / network-scripts / ifcfg-eth0
Change Gateway
2 /etc/init.d/network restart
0005 Redhat 8.0 on MSN and QQ (BJCHENXU)
Download Gaim version 0.58:
GAIM-0.58-2.i386.rpm
Download QQ plugin for GCC2.9:
LIBQQ-0.0.3-FT-0.58-gcc296.so.gz
Place the downloaded file in the / temp directory, then delete the GAIM already in the system, that is, in the Terminal Simulator:
RPM-E Gaim.
start installation
Open the terminal simulator and continue to perform the following command to install the Gaim version 0.58, namely:
CD / TEMP (enter the temp directory)
RPM-IVH GAIM-0.58-2.i386.rpm (installation software)
When the installation is successful, you can build a GAIM icon on the GNOME or KDE desktop.
Continue to install the QQ plugin, type the command:
Gunzip libqq-0.0.3-ft-0.58-gcc296.so.gz (unzip file)
CP libqq-0.0.3-ft-0.58-gcc296.so / usr / lib / gaim (copy plugin to the GAIM library directory)
Software settings
When you start the GAIM version 0.85, the login interface will appear. First choose "plugin", click "Add" in the Plug-in dialog box.
Load ", load libmsn.so and libqq-0.0.3-ft-0.48- gcc296.so file, turn it off after confirmation. And then select
"All Accounts", continue to click "Add" in the account editor that appears, when the modified account page appears, we
You can enter your own QQ or MSN number. If you log in to the QQ number or MSN mailbox, the password fill in the corresponding QQ or MSN password, Alias fills in your own nickname, the protocol selection the corresponding QQ or MSN, other settings Press by default.
I.e. You can log in when all settings are complete.
Since MS is often upgraded to MSN's protocol, the GAIM and MSN plugins on Linux must be upgraded, there is still no million
Forgiven solution, please forgive me
0006 Isolated 22 port now to run what program (BJCHENXU)
LSOF -I: 22
0007 View this machine's IP, Gateway, DNS (BJCHENXU)
IP:
Log in with the root user, execute ifconfig. Where ETH0 is the first network card, LO is the default device
GATEWAY:
Log in with root users, execute netstat -rn, and the Gateway at the beginning of 0.0.0.0 is the default gateway
You can also view the / etc / sysconfig / network file, with the specified address!
DNS:
More /etc/resolv.conf, the content is specified as follows:
Nameserver 202.96.69.38
Nameserver 202.96.64.38
0008 RH8.0 Command Lixer to easily change the TTL value (CGWeb)
#nsysctl -w net.ipv4.ip_default_ttl = n
(N = 0 ~ 255), if n> 255, TTL = 0
0009 RH8.0 Command Line Easily change the system configuration default value (Houaq)
Edit /etc/sysctl.conf, for example,
Net.IPv4.ip_forward = 0
Become
Net.IPv4.ip_forward = 1
After the restart, take effect, use sysctl -a to seek know
0010 Mount Local Other Windows Machine Shared Directory (BJCHENXU)
Mount -t smbfs -o usrname = guest, password = guest // machine / path / mnt / cdrom
0011 Allow | No root is logged in through SSH (fun-freebsd)
Modify SSHD_CONFIG: PermitRootLogin No | YES
0012 Let root login directly Telnet (BJCHENXU)
Edit /etc/pam.d/login, remove
Auth Required /Lib/security/pam_securetty.so this sentence
0013 in Linux connected ADSL equipment (wind521)
Need a normal Linux at least one network card broadband device has been applied, and it has been opened. Currently
There are about several ADSL equipment in the market, and they work in the way some subtle differences.
This is the process of completing the Internet through virtual dialing, that is, using the PPPoE device to perform virtual dialing.
To the cat, it is a kind of automatic dialing, then left to our interface is RJ45, Dalian
The gateway left to us is 10.0.0.2, which is the most likely to deal with it, and finally it is directly assigned to a fixed
IP, relatively easy to deal with respect
1. The first need is required to dial:
These devices communicate with the computer via the ETH interface, so the connection of the hardware device is first, especially
Broadband cat, must be confirmed (otherwise you can't do anything for a while)
Then start the system, confirm that the system is installed on the system (looking through rpm -qa | grep pppoe), if there is no installed user, in the disc or go to DOWN, after installing, ROOT Users perform ADSLSETUP,
This enters the setting status of the ADSL data, requiring input to applying a broadband username and other letters
Interest, confirm that there is no problem, accept until final (inside is E text, but can understand, relatively simple, about one
The setting of the firewall, I usually don't have to be used, choose 0, you can specifically consider it).
After the configuration is complete, the ADSL-STAR is executed with root users, which will make ADSL dial-up work, it will be on line normally.
If you have any specific questions, let's take a look at the log (/ var / log / messages) telling you what.
Stop ADSL and execute ADSL-STOP (very simple)
2. The other two are easier to deal with:
All-to-a-to-day cat: Just set your network card IP into IP of a 10 network segment, then the gateway refers to the IP of the whole cat,
(10.0.0.2), basically no big problem
Fixed IP: Like the network card that configures the local child, you can do it in the application, you can use the IP, gateway, and DNs.
deal
0014 Let Linux Auto Synchronization Time (SHUNZ)
VI / ETC / CRONTAB
Plus:
00 0 1 * * root rdate -s time.nist.gov
0015 Linux's online resources have (BJCHENXU)
foreign
http://lwn.net/
http://www.tldp.org/
http://www.yolinux.com/ (FLYING-DANCE BIG BIG PIG)
http://www.justlinux.com/
http://www.linuxtoday.com/
http://www.linuxquestions.org/
http://www.fokus.gmd.de/linux/
http://www.linux-tutorial.info/
http://public.www.planetmirror.com/
http://www.freebsdforums.org/forum/
http://www.netfilter.org/documentation/
http://www-106.ibm.com/developerWorks/linux/
domestic
http://www.fanqiang.com/
http://www.linuxsir.com/
http://www.chinaunix.net/
http://www.linuxfans.org/(deAdcat)
http://www.linuxeden.com/
http://www.linuxforum.net/
http://www.linuxaid.com.cn/
Http://freesoft.online.sh.cn/
Http://www-900.ibm.com/developerWorks/cn/linux/index.shtml
http://www.neweasier.com/software.html
http://www.blueidea.com/bbs/archiveContent.asp?id=635906 (SQH)
http://westlinux.ywzc.net/(Osesun)
0016 Changes the port of SSHD (BJCHENXU)
Add a line in / etc / ssh / sshd_config: port 2222, / etc / init.d / sshd restart restart daemon 0017 Change Telnet's port (bjchenxu)
Change the port number 21 corresponding to the TELNET in / etc / service file to the value you want, / etc / init.d / xinetd restart
Processes
0018 Terminal mode has problems (Sakulagi)
Export Term = VT100
0019 Imitation Super Terminal, What Program in Linux Connects to Routers and Switches (Alstone)
minicom
0020 SSH can not be disconnected automatically (WIND521)
That is the Timetou setting, modify the TMOUT variable value
What tools use to do intrusion detection (BJCHENXU) 0021
Snort
0022 Linux under the detection program memory leakage tool (BJCHENXU)
CChecker or Efernce can
0023 How to Monitor all the data of the NMS (BJCHENXU) under Linux
TCPDUMP iptraf
0024 Why is root to perform a lot of commands say Command Not Found (bjchenxu)
You are telnet, then SU is root, change your su command format, should be Su - root
0025 Close User POP3 Permissions (TIANSGX)
The port of POP3 is off. Find this line POP-3 110 / TCP in file / etc / services
Add a '#' and you can comment out.
0026 LINUX playing Flash animation (Myxfc)
LINUX playing Flash animation with this thing, will not cause the browser to close (other plugins are not easy)
First download flash play animation in Linux plugin
Http://www.collaborium.org/onsite/jos2000/related/soft/flash_linux.tar.gz
TAR ZXVF FLASH_LINUX.TAR.GZ
After opening the package, you will see the Linux folder.
There are two files libflashplayer.so and shockwaveflash.class in the linux file, copy these two files to you.
In the plugin in the browser (the browser is different, the position of the plugin may be different)
/usr/lib/mozilla-1.0.1/plugins, you can
0027 Locking WU-FTP User Directory (WANGLA)
Edit FTPAccess file
Restricted-uid *
This sentence is very important to limit FTP users in their own directory.
0028 Who will not let Telnet (knowing the autumn leaves)
The firewall priority of the Telnet service && server must start on the server should be set to low.
0029 Prevent anyone from using the su order to become root (xiaohu0)
1.vi /etc/pam.d/su
Auth sufficient /lib/security/pam_rootok.so debug
Auth Required /Lib/security/pam_wheel.so group = WHEEL
2. Define the WHEEL group in the / etc / pam. D / SU configuration file.
0030 How to make the Lynx browser to browse Chinese web pages (ghost_vale)
Browse the modification of the simplified Chinese webpage as follows
Save Options to Disk: [x]
Display and character set
Display Character Set: [Chinese________________________]
Assumed Document Character Set (!): [ISO-8859-1 ______]
CJK Mode (!): [ON_]
Then move to the lowermost Accept Changes Press ENTER to save it.
Of course, your system must support Simplified Chinese to activate 0031 NIC, but not online, what should I do? (Slock)
TRACE, see that it is blinded in that piece.
Limited
2.PING gateway
3.PING DNS
4.Trace DNS
IF all = ok
THEN NSLOOKUP
Www.sina.com.cn
Ping Sina's Address
TRA SINA 'Address
Basically, you can know the results.
0032 Using Samba in RedHat9, Win2000 can be accessed, Win98 is not accessible? (Squall2003)
If you are Wind98, you must modify the registry:
HKEY_LOCAL_MACHINE / SYSTEM / CORRENTCONTROLSET / SERVICES / VXD / VNETSUP built a D value:
EnablePlainTextPasswd, key value 1
0033 How to get the MAC address of the NIC (bjchenxu, hutueworm)
ARP -A | awk '{print $ 4}'
Ifconfig eth0 | Head -1 | awk '{print $ 5}'
0034 How to get the IP address of the NIC (MB)
Ifconfig eth0 | awk '/ inet addr / {split ($ 2, x, ":"); Print X [2]}'
0035 How to modify the working group (HUTUWORM) where Linux machine is located
Vi /etc/samba/smb.conf, modify Workgroup = one line, write the group name behind.
0036 How to bind two IP (LinuxLoveu)
#CD / ETC / Sysconfig / Network-Scripts
#cp ifcfg-eth0 IFCFG-ETH0: 1
#vi ifcfg-eth0: 1
Modify IP and device name
Debian Next NIC Binds Multiple IP Methods (NETDC)
Modify / etc / network / interface
Auto Eth0
iface eth0 inet static
Address 172.16.3.123
Netmask 255.255.255.0
NetWork 172.16.3.0
Broadcast 172.16.3.255
Gateway 172.16.3.1
Auto eth0: 1
iface eth0: 1 inet static
ADDRESS 10.16.3.123
Netmask 255.255.0.0
NetWork 10.16.0.0
Broadcast 10.16.255.255
Modify / etc / network / ifstate
LO = LO
eth0 = eth0
Eth0: 1 = eth0: 1
Then /etc/init.d/networking restart is OK.
0037 How IP Binds Two NICs (HUTUWORM)
Suppose 192.168.0.88 is IP, 192.168.0.1 is a gateway:
/ sbin / modprobe bonding miimon = 100 mod = 1
/ SBIN / IFDOWN ETH0
/ SBIN / IFDOWN ETH1
/ SBIN / IFCONFIG BOND0 192.168.0.88
/ sbin / ifnslave bond0 Eth0 Eth1
/ SBIN / ROUTE ADD DEFAULT GW 192.168.0.1
0038 192.168.1.0/24 (double eyelid pig)
It is equivalent to 192.168.1.0/255.255.255.0, but it means different ways ...
0039 LINUX Clear ARP Table Command (NETDC)
#arp -d -a (for BSD)
For Host In `ARP | SED '/ Address / D' | awk '{print $ 1}'`; do arp -d $ host; done0040 Using NTP Protocol from Server Synchronization Time (NETDC)
NTPDATE NTP-Server Example: NTPDATE 172.16.2.1
0041 Host Command Usage (BJCHENXU)
Host can use to query domain names, it also gets more information
Host -t mx example.com can query the MX record of Example.com, and the name of Host handling Mail's Host
Host -l eXample.com will return all registered domain names under Example.com
Host -a eXample.com will display all domain name information of this host.
--------------------------------------------- -------
0001 Linux Upset Core file (BJCHENXU)
GDB
0002 GCC abc.c gets A.out can't run (BJCHENXU)
./a.out
0003 C compiles why error information says COUT is not defined (BJCHENXU)
The include header file will be added to the USING NAMESPACE STD.
0004 New Compilation GCC, the standard connection library used is under / usr / local / lib, but the default connection to the use
What is the path of / usr / lib add? (Sakulagi, Hutuworm) (Sakulagi, Hutuworm) (Sakulagi, Hutuworm)
Export LD_Library_Path = $ LD_LIBRARY_PATH: / USR / LOCAL / LIB
Write ~ / .bash_profile.
Add a simple approach:
Add / usr / local / lib to /etc/ld.so.conf, then run LDConfig
--------------------------------------------- -------
0001 GNU / Linux Advanced Network Application Service Guide (BJCHENXU)
Linuxaid website
Mechanical Industry Press
Advantages: Also complete, all are actual combat
Disadvantages: Lower version: Redhat 6.2
0002 Linux Apache Web Server Administration Guide (BJCHENXU)
(US) Charles AULDS Translator: Ma Shuqi Jinyan
Electronic Industry Press
Advantages: I haven't found any questions about Apache yet.
Disadvantages: For 1.3.x, the latest Chinese version of 2.0. *
Market price: ¥ 46.00
Terminal Member Price:
¥ 34.50 (4-5 stars Member) ¥ 35.88 (1-3 stars) ¥ 36.80 (ordinary member)
ISBN: 7-5053-6563-0
Publishing date: 2001-03-01
0003 Linux core scenario analysis (BJCHENXU)
Zhejiang University Press
Advantages: It is too penetrating, can't understand
Disadvantages: Or version question, huh, kernel update is too fast, but still
0004 Unix Environment Advanced Programming (BJCHENXU)
Richard Stevens
Mechanical Industry Press Advantages: Bo Damn
Disadvantages: Beginners are difficult to understand, otherwise how to call "Advanced Programming"?
0005 Programming Essence - Microsoft Writing High Quality Unlike C Draws (BJCHENXU)
Steve MAGUIRE
Electronic Industry Press
Advantages: Do not say, the author is Microsoft's senior engineer
Disadvantages: It is difficult to find, 1994
0006 Understanding The Linux Kernel, 2nd Edition (Hutueworm)
Author: Daniel P. Bovet & Marco Cesati
Publication: O'Reilly
After reading this book, you will understand what is best in the case, and how it faces challenges.
Provide excellent system response during various environments, file access, and memory management. The author explains its weight
Introducing each topic and associates kernel operation with system calls or utility familiar with UNIX programmers and users
Tie it.
0007 UNIX Operating System Tutorial (English) (mentally)
By Syed Mansoor Sarwar ...
Mechanical Industry Press
Features: Lightly easy to understand, focusing on UNIX fundamental concepts and overall understanding, by the way.
In addition: Machinery Industry Press has published Chinese version, Name: UNIX Tutorial
0008 UNIX programming environment (mentally wisdom)
By Brian W. Kenighan, Rob Pike
Chen Xiangqun and other translation
Mechanical Industry Press
Features: Shallow, deep-in-depth explanation how to use UNIX and various tools, briefly introduce Unix programming environment; contrast
"Unix Environment Advanced Programming", this book is suitable for newcomers.
Disadvantages: there is no English version
0009 THE ART OF UNIX Programming (HUTUWORM)
Author: Eric Steven Raymond
Website:
http://catb.org/~ESR/Writings/taoup/html/
Advantages: E.S. Raymond classic work is not to say
Others: The book stops updated on September 19th, stable to version 1.0, and has been sent to the Adison-Wesley Press printer
0010 UNIX Network Programming - Volume 1 "Set API and X / Open Transfer Interface API" (SLG1972)
Tsinghua
W.Richard Stevens (already late)
Explain the programming of UNIX network in detail
Non-door
0010 and 0011 and the source code download address of the two books
http://www.tomydan.net/downloads/ebooks/unp.rar
or
http://linux.syunicom.com/unp.tar.gz
0011 UNIX Network Programming - Volume 2 "Process Communication" (SLG1972)
Tsinghua
W.Richard Stevens (already late)
Detailed explanation of the process between UNIX, the relationship between threads, as well as a variety of different standard process programming.
Non-door
0012 UNIX Network Programming - Volume 3 "Application" (SLG1972, Hutueworm)
I haven't bought it so far, it should be good.
Nothing to buy is because the Richard Stevens master the ear of the ear, and it is no longer possible to complete the third volume in this plan. It is said that
Its undelects may be written out by Gary R. Wright, but since the master has been driving the crane.
0013 "Based on C CORBA Advanced Programming" (SLG1972)
Clear
Michi Henning, Steve Vinoski
A good book in the middle world, a must-have information to the CORBA application.
Non-door-level stuff.
0014 UNIX Linux NMS General (ODIN_FREE)
Electronic version, including this version of the essence, please go to this Edition FTP server download
Evaluation: I have seen the most comprehensive, most practical CHM documentation of UNIX knowledge, equivalent to a small website, support
Full text search, recommend all brothers and sisters who have not yet downloaded
0015
Www.chinaoy.com (Aomin5555)
Nice, quite, the good website of the book download:
Redhat Linux9.0 Official Getting Started Guide
· RedHat Linux9.0 official installation guide
· Redhat Linux9.0 official custom setting manual
· Redhat Linux Basic Tutorial
· Linux reference Daquan
· Tsinghua Forum Linux Essence
· Linux System Administrator Guide Chinese Manual
· Linux website construction and maintenance Raiders
· Redhat Linux8.0 installation manual
· Linux Environment Database Administrator Guide
0016 Linux Advanced Routing & Traffic Control (HUTUWORM)
Specially talking about Linux iProute2, about 100 pages,
www.lartc.org
Chinese version:
http://www.lartc.org/lartc-n_cn.gb2312.pdf
0017 Debian User strongly recommended book (NETDC)
Debian Reference (Debian Reference Manual)
http://qref.sourceforge.net/
Simplified Chinese version of the PDF document.
Http://qref.sourceforge.net/debian/reference/reference.zh-cn.pdf
------------------------------------------- -------
0001 mysql's data inventory Where is the bjchenxu?
1. If you use the RPM package installation, you should be named directory with the database name in / var / lib / mysql
2. If the source code is installed in / usr / local / mysql, it should be in / usr / local / mysql / var, named Database named directory name
--------------------------------------------------- ---------------
Please don't be impetuous
http://www.chinaunix.net/forum/viewtopic.php?t=93113
Welcome to reprint this article, please indicate from
Www.chinaunix.net, reprinted this article is as follows:
a. LinuxSir website
http://www.linuxsir.com/bbs/showthread.php?s=&threadid=46279
b. Shuimu Tsinghua LinuxApp Edition
http://proxy.smth.edu.cn:8000/bbscon.php?board=linuxApp&Id=12810&ftype=9
c. 9cbs
Http://expert.9cbs.net/expert/faq/faq_index.asp?id=175651
d. dev-club
Http://www.dev-club.com/club/bbs/showannounce.asp?page=1&id=2175595
e. Network Energy Forum
http://net-worker.vicp.net/luntan/dispbbs.asp?boardidiD=10&id=58&star=1#90
F. Linux Eden
http://www.linuxeden.com/edu/doctext.php?docid=3020g. Wind and Rain Life Technology Network
http://www.guomin.net/index.php?showtopic=220
http://www.guomin.net/index.php?showtopic=219
http://www.guomin.net/index.php?showtopic=218
h. Juxianzhuang
http://www.ncn.cn/linux/2003001.htm
I. 阿 的 的
http://hylinux.3322.org/showArticle.php?action=showArticle&id=2794
j. network sail information exchange station
http://www.cniis.cn/bbs/dispbbs.asp?boardid=33&id=3696&page=1
(End of full text)