[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: new linux server, re-partitioning
- From: achana saysit com
- To: redhat-list redhat com
- Subject: Re: new linux server, re-partitioning
- Date: Fri Jun 21 10:30:46 2002
"Anthony E. Greene" wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 21-Jun-2002/09:05 -0400, Joshua James <joshua james steritech com> wrote:
> >We just received a new RedHat v7.2 server from Dell. This is an
> >experiment to see how linux works compared to our current installation
> >of NT servers. This will be an intranet server behind our firewall.
> >
> >Our 40gb drive came partitioned as follows:
> >
> >/dev/hda1 ext3 990mb /home
> >/dev/hda6 ext3 494mb /
> >/dev/hda2 ext3 22.8mb /boot
> >/dev/hda8 ext3 60.7mb /tmp
> >/dev/hda3 ext3 21.8gb /usr
> >/dev/hda5 ext3 13.1gb /var
> >
> >I installed apache (2.x.39) to the default location and I'm trying to
> >install ColdFusion MX. It wants to install to /opt which is in / and
> >there isn't near enough room, its already 60% full.
> >
> >I heard you shouldn't move /etc because there is something in there
> >necessary for finding other mount points.
> >
> >I assume my website is going to /etc/httpd and since my other software
> >is going to /opt I need more room, what is the usual place for databases
> >to go?
> >
> >How can I make my / partition bigger? Do I really need 21.8gb for /usr?
>
> You can make /opt a symlink to /usr/local/opt. That will solve the
> immediate problem, and prevent something similar from happening later.
>
> mkdir /usr/local/opt
> ln -s /usr/local/opt /opt
>
> As you get familiar with Linux, you will get your own ideas about how your
> partitions should be laid out. I would have wiped that machine and setup
> my own partitions, but then I've been doing this for years.
>
> Here are some things you might consider for your next Linux box:
>
> - Put /usr/local on it's own partition. Software that you compile locally
> (install from tarballs) often puts everything it needs under
> /usr/local. I also tend to put the scripts and such that I create to
> help run the machine in /usr/local/[bin|sbin]. With all of this on a
> separate partition, I can install the latest version of my distro, tell
> the installer to leave /home and /usr/local alone, and most of my
> customizations remain in place. I just have to worry about the config
> stuff in /etc.
>
> - Put Apache's DocumentRoot in /home/httpd. This stuff will not change if
> Apache is upgraded, and needs to be preserved between OS upgrades. Red
> Hat used to do this, but apparently it's not LSB compliant. Fine, but I
> like to simplify my sysadmin tasks, so I put DocumentRoot on a
> partition that I kow will be preserved between upgrades and/or
> reinstalls.
>
> - Make /opt a symlink to /usr/local/opt.
>
> - Adjust partition sizes for /home and /usr to reflect use as either a
> file server (big /home) or a database or email server (big /var).
>
> I tend to restrict /usr to >4GB because I don't generally install that
> much software on a server. I allow more space for data files (/home,
> /var).
>
> In any case, welcome to Linux.
>
> Tony
> - --
> Anthony E. Greene <mailto:agreene pobox com>
> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
> AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/>
> Linux: the choice of a GNU Generation. <http://www.linux.org/>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Anthony E. Greene 0x6C94239D <agreene pobox com>
>
> iD8DBQE9EzMbpCpg3WyUI50RAorJAJ9/IB0p8zpRvpKx5XzSdU8k3M/Q6ACfSbQd
> skVLdUzxCGhKv2NO08a9ToA=
> =Ufyz
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list
Anthony has a good point : wipe it and start from scratch.
It's probably "bloat-ware", most of which you don't need !
Just pop the CD in and it will walk you thru it.
begin:vcard
n:Chan;Arthur
tel;work:1.718.633.5892
x-mozilla-html:TRUE
url:www.saysit.com
org:SAYS I.T.
adr:;;234 E 2nd Street;Brooklyn;New York;11218-2314;USA
version:2.1
email;internet:achana saysit com
title:Senior Partner
note;quoted-printable:This message and all attachments are confidential.=0D=0AThey are meant solely for the addressee.=0D=0AAny authorised use or dessemination is prohibited.=0D=0AEmails are liable to unauthorised alterations.=0D=0ANeither SAYS I.T. nor any of its partners or subsidiaries or affiliates=0D=0Ashall be responsible for the message if altered, changed or falsified.
x-mozilla-cpt:;25408
fn:Arthur Chan
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]