User Tools

Site Tools


building_a_wiki_machine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
building_a_wiki_machine [2023/04/18 21:07] – created stevebuilding_a_wiki_machine [2024/05/19 21:13] (current) steve
Line 13: Line 13:
 cd /etc/ cd /etc/
  
-sudo etckeeper commit "Install, update, Guest Additions installed"+sudo etckeeper commit "Fresh build."
  
 sudo apt install -y screen mc catdvi gv imagemagick libaspell-dev openssh-server links \ sudo apt install -y screen mc catdvi gv imagemagick libaspell-dev openssh-server links \
-                    w3m lynx arj iselect ncurses-term vim chromium-browser wamerican* +                    w3m lynx arj iselect ncurses-term vim chromium-browser wamerican* \ 
- +                    vlc gnuplot remind 
-sudo apt install wamerican* +
- +
-sudo apt install openssh-server +
  
 # Nice, usable system at this point, let's build a wiki to keep track of notes and stuff. # Nice, usable system at this point, let's build a wiki to keep track of notes and stuff.
Line 32: Line 28:
 sudo tar xvf /tmp/dokuwiki.tgz --strip-components=1 -C /var/www/html sudo tar xvf /tmp/dokuwiki.tgz --strip-components=1 -C /var/www/html
  
-sudo chown -R www-data/var/www/html+sudo chown -R www-data/var/www/html
  
 +# The stuff below is called a 'heredoc' and is a nice way to build a config
 +# file. In this case, the delimiter EOF is wrapped in quotes to prevent 
 +# variable substitution in the lines below, the - removes the leading tab.
 cat <<-"EOF" | sudo tee /etc/nginx/sites-enabled/dokuwiki.conf cat <<-"EOF" | sudo tee /etc/nginx/sites-enabled/dokuwiki.conf
     server {     server {
building_a_wiki_machine.1681852059.txt.gz · Last modified: by steve