Quote:
Originally Posted by akaivory
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
• 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.