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

Software to install

See also The Ubuntu Page

  1. exiv2
  2. lizardfs-client
  3. firefox
  4. make
  5. python2 and 3, including python3-tables
  6. tex (install texlive-full)
  7. vlc
  8. xsltproc
  9. zoom
  10. dateutil (python3 -m pip install python-dateutil)

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 all since
23 Apr 2024
My PhotoMy PhotoTrain Photo

Local servers: Localhost Newport Burnley Geelong Jeparit Reuilly Spencer (accessible only on local network.)
Public Web Servers: ajhurst.org ajh.co ajh.id.au (not all may be active.)
Dynamically generated at 20240423:1843 from an XML file modified on 20210409:0608, by index.py version 1.6.5.


20240423:1843: MESSAGES GENERATED BY: /home/ajh/www/computing/ubuntu/install.xml

20240423:1843: b'warning: failed to load external entity "file:///home/ajh/local/ajhurst.org/counters/computing-ubuntu-dualboot"'
20240423:1843: b'warning: failed to load external entity "file:///home/ajh/local/ajhurst.org/counters/computing-ubuntu-dualboot"'

Please forward these details to John Hurst