Rackpace.com Cloud Server – CentOS 5.5 64bit install and setup
Rackspace Cloud server – CentOS 5.5 64bit installation notes
1). Need a bear minimum install of the following for my bash shell scripts to run properly – particularly needed disctcache otherwise mod_ssl wouldn’t install properly
wget http://cdnetworks-us-1.dl.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz tar xvzf sysbench-0.4.12.tar.gz cd sysbench-0.4.12 libtoolize --force --copy ./autogen.sh ./configure make && make install |
gcc: /usr/lib64/mysql/libmysqlclient_r.so: No such file or directory make[2]: *** [sysbench] Error 1 make[2]: Leaving directory `/usr/local/src/sysbench-0.4.12/sysbench' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/sysbench-0.4.12/sysbench' make: *** [all-recursive] Error 1 |
2). Quite a few dependencies needed for Apache 2.2.17 installation
ln -s /usr/lib64/libmysqlclient_r.so /usr/lib64/mysql/libmysqlclient_r.so |
sysbench --test=fileio --max-time=60 --max-requests=10000 --file-num=1 --file-extra-flags=direct --file-fsync-freq=0 --file-total-size=128M prepare |
3). Apache 2.2.17 wouldn’t start up initially and iptables on Rackspace Cloud server blocked port 80.
sysbench --test=fileio --max-time=60 --max-requests=10000 --file-num=1 --file-extra-flags=direct --file-fsync-freq=0 --file-total-size=128M --num-threads=1 --file-test-mode=rndrd run sysbench --test=fileio --max-time=60 --max-requests=10000 --file-num=1 --file-extra-flags=direct --file-fsync-freq=0 --file-total-size=128M --num-threads=1 --file-test-mode=rndwr run |
Solution straight from Rackspace.com – CentOS_-_Apache_and_PHP_install
change
sysbench --test=fileio --max-time=60 --max-requests=10000 --file-num=1 --file-extra-flags=direct --file-fsync-freq=0 --file-total-size=128M --num-threads=1 --file-test-mode=rndrd run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 Extra file open flags: 16384 1 files, 128Mb each 128Mb total file size Block size 16Kb Number of random requests for random IO: 10000 Read/Write ratio for combined random IO test: 1.50 Calling fsync() at the end of test, Enabled. Using synchronous I/O mode Doing random read test Threads started! Done. Operations performed: 10000 Read, 0 Write, 0 Other = 10000 Total Read 156.25Mb Written 0b Total transferred 156.25Mb (137.33Mb/sec) 8789.38 Requests/sec executed Test execution summary: total time: 1.1377s total number of events: 10000 total time taken by event execution: 1.1124 per-request statistics: min: 0.09ms avg: 0.11ms max: 1.20ms approx. 95 percentile: 0.15ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 1.1124/0.00 |
to
sysbench --test=fileio --max-time=60 --max-requests=10000 --file-num=1 --file-extra-flags=direct --file-fsync-freq=0 --file-total-size=128M --num-threads=1 --file-test-mode=rndwr run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 Extra file open flags: 16384 1 files, 128Mb each 128Mb total file size Block size 16Kb Number of random requests for random IO: 10000 Read/Write ratio for combined random IO test: 1.50 Calling fsync() at the end of test, Enabled. Using synchronous I/O mode Doing random write test Threads started! Done. Operations performed: 0 Read, 10000 Write, 1 Other = 10001 Total Read 0b Written 156.25Mb Total transferred 156.25Mb (52.751Mb/sec) 3376.09 Requests/sec executed Test execution summary: total time: 2.9620s total number of events: 10000 total time taken by event execution: 2.9364 per-request statistics: min: 0.11ms avg: 0.29ms max: 112.25ms approx. 95 percentile: 0.20ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 2.9364/0.00 |
Then allow port 80
yum -y install gcc automake autoconf libtool make libXext-devel unzip distcache slocate |
Looking forward to testing Varnish cache vs Litespeed cache over various cloud server hosting platforms.