[wellylug] CentOS maintainance

David Harrison david.harrison at stress-free.co.nz
Thu Jun 24 19:05:46 NZST 2010


The default ext3 filesystem on Centos/Red Hat is generally pretty robust.
If fsck didn't run when you powered the server up, you may want to run a
full disk scan just to make sure everything is okay.

'shutdown -rF' will reboot the server and run fsck on all disks.

If you are running a database on your server you may want to check them out.

For MySQL, 'mysqlcheck -Aor' will repair and optimise all your local
databases.


On Thu, Jun 24, 2010 at 6:14 PM, John Durham <john.modec at xtra.co.nz> wrote:

> This afternoon, my web server was down due to an electrical failure
> (external to the system). It seems to have restarted once power was
> restored.
>
> To be confident of full return to service and long life, would anyone like
> to suggest the best way to maintain the server files, correct errors etc?
> There has to be a simple command for it.
> --
> Regards, John Durham
> Fax/Phone 64 4 5286786
> PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
> Good advice is like good paint- it only works if applied.
>
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20100624/b88d071b/attachment.htm>


More information about the wellylug mailing list