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 23:04] 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: | ||
| | ||
- | 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 246: | Line 234: | ||
</ | </ | ||
- | This is what ours looks like | + | This is what ours looks like for using the Australian repository. |
< | < | ||
Line 311: | 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 | + | 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. | ||
==== Network Management ==== | ==== Network Management ==== | ||
Line 334: | 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 367: | 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 393: | Line 386: | ||
Where mac: | Where mac: | ||
+ | |||
===== DHCP and DNS Server | ===== DHCP and DNS Server | ||
Line 486: | Line 480: | ||
address=/ | address=/ | ||
- | | + | |
| | ||
</ | </ | ||
Line 501: | 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 ===== | ||