root bin

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...

nsd3+nginx+php-fpm+drupal

›
Install nsd3 and nginx touch /etc/nsd3/nsd.conf apt-get install nsd3 apt-get install nginx Check these to figure out how to set up php5-...
Tuesday, 22 February 2011

memcached on drupal 6

›
environment: ubuntu hardy (8.04), drupal 6.13 memcached To install memcached, you need to install libevent first: sudo apt-get install li...
Sunday, 13 February 2011

set up postfix to send mails to google apps

›
After hours of search and trying several different solution, I found that it is surprisingly simle: apt-get install postfix nano /etc/post...
‹
›
Home
View web version
Powered by Blogger.