First commit

This commit is contained in:
Timothy Warren 2012-01-09 11:29:29 -05:00
commit 61dd84919b

31
GENERAL.md Normal file
View File

@ -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