Wednesday, June 11, 2008
Tuesday, May 27, 2008
How to put SLAX in our pocket
We need (i) USB Drive with or without chain (ii) A pocket whether sleeve or a jeans
---------------------------------------------------------------------------------------------------
How to put Slax to USB drive or disk
How to make it bootable
LINUX in our pocket
189MB | iso | v 6.0.7 | [ md5 ] | ||
189MB | tar | v 6.0.7 | [ md5 |
Thursday, May 22, 2008
How to install and configure Webalizer on Ubuntu
Webalizer is a nice web analysis tool for your server.
To install Webalizer open up a terminal and enter the following commands:
$ sudo aptitude update
$ sudo aptitude install webalizer
Webalizer didn't work right away, so I found a fix for it.
Edit webalizer.conf with your favorite editor:
$ vi /etc/webalizer/webalizer.conf
Find the following:
LogFile /var/log/apache/access.log.1
I'm using apache2 so replace the line with:
LogFile /var/log/apache2/access.log
Save and exit.
To run webalizer, enter this command:
sudo webalizer
and then go to http://localhost/webalizer/
Done!
Install Apache2 in ubuntu
Install Apache Web Server on Ubuntu
This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without troughout explanations.
© 2006 Tero Karvinen. GNU General Public License, version 2.
Install Apache
$ sudo apt-get install apache2
Test it
Surf to your own server on your own local computer:
$ firefox "http://localhost"
Find out how your server is found on the net. Anyone can use your IP address or DNS name to connect to your server:
$ ip addr
Use your own IP address (eth0, first IP number, does not end .255)
$ firefox "http://1.2.3.4"
If DNS is working on your network, you can see your fully qualified domain name with:
$ host 1.2.3.4
User homepages
With user homepages, anything you put in public_html in your home directory is published on the web.
Enabling Userdir on Server
For newer Ubuntu such as 8.04 Hardy, you have to explicitly enable userdir module. On older ones such as 6.06 LTS Dapper, userdir is enabled by default.
$ sudo a2enmod userdir
$ sudo /etc/init.d/apache2 restart
Test homepages
Go to your home directory
$ cd
Create a folder for public html files, note the underscore ‘_’
$ mkdir public_html
Check your name
$ whoami
Surf to ~yourname:
$ firefox "http://localhost/~tkarvine/"
You should see a directory listing of an empty directory. You can also try it using your IP address and a different machine.
If you see your homepage, well done. You have successfully installed a server with user homepages. You can create some web pages with OpenOffice and save them to your public_html directory.