LINUX use

xiaoxiao2021-03-06  40

Set IP:

Setup (usr / sbin) restarting the NetWork service

Install FTP:

Using an FTP command to copy the wu-ftp's RPM package, then install the RPM -I (RPM package name), enter the setup Select the WU-FTP service, then use the service (/ sbin) xinetd restart to restart the service

OK

Use x-win:

First open X-Win32

After telnet, enter commands, export display = 172.18.4.71: 0.0

Enter: xTerm & Enter

Inquire:

Query Button characters in a file starting with UMUSER

Grep button umuser *

View the usage of Memory on the current machine

Free

TOP

CAT / proc / memoryfo

Vmstat

Dmesg | GREP MEM

SAR

Set environment variables:

Add: in the /etc/rc.local file:

Export java_home = / usr / local / j2sdk1.4.2

Export ClassPath = $ java_home / lib / dt.jar: $ java_home / lib / Tools.jar :.

Export Path = $ PATH: $ java_home / bin

NIC driver under Linux (D-Link DFE-530TX):

1. Find the network card driver, perform related decompression operation, release to a folder, such as / TMP / XXXX

2, enter the drive original file directory: # make

At first, the system lacks the source file, always display: Source File Not Found similar statement,

The reason is that there are several RPM packages: kernel-source-2.4.xxxx, kernel-2.4.20-18.9, GCC-3.2.2-5, MAKE-3.79.1-17

I can't make Make success during the installation process.

Then reinstall the system, the relevant thing is selected, then you can make Make successfully.

3, Make will generate a file named: rhinefet.o, copy the file into the / lib / modules / kernel_version / kernel / drivers / net / directory, and the kernel_version refers to the version installed by Kernel, If you don't know, enter the command 'uname -r' to see

4, enter the command inSmod RhineFET loading driver (do not know if it must be required)

5, profile /etc/modules.conf or /etc/conf.modules, in the last addition: Alias ​​Eth0 RhineFet

6, restart, detect new hardware, will pop up the configuration window, follow the prompt, everything OK

7, enter the setup configuration IP and other information, use ifconfig eth0 to see if there is a display, use the ping command to confirm that the network has been connected.

Read the bottom partition under Windows

In general, / dev / hdb1 corresponds to the C drive / dev / hdb5 corresponds to the D disk, and then pushes

Newly constructed in / mNT, such as Mkdir D, MKDIR H

Then Mount / DEV / HDB5 / MNT / D will then enter the / mnt / d directory to see content

In order to avoid re-mounted,

Add the following in the ETC / FSTBB file:

/ DEV / HDB1 / MNT / C vfat default 0 0 / dev / hdb5 / mnt / d vfat default 0 0

........................

Use the .iso file under Linux

mount -t iso9660 -o loop xxxx.iso / path

xxxx.iso

ask

ISO

file path,

/ path

Path to be mounted

Bind multiple IPs on a network card

NetConfig -d Eth0

NetConfig -d eth0: 1

NetConfig -d eth0: 2

转载请注明原文地址:https://www.9cbs.com/read-61835.html

New Post(0)