From 61dd84919b8642f15132949e615852bd5ff7b9f2 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 9 Jan 2012 11:29:29 -0500 Subject: [PATCH] First commit --- GENERAL.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 GENERAL.md diff --git a/GENERAL.md b/GENERAL.md new file mode 100644 index 0000000..33cc3e4 --- /dev/null +++ b/GENERAL.md @@ -0,0 +1,31 @@ +#General Gentoo maintainance + +## Checking for updates +Sync with Gentoo's servers, and then see what updates there are: + +`emerge --sync && emerge -pv --update world` + +To install available updates: + +`emerge --update world` + +## Starting / Restarting Services + +Gentoo services have init files in the `/etc/init.d/` directory. + +To start a service: +`/etc/init.d/[service] start` + +To restart a service: +`/etc/init.d/[service] restart` + +To stop a service: +`/etc/init.d/[service] stop` + +Common services + +`mysqld` - mysql + +`php-fpm` - php with fpm + +`lighttpd` - lighttpd web server \ No newline at end of file