:: Debian: Upgrade php 5.3
Posted by blackonsole on May 12th, 2012 04:29 AM | No Comment
:: How to upgrade php 5.3 on Debian
+ setup php5.3 repo
add these line:
+ update repo and upgrade php 5.3
:: Links
+ Google
+ DebianTutorials
:: CentOS : Installing WebMin
Posted by blackonsole on May 12th, 2012 03:14 AM | No Comment
:: How to installing WebMin on CentOS
+ create webmin.repo
add these line:
+ import webmin repo key
+ installing webmin via yum
+ access webmin
:: Links
+ Google
+ Webmin
:: NGINX: [emerg] directive “rewrite” is not terminated by “;”
Posted by blackonsole on May 8th, 2012 07:19 PM | 2 Comments
:: Error when reload / restart nginx
in line 15 use { and } characters in the regular expressions conflict with the block delimiter of the Nginx configuration file syntax language, some like:
If you want to write a regular expression pattern ...
:: NGINX : Redirect to external URL
Posted by blackonsole on May 7th, 2012 12:05 PM | No Comment
:: How to redirect to external url on NGINX
+ create configure file
added configuration like these:
+ testing configure file and reload nginx
:: Links
+ Google
+ Snipt
:: Cron: Auto restart daemon if it down
Posted by blackonsole on May 7th, 2012 04:20 AM | 1 Comment
:: How to create script for auto restart daemon if it down
+ create auto restart daemon script (nginx)
add the script, like these:
#!/bin/bash
alwaysup=ps aux | grep -v grep | grep -c nginx
if
then
/etc/init.d/nginx ...