>  --- "Taylor, ForrestX" <[EMAIL PROTECTED]>
> escribió: > > It's a working server and the users
> conections
> > made
> > > the /tmp grows a huge.
> > > 
> > > Im booting in character base mode.  may I
> > uninstall or
> > > delete the files of graphical mode   or  maybe
> > some
> > > other file that i don't need anymore.
> > > 
> > > give me some ideas. every morning I have to :
> > > ~ cd /tmp
> > > ~ rm -f *
> > > ..
> > > ~ cd /var/log
> > > ~ for i in *
> > > > do
> > > > cat /dev/null > $i
> > > > done
> > 
> > You could setup a cron job to do that.
> > 
> > You can get rid of the XFree86/KDE/GNOME packages,
> > but it may take a while.
> > What do your partition look like (the output of `df
> > -h`)?  If /usr/ is on a
> > separate partition, you may find that removing X
> > won't help / very much.
> > 
> > Forrest
> > 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1              98M   81M   12M  87% /
> /dev/md0              8.4G  2.3G  5.7G  28% /datprg
> /dev/sda7             234M  190M   31M  86% /home
> /dev/sda5             1.2G  599M  616M  50% /usr
> tienda:/home          2.5G 1002M  1.4G  41% /tienda
> 
> How do I make symbolics links of /tmp and /var/log
> to directories on /usr filesystem??
> 
> --Thanks in advance Taylor.

I would start in single user mode, just to be sure that no services were
running.

I would consider moving it to /datprg if at all possible, because you have
so much room there.  You also need to decide if you want to move the entire
/var partition, or just /var/log.  If you decide to move /var, you probably
won't need to move /tmp.
If you want to move it to the /usr/ partition, do this:

# cd /
# mv /var /usr  (or /var/log /usr/log)
# ln -s /usr/var /var (or /usr/log /var/log)

# mv /tmp /usr
# ln -s /usr/tmp /tmp

Forrest



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

Reply via email to