projects
/
website_subgeniuskitty.com
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed minor formatting error in mail/web/git server notes.
[website_subgeniuskitty.com]
/
data
/
notes
/
mail_web_git_server.md
diff --git
a/data/notes/mail_web_git_server.md
b/data/notes/mail_web_git_server.md
index
a9d0d89
..
95dce33
100644
(file)
--- a/
data/notes/mail_web_git_server.md
+++ b/
data/notes/mail_web_git_server.md
@@
-17,7
+17,7
@@
Linux, offering the following services:
- Apache as central HTTP server with multiple vhosts.
- Apache as central HTTP server with multiple vhosts.
- - [CMless](
git://git.subgeniuskitty.com/cmless
) as CGI for content management
+ - [CMless](
http://git.subgeniuskitty.com/cmless/.git
) as CGI for content management
- ACME for automated SSL certificate management
- ACME for automated SSL certificate management
@@
-27,7
+27,7
@@
Linux, offering the following services:
- Anonymous read-only access to a subset of git repositories via:
- Anonymous read-only access to a subset of git repositories via:
- - Customized [gitweb](
git://git.subgeniuskitty.com/gitweb-sgk
) for
+ - Customized [gitweb](
http://git.subgeniuskitty.com/gitweb-sgk/.git
) for
GUI git browsing with syntax highlighting, diffs, etc
- Git-daemon for cloning repositories via the `git://` protocol
GUI git browsing with syntax highlighting, diffs, etc
- Git-daemon for cloning repositories via the `git://` protocol
@@
-41,9
+41,6
@@
etc in the examples.
# TODO List #
# TODO List #
- - Set hostname to `sgk-main-2020` and ensure Apache recognizes it as the
- ServerName (see: `systemctl status apache2`).
-
- Setup SSL with automatic certificate renewal.
- Find a reliable way to alert me when renewal fails.
- Setup SSL with automatic certificate renewal.
- Find a reliable way to alert me when renewal fails.
@@
-55,10
+52,7
@@
etc in the examples.
- Take a snapshot on Linode's backup service once the basic services are
operational.
- Take a snapshot on Linode's backup service once the basic services are
operational.
- - Delete old mail/web/git vservers after downloading a disk image.
-
- - Setup log rotation, or at least make sure everything ties into whatever is
- pre-configured on Debian for log rotation.
+ - Migrate mail server. Delete old linode vserver after downloading a disk image.
- Finish this documentation.
- Finish this documentation.
@@
-116,6
+110,9
@@
Install Apache2.
apt-get install apache2
apt-get install apache2
+If not already defined elsewhere, add a `ServerName 127.0.0.1` entry to the
+bottom of `/etc/apache2/apache2.conf`, or whatever is appropriate.
+
Since we use `/srv` instead of `/var/www`, edit `/etc/apache2/apache2.conf` to
comment out the `<Directory ...>` entry for `/var/www` and replace it with
this:
Since we use `/srv` instead of `/var/www`, edit `/etc/apache2/apache2.conf` to
comment out the `<Directory ...>` entry for `/var/www` and replace it with
this:
@@
-233,12
+230,12
@@
Create `/etc/apache2/sites-available/subgeniuskitty.com.conf`.
Enable the site with `a2ensite subgeniuskitty.com`.
Enable the site with `a2ensite subgeniuskitty.com`.
-Clone a copy of [CMless](
git://git.subgeniuskitty.com/cmless
) into
+Clone a copy of [CMless](
http://git.subgeniuskitty.com/cmless/.git
) into
`/srv/apache_vhosts/subgeniuskitty.com` and ensure everything is owned by
`www-data:www-data`.
Clone a copy of [the website
`/srv/apache_vhosts/subgeniuskitty.com` and ensure everything is owned by
`www-data:www-data`.
Clone a copy of [the website
-data](
git://git.subgeniuskitty.com/website_subgeniuskitty.com
) into
+data](
http://git.subgeniuskitty.com/website_subgeniuskitty.com/.git
) into
`/srv/apache_vhosts/subgeniuskitty.com/site`. Verify it is owned by
`ataylor:ataylor` (but still readable by all) so we can update the site
remotely with a simple script like this:
`/srv/apache_vhosts/subgeniuskitty.com/site`. Verify it is owned by
`ataylor:ataylor` (but still readable by all) so we can update the site
remotely with a simple script like this:
@@
-385,7
+382,7
@@
Create `/etc/apache2/sites-available/git.subgeniuskitty.com.conf`.
Enable the site with `a2ensite git.subgeniuskitty.com`.
Enable the site with `a2ensite git.subgeniuskitty.com`.
-Clone a copy of [the SGK gitweb fork](
git://git.subgeniuskitty.com/gitweb-sgk
)
+Clone a copy of [the SGK gitweb fork](
http://git.subgeniuskitty.com/gitweb-sgk/.git
)
into `/srv/apache_vhosts/git.subgeniuskitty.com` and ensure everything is owned
by `ataylor:ataylor` (but world-readable!) so we can update via SSH with a script like this.
into `/srv/apache_vhosts/git.subgeniuskitty.com` and ensure everything is owned
by `ataylor:ataylor` (but world-readable!) so we can update via SSH with a script like this.