[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re:Apache Chunked Vulnerability and Cobalt servers
- Subject: Re: [cobalt-users] Re:Apache Chunked Vulnerability and Cobalt servers
- From: "Steve Bassi" <steve@xxxxxxxxx>
- Date: Fri Jun 21 18:47:18 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> >
> > I have put notes up for upgrading on a RAQ 3 and confirm that the GUI
works
> > fine .. and does not break.
> >
> > http://camelbackup.com/
>
> It looks good, but filled my / partition and then my server crashed
>
Sorry about that , I had moved /usr/local to /home/local on my RAQ.
The script has been amended now, so that it gets installed from /tmp , which
should stop that problem.
If you would like to move /usr/local to /home/local, here is a little script
I wrote, that frees up that root partition.
#!/bin/sh
echo "changing directory to /home "
cd /home
pwd
echo "If you have any errors above please STOP NOW"
echo
echo "Continue (y/n)"
read yn
case $yn in
"y") echo OK;;
"yes") echo OK;;
*) echo Install Canceled; exit 0;;
esac
mkdir local
ls -al
echo "can you see a directory called local"
echo "If you have any errors above please STOP NOW"
echo
echo "Continue (y/n)"
read yn
case $yn in
"y") echo OK;;
"yes") echo OK;;
*) echo Install Canceled; exit 0;;
esac
cd /usr
pwd
echo "we are now in /usr"
echo "If you have any errors above please STOP NOW"
echo
echo "Continue (y/n)"
read yn
case $yn in
"y") echo OK;;
"yes") echo OK;;
*) echo Install Canceled; exit 0;;
esac
echo "now zipping up the files and moving them"
tar cf - local | (cd /home && tar xvf -)
mv local local.old; ln -s /home/local local; ls -ald local #moved it
echo "making a link from usr/local to home/local"
ls -ald local*
ls -al
echo "If you have any errors above please STOP NOW"
echo
echo "Continue (y/n)"
read yn
case $yn in
"y") echo OK;;
"yes") echo OK;;
*) echo Install Canceled; exit 0;;
esac
echo "if you had any errors at all STOP NOW as we are about to remove some
files"
echo "If you have any errors above please STOP NOW"
echo
echo "Continue (y/n)"
read yn
case $yn in
"y") echo OK;;
"yes") echo OK;;
*) echo Install Canceled; exit 0;;
esac
rm -fr local.old;sync;df
echo "all done"