- sudo pear update-channels
- brew install pcre
- sudo pecl install apc-3.1.6
- Edit php.ini
- extension=apc.so
- apc.enabled=1
- apc.shm_segments=1
- apc.shm_size=32M
- apc.cache_by_default=1
- apc.stat=1
- apc.rfc1867=1 //For upload progress.
- apc.stat=7200 //2 hours
Web Server
Redirect domain.com to www.domain.com in .htaccess or virtual host file
by admin • January 21, 2011
Just Add:
RewriteEngine on RewriteCond %{HTTPHOST} !^www.domain.com [NC] RewriteCond %{HTTPHOST} !^$ RewriteRule ^/?(.*) http://www.domian.com/$1 [L,R=301,NE]
Setting up a Rackspace Cloud Server & Ubuntu Karmic Koala
by admin • September 29, 2010
First Things First:
- Signup with Rackspace cloud: http://www.rackspacecloud.com/
- Create Server
- Choose Linux Version
- Choose server needs & name server
- You will receive a phone call and an Email will be sent to you with your server password and ip address.
- Test SSH Login:
- on a mac: run terminal
- ssh root@youripaddress
- then type in the password they gave you
- on a mac: run terminal
- Start by updating your systems package manager.
- sudo apt-get update
- supo apt-get upgrade
- Answer yes to the additional space question.