User Tools

Site Tools


linux:services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:services [2017/04/24 08:11] – [nfs client with mount] adminlinux: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)<code bash>   * pre setup(for https)<code bash>
-tar xzpf Net_SSLeay.pm-1.23.tar.gz +yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
-cd Net_SSLeay.pm-1.23 +
-perl Makefile.PL +
-make install+
 </code> </code>
   * Download and install from rpm package:<code bash>   * Download and install from rpm package:<code bash>
-wget http://nchc.dl.sourceforge.net/project/webadmin/webmin/1.480/webmin-1.480-1.noarch.rpm +wget http://prdownloads.sourceforge.net/webadmin/webmin-1.930-1.noarch.rpm 
-rpm -webmin-1.480-1.noarch.rpm+rpm -webmin-1.930-1.noarch.rpm
     </code> with webmin new version: we copy the webmin source to **/usr/local** before setup     </code> with webmin new version: we copy the webmin source to **/usr/local** before setup
   * install from source<code bash>   * install from source<code bash>
Line 330: Line 327:
   * NTP server: 10.30.31.127   * NTP server: 10.30.31.127
   * date +%Y%m%d -s "20091125"   * date +%Y%m%d -s "20091125"
-  * NTP Client: +  * NTP Client:<code bash> 
-  /usr/sbin/ntpdate -s -b -p 8 -u 10.30.31.127 +/usr/sbin/ntpdate -s -b -p 8 -u 10.30.31.127 
 +</code> 
 +Open Iptable firewall:<code bash> 
 +-A INPUT -i eth0 -p udp -m multiport --dports 123,161 -j ACCEPT 
 +</code>Or<code bash> 
 +-A INPUT -p udp -i eth0 --dport 123 -j ACCEPT 
 +-A INPUT -p udp -i eth0 --dport 161 -j ACCEPT 
 +</code>
 ====== nfs ====== ====== nfs ======
 ===== nfs server ===== ===== nfs server =====
linux/services.1493021471.txt.gz · Last modified: 2022/10/29 16:15 (external edit)