Narzędzia użytkownika

Narzędzia witryny


default_centos

Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Poprzednia rewizja po obu stronachPoprzednia wersja
Nowa wersja
Poprzednia wersja
default_centos [2014/08/04 21:06] – edycja zewnętrzna 127.0.0.1default_centos [2018/07/16 11:47] (aktualna) – edycja zewnętrzna 127.0.0.1
Linia 13: Linia 13:
  
 <file> <file>
-yum install mc subversion telnet zip unzip tcpdump man nano mailx chkconfig wget+yum install mc subversion telnet zip unzip tcpdump man nano mailx chkconfig wget ntpdate git rsync
 mkdir install mkdir install
 cd install/ cd install/
-wget http://pkgs.repoforge.org/p7zip/p7zip-9.20.1-1.el6.rf.x86_64.rpm +wget http://pkgs.repoforge.org/p7zip/p7zip-9.20.1-1.el6.rf.`uname -m`.rpm 
-wget http://pkgs.repoforge.org/p7zip/p7zip-plugins-9.20.1-1.el6.rf.x86_64.rpm+wget http://pkgs.repoforge.org/p7zip/p7zip-plugins-9.20.1-1.el6.rf.`uname -m`.rpm
 rpm -i ./p7zip-* rpm -i ./p7zip-*
 cd .. cd ..
Linia 25: Linia 25:
  
 <file> <file>
-echo "2 * * * * root ntpdate pool.ntp.org > /dev/null" >> /etc/crontab+echo "2 * * * * root ntpdate -u pool.ntp.org > /dev/null" >> /etc/crontab
 /etc/init.d/crond reload /etc/init.d/crond reload
 +</file>
 +
 +==== Wyłączenie SELinux ====
 +
 +<file>
 +cat /etc/selinux/config | sed "s/SELINUX=.*/SELINUX=disabled/g" > /etc/selinux/config.new && mv /etc/selinux/config.new /etc/selinux/config && reboot
 +</file>
 +
 +==== Repo Nginx ====
 +
 +<file>
 +echo '[nginx]
 +name=nginx repo' >> /etc/yum.repos.d/nginx.repo
 +echo "baseurl=http://nginx.org/packages/centos/6/`uname -m`/" >> /etc/yum.repos.d/nginx.repo
 +echo 'gpgcheck=0
 +enabled=1' >> /etc/yum.repos.d/nginx.repo
 +</file>
 +
 +==== Firewall off ====
 +
 +<file>
 +/etc/init.d/iptables stop
 +chkconfig iptables off
 </file> </file>
default_centos.1407179211.txt.gz · ostatnio zmienione: 2018/07/16 11:47 (edycja zewnętrzna)