Difference between revisions of "Mirror"
(Add ZFS info)
|Line 71:||Line 71:|
Revision as of 23:24, 14 April 2016
|Contact Person:||Bobby Newman|
|Services:||Open Source Projects Mirror|
|Operating system:||Debian 8 x64|
|NIC 1:|| Clarkson Network |
|CPU:||Intel Xeon Processor E5504 (8 Cores)|
Mirror is COSI's mirror for FOSS projects. It hosts an array of GNU/Linux distributions and other software. It can be accessed through via [mirror.clarkson.edu | http] or rsync.
New Mirror is the new iteration of Mirror. It is in progress of being set up in software and the entire hardware setup has been finalized (symbolized by a pair GPL3 stickers stuck to the top to hold the lid closed).
Here's how to set it up:
- Install Debian from netinst, 64 bits obviously.
- Make sure all of the drives are recognized.
Install the following:
apt install sudo vim resolvconf
Remove the following to fix resolv.conf only filling with IPv6 addresses for nameservers.
apt remove rdnssd
Edit /etc/sysctl.conf to disable IPv6 (derpyness)
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.eth0.disable_ipv6 = 1 net.ipv6.conf.eth1.disable_ipv6 = 1
Edit /etc/hosts.allow to only permit logon from inside of COSI ..
sshd: 128.153.145. 128.153.144.
.. and /etc/hosts.deny to prohibit outside logon.
Edit /etc/default/grub to fix graphics, so that we do the resolution of the KVM after bios.
apt install lsb-release wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_6_all.deb dpkg -i zfsonlinux_6_all.deb apt update apt install debian-zfs