December 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

December 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

CentOS 7 & firewallD

Usually one of the first things we want to do with a new server is to restrict access to SSH -service.

So far it seems that everyone advices “disable firewallD, install iptables service and use it like you’ve always used” but how about trying to get along with this new tech?

Restricting access to […]

Ngix web

yum -y install make gcc gcc-c++ autoconf

wget http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpcre%2Ffiles%2Fpcre%2F8.36%2F&ts=1419041744&use_mirror=softlayer-sng

mv pcre-8.36.tar.gz\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fpcre%2Ffiles%2Fpcre%2F8.36%2F pcre-8.36.tar.gz

groupadd www useradd -g www www

yum repo for ngix

[root@test1 software]# cat /etc/yum.repos.d/ngix.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 [root@test1 software]# yum install nginx wget http://nginx.org/download/nginx-1.7.8.tar.gz

tar zxvf pcre-8.36.tar.gz cd pcre-8.36 ./configure make && make install

cd nginx-1.7.8 yum -y install openssl* […]