This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ttt:make_a_ccc_server [2017/10/19 22:54] Andrei Maberley [Make an index.html] |
ttt:make_a_ccc_server [2019/01/24 07:24] (current) Andrei Maberley ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 19: | Line 19: | ||
===== Software ===== | ===== Software ===== | ||
- | To get the CCC-Server up and running we need to : | + | To get the CCC-Server up and running we need to; |
Line 41: | Line 41: | ||
| | ||
- | This guide assumes you have a fresh install of Xubuntu 14.04 on your laptop. | + | This guide assumes you have a fresh install of Xubuntu 14.04 on your laptop. |
- | |||
- | ==== 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. | ||
- | |||
- | {{ : | ||
- | |||
- | Change the download server to //main//. | ||
- | |||
- | {{ : | ||
=====The CCC Wiki===== | =====The CCC Wiki===== | ||
After testing most of the available options, we decided to use [[https:// | After testing most of the available options, we decided to use [[https:// | ||
- | |||
- | |||
===== Apache Set-up===== | ===== Apache Set-up===== | ||
Line 107: | Line 95: | ||
{{ : | {{ : | ||
- | We need to do simple webpage to redirect to our docuwiki install. We will delete the old index.html then make our own. | + | We need to do simple webpage to redirect to our docuwiki install |
+ | |||
+ | We will delete the old index.html then make our own. | ||
sudo cd / | sudo cd / | ||
Line 124: | Line 114: | ||
</ | </ | ||
< | < | ||
- | Click to <a href=" | + | Click to go straight to the <a href=" |
manually. | manually. | ||
</ | </ | ||
Line 244: | Line 234: | ||
</ | </ | ||
- | This is what ours looks like | + | This is what ours looks like for using the Australian repository. |
< | < | ||
Line 309: | Line 299: | ||
| | ||
- | We will use the < | + | We will use edit our hostname file to change it too '' |
- | + | ||
- | hostnamectl set-hostname cccserver | + | |
+ | sudo nano / | ||
+ | | ||
Next edit your hosts file. | Next edit your hosts file. | ||
- | sudo nano/ect/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: | ||
- | 127.0.1.1 edgeadmin-HP-elitebook-8420p | + | |
Which becomes | Which becomes | ||
- | 127.0.1.1 cccserver | + | |
+ | |||
+ | |||
+ | Time for a reboot to check these settings stick. | ||
==== Network Management ==== | ==== Network Management ==== | ||
Line 332: | Line 325: | ||
- | The other part is the ifconfig tool, which we configure with the files on / | + | The other part is the command line '' |
+ | |||
+ | -------- | ||
First we need to find hardware MAC address of the ethernet interface we are using. You can do this with the command '' | First we need to find hardware MAC address of the ethernet interface we are using. You can do this with the command '' | ||
Line 365: | Line 360: | ||
You'll need to enter your own ethernet port hardware address (MAC address), which you can find using '' | You'll need to enter your own ethernet port hardware address (MAC address), which you can find using '' | ||
- | {{ : | + | {{ : |
Now edit NetworkManager.conf | Now edit NetworkManager.conf | ||
Line 391: | Line 386: | ||
Where mac: | Where mac: | ||
+ | |||
===== DHCP and DNS Server | ===== DHCP and DNS Server | ||
Line 484: | Line 480: | ||
address=/ | address=/ | ||
- | | + | |
| | ||
</ | </ | ||
Line 499: | Line 495: | ||
sudo service dnsmasq restart | sudo service dnsmasq restart | ||
| | ||
- | |||
- | |||
< | < | ||
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. | ||
</ | </ | ||
+ | ==== 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. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Change the download server to //main//. | ||
+ | |||
+ | {{ : | ||
===== Maintenance ===== | ===== Maintenance ===== | ||