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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ttt:make_a_ccc_server [2017/10/19 23:20]
Andrei Maberley [Hosts and Hostname]
ttt:make_a_ccc_server [2019/01/24 07:24] (current)
Andrei Maberley ↷ Links adapted because of a move operation
Line 41: Line 41:
  =====Operating System====  =====Operating System====
  
-This guide assumes you have a fresh install of Xubuntu 14.04 on your laptop.  Check out [[hp8100:workshop_02|Workshop 02]] for a refresher on how to install the operating system. If you need an installer, check out [[ttt:preparation_02|how to make one]].+This guide assumes you have a fresh install of Xubuntu 14.04 on your laptop.  Check out [[mbrc_hp8x00:workshop_02|Workshop 02]] for a refresher on how to install the operating system. If you need an installer, check out [[ttt:preparation_02|how to make one]].
  
- 
-==== Change Repository ==== 
- 
-To make sure we can still access a repository for this machine, even when the LAN is setup later on we need you change the source of our repository.  You can do this using the //Software and Updates// in system Settings. 
- 
-{{ :ttt:menu_004.png?direct&800 |}} 
- 
-Change the download server to //main//. 
- 
-{{ :ttt:software_updates_002.png?direct&800 |}} 
 =====The CCC Wiki===== =====The CCC Wiki=====
  
 After testing most of the available options, we decided to use [[https://www.dokuwiki.org/dokuwiki#|Dokuwiki]].  Dokuwiki is simple to edit, maintain and back-up.  It doesn't require a database for installation and can be edited from any modern web browser. Most importantly, dokuwiki can be distributed freely and easily. After testing most of the available options, we decided to use [[https://www.dokuwiki.org/dokuwiki#|Dokuwiki]].  Dokuwiki is simple to edit, maintain and back-up.  It doesn't require a database for installation and can be edited from any modern web browser. Most importantly, dokuwiki can be distributed freely and easily.
- 
- 
  
 ===== Apache Set-up===== ===== Apache Set-up=====
Line 246: Line 234:
 </code> </code>
  
-This is what ours looks like+This is what ours looks like for using the Australian repository.
  
 <code> <code>
Line 317: Line 305:
 Next edit your hosts file. Next edit your hosts file.
  
-  sudo nano/ect/hosts+  sudo nano /etc/hosts
  
 and where you see your old computer name, change it to your new name.  For example mine was: and where you see your old computer name, change it to your new name.  For example mine was:
Line 326: Line 314:
  
   127.0.1.1 cccserver   127.0.1.1 cccserver
 +
 +
 +Time for a reboot to check these settings stick.  Once you've rebooted, try a ''sudo'' command to see if the hostname and /etc/hosts are working.   
  
  ==== Network Management ====  ==== Network Management ====
Line 395: Line 386:
  
 Where mac:xx:xx:xx:xx:xx:xx is the mac you've discovered earlier. Where mac:xx:xx:xx:xx:xx:xx is the mac you've discovered earlier.
 +
 ===== DHCP and DNS Server  ===== ===== DHCP and DNS Server  =====
  
Line 488: Line 480:
    
   address=/*archive.ubuntu.com/10.42.0.1   address=/*archive.ubuntu.com/10.42.0.1
-  address=/security.ubuntu.com/10.42.0.1+  
      
 </code> </code>
Line 503: Line 495:
   sudo service dnsmasq restart   sudo service dnsmasq restart
      
-  
- 
  <WRAP center round important 60%>  <WRAP center round important 60%>
 The ethernet port on the laptop is dedicated to serving this mirror, and can not be used for usual internet access. Use the wifi for this instead. The ethernet port on the laptop is dedicated to serving this mirror, and can not be used for usual internet access. Use the wifi for this instead.
 </WRAP> </WRAP>
  
 +==== Change Repository ====
 +
 +To make sure we can still access a repository for this machine we will change the sources for our packages to the main repository.  You can do this using the //Software and Updates// in system Settings.
 +
 +{{ :ttt:menu_004.png?direct&800 |}}
 +
 +Change the download server to //main//.
 +
 +{{ :ttt:software_updates_002.png?direct&800 |}}
 ===== Maintenance ===== ===== Maintenance =====
  
  • ttt/make_a_ccc_server.1508455233
  • by Andrei Maberley