commit 61dd84919b8642f15132949e615852bd5ff7b9f2 Author: Timothy Warren Date: Mon Jan 9 11:29:29 2012 -0500 First commit 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