General UNIX/Linux Refresher
[Linux System Administration Homepage]
- refresh your UNIX/Linux Skills
- understand how to start/stop servers
- edit run levels so apache starts up at boot
- setup a dummy domain name and test
- locate information resources
- /etc (files: hosts inittab passwd group)
- /etc/rc.d (subdirectories rc3.d along with rc0.d to
- /var/log (files: messages)
pico and vi/vim
- /sbin/chkconfig --level 3 servername off
- /sbin/chkconfig --level 3 servername on
- Using some of the GUI tools as well
- su -
- What does /etc/hosts do?
- Why do you need to set up /etc/hosts each time you come to
- If you switch rooms, can you change your default printer? How?
- How do you change to the root user? What does the - do after
- How can you change what service is running in what run level?
There is both a GUI and command line method, what are they?
- Why should these services usually
In class I kind of wandered around as I tried to "trouble shoot"
or figure out why the various options were not working. Keep that in mind
as you work through these exercises. Don't just "follow the steps" but try
to understand WHAT and WHY we are doing them.
NOTE: for most of this, you will need to su to root in
order to have the proper permissions. And before you do any of these,
make sure you have done the Basic Setup
- go to etc hosts and add a line
(Fill in xx.xxx with your present IP address, and
what you type for fakename.com is up to you)
- Start up netscape, first load up 192.168.xx.xxx, then
fakename.com (which mysteriously won't work yet) to make sure you can
contact your web server
- Go to /var/www/html and edit the index.html file to make a
for your system
- Check out the topics on CIS126DA Lecture Overviews, especially
how to find information!
- Using netscape or mozilla, go to file, open web location
- type 127.0.0.1/manual
- Then in netscape click on bookmarks
- Slide to "file bookmarks"
- And put it in your personal toolbar folder
- You can also check for web pages on many other
programs/topics by going to "file" "open file" and browsing through
/usr/share and /usr/share/doc (Try to find the main page for ImageMagick
- A big one is usr/share/doc/httpd-2.0.40/migration.html
- Apache 1.3 Online
- Apache 2.2
This page last updated on: