 







Click here to recommend this site to a
friend. It wont take more than a minute.
|
Linux Installation | Post-installation 1| Post-installation 2 | Source, binaries, rpms | Installing PHP and MYSQL | PHP and MYSQL tutorial |
Some
Post-Installation Tasks (2)
Setting up Apache:
This is one hell of an easy task. Start Netscape and type
in http://127.0.0.1 . You should get the start-up page of
Apache which tells you that the installation has been
successful and that you can now place the content of your
website. Uusually the location of http://127.0.0.1 is the
index.html file in /home/httpd/html/ . Now using new sub-directories
in this directory and replacing the index.html page by
your own index.html you can test your own site. The links
should have 127.0.0.1 ie to link up a file test.html
placed in /home/httpd/html/linux/ the link from index.html
will be http://127.0.0.1/linux/test.html. The basic
command to start, restart or stop your webserver is /etc/rc.d/init.d/httpd
start, etc/rc.d/init.d/httpd restart and etc/rc.d/init.d/httpd
stop.
Note: When a terminal is started the default directory is
/root. cd .. command will change it to / from where you
can execute the above commands.
Setting up the
internet:
It is always safer to surf the internet as a user other
than root. In the kde section of start menu you will find
kppp. Start it. Find the ppp options file. Uusally it
will be present in /etc/ppp/options. Open it with
Gnotepad present in applications section. If the word
lock is the only word delete it and save the file. Now
setup your internet account in kppp. Uncheck the use lock
file box in settings. Then add a new account and edit its
settings. Usually most ISP providers use CHAP for
authentication. You will have to mention the DNS servers
of the ISP. Also use server assigned IP address option.
Next
Contents
Home
|