Dual Boot Ubuntu with Windows

Changes to Windows

(to be completed)

Bringing Ubuntu Up To Speed

Steps

  1. add new computer name (everton) to all /etc/hosts files that may need to talk to the new machine
  2. run mkremlog.sh ajh@everton on all remote machines
  3. update and copy over .bash_profile, .bashrc
  4. update colour entries in ~/Computers/Sources/Setup/colours.xlp

Tasks

Hostname

Depending how you got to this stage, the hostname might need fixing. To do this, simply edit (as superuser) the file /etc/hostname to the correct value.

          # vi /etc/hostname
        

Files

load basic files from backup. These should include:

          ~/.bash_profile
          ~/.bashrc
          ~/bin/*
          ~/lib/emacs
          ~/.emacs
        

SSH

install sshd

Emacs

Install my preferred editor Emacs

          # apt-get install emacs
        

Apache

Install the web server Apache

          # apt-get install apache
        

Enable the actions, cgid and userdir modifications.

          # a2enmod actions cgid userdir
        

In the file userdir.conf, change the <Directory /home/*/public_html> line containing AllowOverride to be just AllowOverride All

You also need to add index.xml into the DirectoryIndex list in the same file.

install the XSLTPROC package

# apt-get install xsltproc

Assuming all the relevant files have been copied across from backup, you should now be able to access the web server from a browser.

Gotchas

  1. Apache2 does not enable user directories automatically. To do this, you need to install the userdir mod (above).
  2. Because I also run a cgi script driven by special instructions in the .htaccess file to perform the XML to HTML translation, I also must install the actions and cgid modifications. The latter, in particular, gives very cryptic error messages - simply saying that it cannot find the requested file.
This page is copyright, and maintained by John Hurst. 0 accesses since
27 Jan 2021
My PhotoMy PhotoTrain Photo

Local servers: Localhost Newport Burnley Everton Kerang Ouyen Spencer Terang (accessible only on local network.)
Public Web Servers: HurstServer HomeServer1 HomeServer2 InternodeServer (not all may be active.)
Dynamically generated at 20210127:143504 from an XML file modified on 20190223:1536.

4 accesses since 27 Jan 2021, HTML cache rendered at 20210307:0350