LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2007, 07:19 AM   #1
lifelong
LQ Newbie
 
Registered: Feb 2007
Posts: 16

Rep: Reputation: 0
Linux Servers


Hi Everyone,

I am a Linux novice. Could you please provide with a series of Step 1,
Step 2, etc as to how to accomplish creating a linux server with the following parameters

_________________________
Install a new server with the following specs:
• Disk partitioning:
100MB /boot
1024MB swap
1024MB /var
1024MB /tmp
4028MB /

• Have the SSH , VSFTP packages installed.
• DHCP for network
• Firewall running
• Add a user called mike (pw test)
Boot server & get network IP
Configure the network security (IPtables and(or) TCp Wrappers) and services to:

Allow user “mike” to:
• FTP (vsftp) into server
• block SSH login

___________________________________________________________

Thanks

Shirley Ivory
 
Old 09-14-2007, 09:16 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
grab any distro you want and install it those things will happen. you might want to look into CentOS as it is the fork of RHE...
 
Old 09-14-2007, 11:56 PM   #3
cacycleworks
LQ Newbie
 
Registered: May 2007
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by akaivory View Post
Hi Everyone,

I am a Linux novice. Could you please provide with a series of Step 1,
Step 2, etc as to how to accomplish creating a linux server with the following parameters

_________________________
Install a new server with the following specs:
• Disk partitioning:
100MB /boot
1024MB swap
1024MB /var
1024MB /tmp
4028MB /
Hi Shirley - welcome to linux.

The only real "trick" to the partitioning is that you've got 5 partitions, so you'll need an extended partition.

Here is text of what I'm talking about:
primary partition: /dev/sda1 on /boot type ext3 (bootable) 200M
primary partition: /dev/sda2 on / type ext3 15GB for root
primary partition: /dev/sda3 on /usr type ext3 14.8 GB for /usr
Extended partition: /dev/sda4 (which doesn't show up)
Logical Drive in extended partition: /dev/sda5 on /tmp type ext3 8GB
Logical Drive in extended partition: /dev/sda6 on /home type ext3 80GB (never ever format this!)
Logical Drive in extended partition: /dev/sda7 is swap 2GB

With this setup, I can reinstall the OS in about 30 minutes ... and without any changes to /home when it boots up, you wouldn't know there was a change, as all the settings remain in your ~ directory.

Check out this small diagram I made of how I partition my linuxes (note that I changed var to usr above):
URL: http://www.ducatitech.com/tmp/partition_plan.png
http://www.ducatitech.com/tmp/partition_plan.png

I'd recommend 200M for /boot. If things are tight, you can make swap smaller (if there's lots of ram).

With the ubuntu family (i'm partial to kubuntu), there is a keyboard interfaced visual partitioner. Most OS's I've played with have this to some extent. I use ext2 as file system though a journaling one may be more reliable.

Quote:
Originally Posted by akaivory View Post
• Have the SSH , VSFTP packages installed.
• DHCP for network
• Firewall running
• Add a user called mike (pw test)
Boot server & get network IP
Configure the network security (IPtables and(or) TCp Wrappers) and services to:

Allow user “mike” to:
• FTP (vsftp) into server
• block SSH login
DHCP is enabled with ubuntu by default.

I'm not sure how many people set up firewalls, but Google always hooks me up with answers. http://www.google.com/search?q=ubunt...up&btnG=Search
IMO, most folks I know use a broadband router/firewall, so there's no need to have firewall on the linux box.

More effective may be to get the "dd-wrt" image installed into your wireless access point.

The install will ask you to create the administrative user, which could be mike.

For vsftpd, you type at a console:
sudo apt-get install vsftpd

Or if you installed the desktop graphical UI, you can use the adept manager to look for vsftpd and install it.

SSH is not running by default with ubuntu (requires an apt-get install), so there is no SSH login.

 
Old 09-15-2007, 10:11 AM   #4
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
For server use a /var partition is a good choice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: QuickBooks is now available for Linux servers -- but not for Linux desktops LXer Syndicated Linux News 0 06-14-2007 02:01 PM
Access for Multiple Linux servers from any cilent node running REDHAT LINUX 9 bv_uma Linux - Server 2 08-18-2006 12:17 AM
linux servers tamudnm Linux - General 3 11-04-2004 07:26 PM
Servers on Linux LinuxN000b Linux - Newbie 1 10-27-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration