LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2004, 12:14 PM   #1
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Rep: Reputation: 15
setting up server


if i get 10GB hard disk, and i want to install Debian for setting up web and mail server, is it ok for me to just make such partition

hda1 9200MB
hda2 Swap 512MB

?

should i amend this?
 
Old 05-16-2004, 01:05 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
that would work.

i like to have my /var, /home, /usr, /root on seperate partitions. you don't have to, but it's nice it you want to do a clean install the next time through instead of just updating. that way you don't have to format the /var and /home.
 
Old 05-16-2004, 01:14 PM   #3
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
but however, i don't know how to create the /var, /home in the logical partition, it seems different to the RedHat Version
 
Old 05-16-2004, 01:32 PM   #4
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
what kind of deb are you trying to put in?
if you have highspeed than i would go with this one-
gluck.debian.org/cdimage/testing/sarge_d-i/i386/beta3/sarge-i386-netinst.iso

if that one doesn't work, than i have it on my server also, drop me a line and i will tell you where it is.

when you go to the partitioning part of the install, you should be asked a couple of questions about the fs system, the layout of drives, etc. you should be able to tell it to have your /root a certain size. if your doing the basic install, then i think that it will just do the partitioning for you.
if you have this hd in another box, then use cfdisk. it's pretty straight forward, and i believe it's easier to use than fdisk.

hopefully that helps some.
 
Old 05-16-2004, 01:36 PM   #5
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
i downloaded the files from
http://ftp.au.debian.org/pub/debian-...s/3.0_r2/i386/


is there any difference?

Actually i don't know much about Debian...so please tell me if there is any problem

thanks
 
Old 05-16-2004, 01:46 PM   #6
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
the only reason that i said to use that one disk, is because it's a netinstall version. that means that it's very small and only has the things on it that you need to get your system up and running. once it's running then you apt-get all of your other needs. that way everything is the newest of the version that you are running. also, none of the full disks from debian would install on my machine.

if you need to have a gui interface then i would use the disk that you have, the one that i pointed to is only command line. you would have to install a window manager to get the gui going. the netinstall is very nice if you are setting up a server and are looking to keep the base foot print as small as possible, with out having to remove things later on.

since you are going to be just setting up a server, then i would use the partitioning scheme that you asked about. you can just apt-get update the whole system and you won't have to worry about reinstalling things.
 
Old 05-16-2004, 01:51 PM   #7
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
I would like to ask how to apt-get update the whole system ?

thanks
 
Old 05-16-2004, 01:59 PM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Quote:
Originally posted by tszhim
I would like to ask how to apt-get update the whole system ?

thanks
apt-get update

then

apt-get upgrade
 
Old 05-16-2004, 03:39 PM   #9
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
The beta 4 installer is available now.

Here is the info:
http://www.debian.org/devel/debian-installer/
 
Old 05-16-2004, 03:59 PM   #10
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Quote:
Originally posted by tszhim
but however, i don't know how to create the /var, /home in the logical partition, it seems different to the RedHat Version
I think RedHat automatically partitions the hard drive to setup different partitons for /boot, /home, /var, /, etc. With the Debian installer, you have to set this up yourself. During the install, there is an option to partition the hard disk. That is where you create the number of partitions you need (i.e. 4 if you are creating /, /home, /var, and swap). Then the next thing you do is to format and mount the partitions to the corresponding mount points (i.e. /dev/hda1 to /, /dev/hda2 to /home ...).

It's okay if you use one partition. Just use whatever method works for you.

Quote:
Originally posted by Megaman X
apt-get update

then

apt-get upgrade
It's better to do an "apt-get dist-upgrade" to upgrade the whole system.

Last edited by comp12345; 05-16-2004 at 04:02 PM.
 
Old 05-16-2004, 11:47 PM   #11
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by comp12345
I think RedHat automatically partitions the hard drive to setup different partitons for /boot, /home, /var, /, etc. With the Debian installer, you have to set this up yourself. During the install, there is an option to partition the hard disk. That is where you create the number of partitions you need (i.e. 4 if you are creating /, /home, /var, and swap). Then the next thing you do is to format and mount the partitions to the corresponding mount points (i.e. /dev/hda1 to /, /dev/hda2 to /home ...).



Are you meaning that I just need to create the partition like this
hda1 Primary 5Gb
hda2 Primary Sway 512MB
hda5 Logical
hda6 Logical
hda7 Logical
hda8 Logical

and i need to mount the hda5-8 to /var , /home after the installation?

but how to mount?


Thanks
 
Old 05-17-2004, 01:49 AM   #12
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
Quote:
Originally posted by tszhim
Are you meaning that I just need to create the partition like this
hda1 Primary 5Gb
hda2 Primary Sway 512MB
extended (this will have your logicals in it.)
hda5 Logical
hda6 Logical
hda7 Logical
hda8 Logical

and i need to mount the hda5-8 to /var , /home after the installation?

but how to mount?


Thanks
if your doing this during the install it should be asking you where you want to mount these. the installer will do it for you.

if not, then-
mount /dev/hda5 /mnt/var
mount /dev/hda6 /mnt/usr
mount /dev/hda7 /mnt/home
 
  


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
Setting up a Linix Server as a proxy server Bill Fox Linux - Software 2 01-31-2005 10:38 PM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 06:32 AM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 05:45 AM
Setting up a DHCP server w/ the server on a wireless network Ionexchange Linux - Wireless Networking 0 05-08-2004 11:56 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration