Note1

xiaoxiao2021-03-06  104

Today, I finally breathe, I won't do anything else! Reissue RedHatas3, the following things are summarized for future similar situations.

1. Support NTFS, MP3 is on other hard drives. Linux-ntfs.sourceForge.Net Kernel version is 2.4.21-4.El, remember to have a command to view .... Final / boot to see the version, These months really returned. Modify / etc / fstab hangs on the start.

2. With NAT network environment: three computers pick up hub, UPLINK to Switch on the roof, first PPPOE broadcast number before online.

Server single network card 192.168.0.1/24, no gateway

Client single network card 192.168.0.x / 24, gateway 192.168.0.1, DNS with Beijing Telecom

Configuration process:

a. Delete the broadcast number connection set in redhat-config-network

b. Terminal # ADSL-SETUP. What to answer, where FireWalling is selected 2 Masquerade (estimated manual connection is for this)

c. Modify / etc / sysconfig / iptables-config, add

Echo 1> / Proc / Sys / Net / IPv4 / IP_FORWARD

iptables -t nat -a postrol-s 192.168.0.0.0/24 -o ppp0 -j masquerade

The first sentence allows IP packets to forward, the second sentence sets forward type, source, and destination.

Note: I have modified not /etc/rc.d/rc.local, this is not the same as many people, the reason is not known, anyway, it can work. Server I only use a network card, most posts are Two fast, there is no need.

3. Pack the APT, you don't have to find the software everywhere, and you can automatically install the relying on the package. It is slow to slow down. After installing, you will first take the APT-GET Update to update the list list, and then APT-GET CHECK Check the local package. Relying on. What to put after you only need APT-GET INSTALL PACKNAME

4. I heard that there are 2005, I am still jbx.

Modify / etc / profile

Export java_home = / opt / jbuilderx / jdk1.4

Export classpath =.: $ java_home / lib

Export Path = $ PATH: $ java_home / bin

5. VSFTPD This ftp is very weak, you use it enough. First modify /etc/vsftpd/vsftpd.conf, prohibit anonymous login. Create / var / FTP / INCOME, 777, change the PUB to 775

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

New Post(0)