Varnish is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6. Varnish supports Edge Side Includes, ESI. Edge side includes allow you to break your pages into smaller pieces, and cache those pieces independently.
Default start up
On Linux install package
yum install mod_sslopenssl genrsa -out ca.key 1024openssl req -new -key ca.key -out ca.csropenssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
openssl genrsa -out ca.key 1024
openssl req -new -key ca.key -out ca.csr
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
AWSTATS is an Apache log file analyzer that will show details about traffic to your web sites.
Setting up awstats guide
now run the awstats.pl script:% cd /usr/share/awstats/wwwroot/cgi-bin/ % sudo perl awstats.pl -update -config=mysite
% cd /usr/share/awstats/wwwroot/cgi-bin/ % sudo perl awstats.pl -update -config=mysite
If all goes well, you should see something along the lines of:Found 0 dropped records Found 0 corrupted records, Found 150 old records, Fount 50 new qualified records. …at the end of the update script output.
Found 0 dropped records Found 0 corrupted records, Found 150 old records, Fount 50 new qualified records.
So, to do this with multiple domains, just repeat the steps above, making sure to make the appropriate changes to each domain…
This will hopefully create a config file fore each of your domains in /etc/awstats with the name awstats.web3us.com.
Here are the tips I learned about configuring Apache
Install Apache 2.x
1. Edit /etc/httpd/conf.d/php.conf to add Directory entries for phpMyAdmin, gallery2, mediawiki, and scripts. AliasMatch ^/phpMyAdmin(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/phpMyAdmin$1" Options Indexes AllowOverride None Order allow,deny Allow from all
2. Create /opt/www
3. edit http.conf so that the Document Root is /opt/www
4. Changed Web Root to link to /opt/www
5. restart Apache server /etc/rc.d/init.d/httpd restart
I wanted to use the web to capture all the tips and tricks I learned setting up an web sites including open source content managment system (CMS). I have also added some other useful how to guides for phones, tablets, video, and backup power.