Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

The Windows Administrator's 10-Minute Guide to Installing Red Hat Linux : Page 5

Linux has become increasingly attractive, not only as a low-cost platform for hosting Web servers, but also as a target for desktop development efforts. If you would like to run Linux, but you're only familiar with Windows, you can follow this step-by-step guide to get Red Hat Linux installed and configured on a machine running Windows.


advertisement
Set Up Initial System Security
After you're logged in, you can configure the initial system security. This is a critical part of the installation routine. You should plan what you're going to do ahead of time.

The table below contains the most common Linux/UNIX commands that a Windows administrator needs to know about when setting up Red Hat. You probably already know the commands you would use in Windows, this table will get you started quickly in Linux/UNIX. For more information see the page references in our book. Also see the sidebar Linux/Microsoft Command/Term Equivalents.

Command

Description



ls

Lists the contents of a specified directory and supports wildcards.

cd/chdir

Changes the working directory. If no directory is specified, $HOME is used.

mkdir

Creates directories

rmdir

Removes empty directories from the file system.

rm

Removes files and directories from the file system.

rpm

Adds/removes software on a system, but can also be used to create software packages

mv

Moves or renames files and directories.

ln

Creates a link between the specified source and destination files.

smbadduser

Adds users to SMB's password file

smbpasswd

Changes the users SMB password

vi

Edits or views text files (remember Edlin?)

adduser/useradd

Creates a new user or updates default new user information

passwd

Changes login password and password attributes for the current or the specified user.


Note: There are two modes in "vi": command mode and insert mode. In command mode you cannot enter text, but you can do other things such as delete rows or go into insert mode. For detailed information about how to use the "vi" command see http://www.eng.hawaii.edu/Tutor/vi.html, or search for "vi help" on the Internet.

So far in this article we have given you the minimum requirements to get the Web server up and running using general firewall security. The first phase of the firewall setup is intended to prevent access to the server by outsiders. However, the procedure leaves your ports open for the local network so that you may access the server and change security settings at a later date.

Note: You can change advanced security settings either prior to or after the Apache/JBoss installation.

Now, execute the next setup step by removing the mail service (which isn't needed at this point, since you aren't setting up a mail server). To do this, remove SMTP support using the "rpm" command. From the command prompt type:

rpm -e sendmail

Note: You don't have to remove the sendmail service if you plan to run this machine as a mail server sometime in the near future.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date