Linux Server Administration
From WorkCDN
This is just a collection of notes for Clint as he administrates his server. It's hard to remember this things sometimes, so here is a cheat sheet so that I don't have to keep Googling "apache graceful" to figure out how to restart the web server.
Contents |
Apache
Restart the server
apache2ctl graceful
Add a site
vi /etc/apache2/sites-available/default
SVN
Add a repository
su svnadmin create /var/lib/svn/RepoName chown -R www-data:www-data /var/lib/svn/RepoName exit
Set svn:externals from the command line
From this page...
svn propset svn:externals 'akismet http://plugins.svn.wordpress.org/akismet/trunk' . property 'svn:externals' set on '.'
To set multiple directory/url pairs in a single svn:externals property, you should put the individual dir/url pairs into a file (let's call it 'svn.externals'), like so
akismet http://svn.wp-plugins.org/akismet/trunk all-in-one-seo-pack http://svn.wp-plugins.org/all-in-one-seo-pack/trunk
and then apply the property using
svn propset svn:externals -F svn.externals .
You should also just check in 'svn.externals' to easily keep track of it.
