root bin
Monday, 28 November 2011
Drupal fix failed cron with drush
›
First run: drush --yes vset cron_semaphore 0 And then drush cron
php5-fpm and nginx config to avoid Internal server errors
›
This is a setting that I've found pretty stable (on a high-end server with 16GB ram) for a busy Drupal site, after a lot of headackes wi...
Sunday, 27 November 2011
reset MySQL password
›
Many suggested solutions did not work. But this one does the job First You have to Stop mysql server: service mysqld stop Now Star...
Monday, 15 August 2011
io test of server
›
1 or 2U Rack space* 5000 GB bandwidth* 2 AMP / 110v power dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync A samle taken now: My...
Wednesday, 1 June 2011
Django deployment on Ubuntu 10.04 using nginx and uwsgi
›
I spend days to figure out how to do this. The problem is that the existing docs are somehow incompelte or too geeky. So I doccument all th...
Thursday, 21 April 2011
How to complately remove php from Ubuntu server?
›
php_installed=`dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` # remove all php packge sudo aptitude purge ...
Saturday, 9 April 2011
Pinax deployment with nginx and flup
›
After A LOT of searches failed attempts, at last I found this solution (kind of) working: 1. first install pinax, using the official guide...
Saturday, 19 March 2011
virtualenvwrapper (and install pinax)
›
First: apt-get install python-setuptools easy_install pip pip install virtualenv pip install virtualenvwrapper Then nano ~/.bashrc N...
Tuesday, 1 March 2011
Mysql database: Migrate and Repair
›
To repair, just issue this command: mysqlcheck -uroot -pxxxxx --auto-repair --optimize --databases your_db Man page Migrate mysql using fi...
Thursday, 24 February 2011
MYSQLTuner
›
MySQLTuner is a perl script for mysql optimization. To get uset it: wget http://mysqltuner.com/mysqltuner.pl chmod +x mysqltuner...
‹
›
Home
View web version