cubuntu
Differences
This shows you the differences between two versions of the page.
cubuntu [2018/12/06 20:22] – created abeverley | cubuntu [2018/12/06 20:28] (current) – abeverley | ||
---|---|---|---|
Line 19: | Line 19: | ||
==== Set up export images ==== | ==== Set up export images ==== | ||
- | < | + | * mkdir -p / |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | /srv/ubuntu 10.0.0.1/ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
+ | |||
+ | * cp / | ||
+ | * mkdir / | ||
+ | * Create the file / | ||
< | < | ||
Line 40: | Line 36: | ||
APPEND noapic initrd=initrd.lz lang=uk nfsroot=10.0.0.1:/ | APPEND noapic initrd=initrd.lz lang=uk nfsroot=10.0.0.1:/ | ||
</ | </ | ||
- | < | + | |
* Copy initrd.lz and vmlinuz from casper directory on Ubuntu CD into /srv/tftp/ | * Copy initrd.lz and vmlinuz from casper directory on Ubuntu CD into /srv/tftp/ | ||
Line 50: | Line 46: | ||
If you want to close all the ports on your server, but open up the required ones for NFS, then you will need to fix the port numbers that NFS uses. To do this, do the following: | If you want to close all the ports on your server, but open up the required ones for NFS, then you will need to fix the port numbers that NFS uses. To do this, do the following: | ||
- | < | + | * Edit / |
- | < | + | |
< | < | ||
STATDOPTS=" | STATDOPTS=" | ||
</ | </ | ||
- | < | + | |
- | < | + | |
< | < | ||
RPCMOUNTDOPTS=" | RPCMOUNTDOPTS=" | ||
</ | </ | ||
- | < | + | |
- | < | + | |
< | < | ||
RPCRQUOTADOPTS=" | RPCRQUOTADOPTS=" | ||
</ | </ | ||
- | < | + | |
- | < | + | |
< | < | ||
options lockd nlm_udpport=32768 nlm_tcpport=32768 | options lockd nlm_udpport=32768 nlm_tcpport=32768 | ||
</ | </ | ||
- | < | ||
- | < | ||
- | < | + | * Update |
< | < | ||
Line 92: | Line 89: | ||
rpc.quotad | rpc.quotad | ||
</ | </ | ||
- | < | + | |
==== Set up DHCP server ==== | ==== Set up DHCP server ==== | ||
This is fully detailed in the other section on the site about a [[Setting_up_a_captive_portal_from_scratch_using_Debian|Setting up a captive portal from scratch using Debian]], so it's best to check that for full details, but essentially you need the following lines in your / | This is fully detailed in the other section on the site about a [[Setting_up_a_captive_portal_from_scratch_using_Debian|Setting up a captive portal from scratch using Debian]], so it's best to check that for full details, but essentially you need the following lines in your / | ||
- | |||
- | < | ||
< | < | ||
Line 105: | Line 100: | ||
next-server 10.0.0.1; | next-server 10.0.0.1; | ||
</ | </ | ||
- | < | ||
===== Customising Ubuntu ===== | ===== Customising Ubuntu ===== | ||
Line 148: | Line 142: | ||
* / | * / | ||
- | |||
- | < | ||
< | < | ||
Line 172: | Line 164: | ||
end script | end script | ||
</ | </ | ||
- | < | ||
* Create the post gnome script / | * Create the post gnome script / | ||
- | |||
- | < | ||
< | < | ||
Line 193: | Line 182: | ||
fi | fi | ||
</ | </ | ||
- | < | ||
* Make it executable | * Make it executable | ||
Line 200: | Line 188: | ||
* Enable it by creating / | * Enable it by creating / | ||
- | |||
- | < | ||
< | < | ||
Line 216: | Line 202: | ||
X-GNOME-Autostart-Delay=5 | X-GNOME-Autostart-Delay=5 | ||
</ | </ | ||
- | < | ||
* Add firefox script (/ | * Add firefox script (/ | ||
- | |||
- | < | ||
< | < | ||
Line 241: | Line 224: | ||
done | done | ||
</ | </ | ||
- | < | ||
* Make it executable: | * Make it executable: | ||
Line 250: | Line 232: | ||
Create / | Create / | ||
- | |||
- | < | ||
< | < | ||
Line 265: | Line 245: | ||
Name[en_GB]=Firefox.sh | Name[en_GB]=Firefox.sh | ||
</ | </ | ||
- | < | ||
=== Other customisation === | === Other customisation === | ||
Line 306: | Line 285: | ||
* / | * / | ||
- | |||
- | < | ||
< | < | ||
Line 331: | Line 308: | ||
rm / | rm / | ||
</ | </ | ||
- | < | ||
* / | * / | ||
- | |||
- | < | ||
< | < | ||
Line 341: | Line 315: | ||
ln -s / | ln -s / | ||
</ | </ | ||
- | < | ||
* Script to set the time automatically. Create / | * Script to set the time automatically. Create / | ||
- | < | ||
< | < | ||
ntpdate -u pool.ntp.org | ntpdate -u pool.ntp.org | ||
</ | </ | ||
- | < | ||
* / | * / | ||
- | |||
- | < | ||
< | < | ||
Line 360: | Line 329: | ||
echo " | echo " | ||
</ | </ | ||
- | < | ||
* Make them executable | * Make them executable | ||
Line 369: | Line 337: | ||
* / | * / | ||
- | |||
- | < | ||
< | < | ||
Line 387: | Line 353: | ||
killall gnome-panel | killall gnome-panel | ||
</ | </ | ||
- | < | ||
Make the 2 scripts above executable (chmod +x copy) | Make the 2 scripts above executable (chmod +x copy) | ||
The above example copy in the settings from / | The above example copy in the settings from / | ||
- | |||
- | < | ||
< | < | ||
Line 400: | Line 363: | ||
tar -zxvf home.tar.gz | tar -zxvf home.tar.gz | ||
</ | </ | ||
- | < | ||
==== Adding a printer ==== | ==== Adding a printer ==== | ||
Line 409: | Line 371: | ||
* / | * / | ||
* Create a script in / | * Create a script in / | ||
- | |||
- | < | ||
< | < | ||
Line 418: | Line 378: | ||
/ | / | ||
</ | </ | ||
- | < | ||
* Make the script executable: | * Make the script executable: |
cubuntu.1544127732.txt.gz · Last modified: 2018/12/06 20:22 by abeverley