Monday 23 March 2015

Install steps Centos 7

Have to do:

yum install epel-release -y
cd /
yum install -y wget mc sshpass unzip nano git
yum update -y

2  Disable Selinux:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce Permissive

3. Change ssh port: http://blog.saitov.me/2015/03/centos-7-rhel-7-change-openssh-port.html


Optional:
nginx: http://blog.saitov.me/2015/02/install-nginx-on-centos-7.html
yii: http://blog.saitov.me/search/label/YII
Sails js: http://blog.saitov.me/search/label/sails



Add. repositories:

cd /tmp && wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo rpm -Uvh remi-release-7*.rpm
cd /tmp && wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
sudo rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

No comments:

Post a Comment