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:06]
Andrei Maberley [Network Management]
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 311: Line 299:
    edgeadmin-HP-elitebook-8420p     edgeadmin-HP-elitebook-8420p 
  
-We will use the <code>hostnamectl</code> command to set the new name to ''cccserver'' +We will use edit our hostname file to change it too ''cccserver''
- +
-  hostnamectl set-hostname cccserver+
  
 +  sudo nano /etc/hostname
 +  
 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 334: Line 325:
  
  
-The other part is the command line <code>ifconfig</code> tool, Lets deal with this first.+The other part is the command line ''ifconfig'' tool, Lets deal with this first.
  
 -------- --------
Line 369: Line 360:
 You'll need to enter your own ethernet port hardware address (MAC address), which you can find using ''ifconfig'' again. It appears as ''HWaddr: '' You'll need to enter your own ethernet port hardware address (MAC address), which you can find using ''ifconfig'' again. It appears as ''HWaddr: ''
  
-{{ :hp8100:terminal_-_ccc_ccc-dysart_004.png?nolink&300 |hardware address}}+{{ :hp8100:terminal_-_ccc_ccc-dysart_004.png?nolink&600 |hardware address}}
  
 Now edit NetworkManager.conf Now edit NetworkManager.conf
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.1508454392
  • by Andrei Maberley