linux:services
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:services [2017/01/12 02:12] – external edit 127.0.0.1 | linux:services [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 18: | Line 18: | ||
==== install on linux ==== | ==== install on linux ==== | ||
* pre setup(for https)< | * pre setup(for https)< | ||
- | tar xzpf Net_SSLeay.pm-1.23.tar.gz | + | yum -y install perl perl-Net-SSLeay openssl |
- | cd Net_SSLeay.pm-1.23 | + | |
- | perl Makefile.PL | + | |
- | make install | + | |
</ | </ | ||
* Download and install from rpm package:< | * Download and install from rpm package:< | ||
- | wget http://nchc.dl.sourceforge.net/project/webadmin/ | + | wget http://prdownloads.sourceforge.net/ |
- | rpm -i webmin-1.480-1.noarch.rpm | + | rpm -U webmin-1.930-1.noarch.rpm |
</ | </ | ||
* install from source< | * install from source< | ||
Line 330: | Line 327: | ||
* NTP server: 10.30.31.127 | * NTP server: 10.30.31.127 | ||
* date +%Y%m%d -s " | * date +%Y%m%d -s " | ||
- | * NTP Client: | + | * NTP Client:<code bash> |
- | / | + | / |
+ | </ | ||
+ | Open Iptable firewall:< | ||
+ | -A INPUT -i eth0 -p udp -m multiport --dports 123,161 -j ACCEPT | ||
+ | </ | ||
+ | -A INPUT -p udp -i eth0 --dport 123 -j ACCEPT | ||
+ | -A INPUT -p udp -i eth0 --dport 161 -j ACCEPT | ||
+ | </ | ||
====== nfs ====== | ====== nfs ====== | ||
===== nfs server ===== | ===== nfs server ===== | ||
- | ==== check nfs server | + | ==== check nfs server |
- | ps -eaf | grep nfs | + | |
+ | ps -eaf | grep nfs | ||
+ | </ | ||
+ | * Install Nfs Server< | ||
+ | yum install nfs-utils nfs-utils-lib | ||
+ | </ | ||
+ | * Start Nfs server:< | ||
+ | / | ||
+ | / | ||
+ | </ | ||
==== config nfs server in / | ==== config nfs server in / | ||
Line 362: | Line 374: | ||
Copy rootfs from CD(2007WLP) to / | Copy rootfs from CD(2007WLP) to / | ||
===== nfs client with mount ===== | ===== nfs client with mount ===== | ||
- | | + | Below are steps config in client with mount: |
- | cat / | + | |
- | 10.30.31.8:/ | + | yum install nfs-utils nfs-utils-lib |
- | 10.30.31.8:/ | + | </ |
- | 10.30.31.8:/ | + | - Step2: config mount in /etc/fstab:<code bash> |
+ | 10.30.31.8:/ | ||
+ | 10.30.31.8:/ | ||
+ | 10.30.31.8:/ | ||
+ | </ | ||
+ | - Step3: active mount:< | ||
+ | mount -a | ||
+ | </ | ||
+ | Check nfs server with mount command: | ||
+ | * mount:< | ||
+ | mount 10.30.31.8:/ | ||
+ | </ | ||
+ | * umount:< | ||
+ | umount 10.30.31.8:/ | ||
+ | </ | ||
====== snmpd ====== | ====== snmpd ====== | ||
/ | / | ||
snmpwalk -v2c -c public 10.30.43.10 | snmpwalk -v2c -c public 10.30.43.10 |
linux/services.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1