Skip to content

Tag: centos

Nginx(proxy) + Apache: two process listening same port

I have two servers on CentOS: Nginx(proxy) + Apache. I need restart Nginx but if i try to test configuration before restart, i have next error: How i can solve this problem? Thanks! P.S. Nginx has listen port 80, apache listen 81. Answer I don’t know why this error has appeared, but after I made error h…

Killing a screen without a specific session #

To create a screen, I am currently doing: That works perfectly, however killing it remotely with: Will reply with: This is due to the screen having {session#}.{screenname} It will work if done as: What solutions are possible? I’m not entirely sure that you can get the session# when you start the screen.…

Best way to install MySQL 5.6 on Centos 6.4

I just installed Centos 6.4, and installed MySQL using the version that came with the Centos distribution. To my dismay, it is MySQL 5.1.69 versus the current 5.6.12. As stated on http://dev.mysql.com/doc/refman/5.5/en/linux-installation-native.html, “the MySQL version will often be some way behind the …

how to unlimit the number of group for one user in centos4/5

If one user have more than 16 groups, it will cause that the groups don’t work for permission control. How to unlimited this number of groups per user in Centos4/5 ? Answer You can’t unlimit the additionnal groups per user. But you can raise the limit. Beware that most Unix systems are limited to …

Installing scrapy (openSSL)

I’m using scrapy for couple of months now. I’ve been using it on the couple of machines and never had trouble with it. I used it on Windows xp and 7, I also used it on arch linux and never had trouble installing. Pretty much it was only pip install scrapy and done. Now I’m trying to set it u…