Public Linux Computer Setup
This provides guidelines on setting up the public access internet computers in the hall
- Minimum 64bit processor, 20G hard disk and 1.5GB Memory
- 19" monitor, if available, otherwise 17"
- Speakers including power supply
- Check the bios currency, it may be worthwhile to upgrade at this point
- Set to default (safe) settings
- Check that bios does not refer to PXE ROM
- Turn off Wake on LAN, may need to reset Intel ME to do so
- Set boot order to CD Rom, then Hard Disk
Operating System and Applications
- In Bios
- Set to optimum (high performance)
- Check system clock is set to UTC correctly
- Default install of Ubuntu Desktop 64 bit - current long term release (18.04 LTS is Bionic). If installation is slow use the Alternate Install Disk. Hint: Press 'Esc' when the Ubuntu-Keyboard icon is seen to select install directly from boot. Hint:Use latest LTS minor release to reduce amount of updates (e.g. 18.04.1). Hint: Takes about 16 minutes on a Passmark 1110 machine.
- Install using English language
- Region is Australia: Time Zone:Australia (Adelaide)
- Keyboard layout: USA
- Erase and install using Entire disk
- Use ubuntu LVM
- Create a user name "bpuc", as default logon but using admin password, set to Log in automatically. Give a unique name to the computer.
- In Bios:
- Revert boot order to Hard Disk only after install
- Make sure system is set to auto-login without password (System Settings->System->User Accounts) to auto login as bpuc without allowing an alternative) (where is this in 18.04?)
- So as not to lock out a user on an idle machine after the screen saver kicks in, go to System Settings->Privacy->Screen Lock and then turn off "Automatic Screen lock"
- Use restricted drivers if hardware requires it (e.g. video card) (System Settings->System->Software & Updates>Additional Drivers)
- Make sure sound is not muted (in system bar, top right)
- Set package source to use local ISP mirror if available. (System Settings->System->Software * Updates->Software Sources) (Don't forget to unselect the Ubuntu software repositories on the first panel of Software Sources if using the "Other Software" tab for Ubuntu software). For Internode just select it as the mirror on the first panel.
- Set package source options to automatically install security updates without confirmation
- Under other package source options add the partner repository
- Update Checker
- Install Updates
- Ubuntu Software Centre
- Add all Educational desktop for Ubuntu (edubuntu-desktop) which installs ubuntu-edu-* meta-packages (preschool, primary, secondary, tertiary)
- If not already present add Tux Paint (tuxpaint)
- If not already present add LibreOffice Calc, Impress and Writer.
- Test Adobe Flash Player (test page at http://www.adobe.com/software/flash/about/. Use package manager to add Adobe Flash plugin (flashplugin-installer) if required for Flash
- Shockwave is not easily supported under Ubuntu
- System Profiler and Benchmark (hardinfo) - to display system information
- Scratch is available as long as backports is selected as a software source (scratch)
For Silverlight support install Pipelight. Example web page [ http://www.ntt-east.co.jp/fukushima/mado/detail/jr_aizu.html Aizu-Wakamatsu railway station webcam] and is a better alternative to gstreamer0.10-plugins-bad, gstreamer0.10-plugins-ugly and gstreamer0.10-ffmpeg.
- Use the package manager to add rcs for revision control of system configuration files
- Add exfat support by sudo apt-get install exfat-fuse exfat-utils
- Install and then reboot the machine.
- Need to check this, maybe in edubuntu-desktop
Install OpenJDK Java 7 Runtime (openjdk-7-jre)
As a check on older builds, after installation, set to default java; sudo update-alternatives --config java (If there is more than one version of Java installed, otherwise you will see There is only one alternative in link group java: /usr/lib/jvm/java-7-sun/jre/bin/java</br>Nothing to configure.
- Other Manual Software Install
- Chrome by Google: Install via http://www.google.com/chrome
- Uninstall any bit-torrent clients, e.g. Transmission (transmission-gtk)
- Set Firefox home page to http://www.abc.net.au/children/
- Add the network printer (check 12.04)
- The printer will be found as a network printer, use the first (non-PCL) option.
- Set the printer configuration -> printout options to "normal-grayscale" not "normal" which is colour. (Colour is not available without authentication)
- Drag the following applications onto the system bar if not already there
- Check video card resolution (system Settings->Devices->Screen Displays) is set to something suitable (1280x1024 for 5:4 monitor and 70Hz or greater if possible) for the monitor used.
- Check and adjust the volume of sound.
- Copy in the home directory from the old computer it replaces (e.g. cd $HOME ; tar --create --file savehome.tar --exclude examples.desktop ./*)
- Record the computer in List of old computers.
Restrict logons on Sunday
In January 2013 and September 2014, to prevent use of the machine from 1100-1145 Sunday by either autologin or the guest account take the following steps
- Add the following line immediately after the @include common-acount line to /etc/pam.d/lightdm-autologin
account requisite pam_time.so
- Add the following line to /etc/security/time.conf
- Check your work
fgrep 'account' /etc/pam.d/lightdm-autologin
fgrep 'lightdm-autologin;*;bpuc|guest*;!Su1100-1140' /etc/security/time.conf
If the system logs in despite these changes or something else unexpected happens, look for clues in /var/log/auth.log
To restore normal operation comment out the new line in /etc/security/time.conf and shutdown the computer.
Monitor resolution not recognised
The monitors are old, the computers are old and sometimes the resolution will not be advertised correctly by the monitor or recognised by the video display adaptor. To fix this system wide and allowing for the autologin, the preferred method is to create a custom xorg.conf
- Create an initial x.org conf in /etc/X11/xorg.conf as
Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection
- Using cvt to generate the mode line, e.g for 1280x1024 at 60Hz
$cvt 1280 1024 60 # 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
- Add a mode line in the monitor section
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1027 1034 1063 -HSync +Vsync Option "PreferredMode" "1280x1024_60.00"
- Restart the system