-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21-Jun-2002/09:05 -0400, Joshua James <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

iD8DBQE9EzMbpCpg3WyUI50RAorJAJ9/IB0p8zpRvpKx5XzSdU8k3M/Q6ACfSbQd
skVLdUzxCGhKv2NO08a9ToA=
=Ufyz
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to