I’ve no idea what is happening. I can run any other shell command through the exec() command and it works fine. It’s clearly something to do with permissions somewhere, but I’m unsure what. I’ve tried this on many different servers and some of them work fine and some don’t. All w…
Tag: centos
Install 64 bit CentOS on Vbox installed on 32 bit Windows 7 with 64 bit intel 3rd gen core i5 processor [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
How to find files recursively by file type and copy them to a directory?
I would like to find all the pdf files in a folder. It contains pdf files inside and more directories that contain more as well. The folder is located on a remote server I have ssh access to. I am using the mac terminal but I believe the server I am connecting to is Centos. I need to find all
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…
Backspace in zsh fails to work in quite the strange way
I’m on a fresh Virtualbox install of CentOS 6.4. After installing zsh 5.0.2 from source using ./configure –prefix=/usr && make && make install and setting it as the shell with chsh -s /usr/bin/zsh, everything is good. Then some time after, after installing python it seems, it start…
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 …
CentOS Subversion, Basic Auth Password file not working
So i have SVN installed and using HTTPD for a remote repository. All works well, until i use the password file. This is not working at all. Apache’s error_log says (13) Permission Denied: Could not open password file I have set the passwd file’s chmod to 777 and chown to apache, I also set the par…
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…