Difference between revisions of "Mirror"

From CSLabsWiki
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{services
 
{{services
|ip_addr = 128.153.145.20
+
|ip_addr = 128.153.145.19
|contact_person = [[User:Xperia64|Bobby Newman]]
+
|contact_person = [[User:xperia64|xperia64 (Server Maintainence)]] & [[User:lannonbr|Benjamin Lannon (Website & Statistics)]]
|last_update = ''4/14/2016''
+
|last_update = April 2016
 
|host_vm =
 
|host_vm =
 
|vm_host =
 
|vm_host =
Line 12: Line 12:
 
{{Machine
 
{{Machine
 
| screenshot =
 
| screenshot =
| maintainer = [[User:Xperia64|Bobby Newman]]
+
| maintainer = [[User:xperia64|xperia64]] & [[User:lannonbr|Benjamin Lannon]]
| hostname = nmirror
+
| hostname = mirror
 
| operating_system = Debian 8 x64
 
| operating_system = Debian 8 x64
 
| development_status = Stable
 
| development_status = Stable
| interface1 = {{Network Interface | name=Clarkson Network | mac=00:25:90:08:07:18 | ip=128.153.145.20}}
+
| interface1 = {{Network Interface | name=Clarkson Network | mac=00:25:90:08:07:18 | ip=128.153.145.19}}
 
| cpuspecs = Intel Xeon Processor E5504 (8 Cores)
 
| cpuspecs = Intel Xeon Processor E5504 (8 Cores)
 
| ramspecs = 64GB
 
| ramspecs = 64GB
Line 23: Line 23:
   
 
'''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.
 
'''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).
 
   
 
==Installation==
 
==Installation==
   
  +
See [[New Mirror Installation]]
*Install Debian from netinst, 64 bits obviously.
 
*Make sure all of the drives are recognized.
 
   
  +
== Schedule ==
Install the following:
 
  +
The schedule at which packages and distros are updated can be seen at [[Mirror Schedule]]
   
  +
==Currently Hosted on New Mirror==
<pre>
 
apt install sudo vim git resolvconf
 
</pre>
 
   
  +
===Linux Distros===
Remove the following to fix resolv.conf only filling with IPv6 addresses for nameservers.
 
  +
* Alpine Linux
  +
* Archlinux
  +
* CentOS (Official Mirror)
  +
* Debian
  +
* Fedora
  +
* Gentoo
  +
* ipfire (Offical Mirror)
  +
* Linux Mint (Official Mirror)
  +
* Manjaro Linux (Official Mirror)
  +
* OpenSUSE (Official Mirror)
  +
* ParrotSec (Official Mirror)
  +
* Rasbian
  +
* Sabayon (Official Mirror)
  +
* Serenity (Main Mirror)
  +
* Slackware
  +
* SliTaz Linux (Offical Mirror)
  +
* Ubuntu (Including Flavours) (Offical Mirror)
  +
* Void Linux (Official Mirror)
   
  +
===BSDs===
<pre>
 
  +
* FreeBSD
apt remove rdnssd
 
  +
* OpenBSD
</pre>
 
   
  +
===Misc===
Edit /etc/sysctl.conf to disable IPv6 (derpyness)
 
  +
* Cygwin (Official Mirror)
  +
* GNU Software (Official Mirror)
  +
* Isabelle (Official Mirror)
  +
* Linux Kernel
  +
* TDF
  +
* EPEL
  +
* RepoForge (RPMForge)
  +
* CTAN
  +
* CPAN
  +
* CRAN
  +
* Clonezilla
  +
* Blender (Official Mirror)
   
  +
==Things to be hosted==
<pre>
 
  +
* CRUX
net.ipv6.conf.all.disable_ipv6 = 1
 
  +
* Dragora
net.ipv6.conf.default.disable_ipv6 = 1
 
  +
* Guix
net.ipv6.conf.lo.disable_ipv6 = 1
 
  +
* Kali
net.ipv6.conf.eth0.disable_ipv6 = 1
 
  +
* LibreBoot
net.ipv6.conf.eth1.disable_ipv6 = 1
 
  +
* Parabola
</pre>
 
  +
* ROS
  +
* Tails
  +
* Trisquel
   
  +
==History==
Edit /etc/hosts.allow to only permit logon from inside of COSI ..
 
  +
If you are interested in viewing the largest recorded amount of the history of our Mirror service, view the article on [[History]]: [http://history.cslabs.clarkson.edu/mirror-history.html Clarkson's FOSS Mirror Timeline]
   
  +
==Statistics==
<pre>
 
  +
To see documentation on the creation of stats on Mirror, see [[MirrorBand]]
sshd: 128.153.145. 128.153.144.
 
</pre>
 
 
.. and /etc/hosts.deny to prohibit outside logon.
 
 
<pre>
 
sshd: ALL
 
</pre>
 
 
Edit /etc/default/grub to fix graphics, so that we do the resolution of the KVM after bios.
 
 
<pre>
 
GRUB_GFXMODE=1280x1024
 
GRUB_GFXPAYLOAD_LINUX=keep
 
</pre>
 
 
Install debian-zfs:
 
<pre>
 
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
 
</pre>
 
 
==ZFS Config==
 
After installing zfsonlinux, to create a zpool named "zoodle" with a RAID10-like configuration, run the following command:
 
<pre>zpool create -f -m /storage zoodle mirror <2tbdrive1> <2tbdrive2> mirror <4tbdrive1> <4tbdrive2> ... </pre>
 
This should be done using /dev/disk/by-path nodes, but this may fail. If it fails, use /dev/sdX devices. Then, run the following two commands to reassign the pool to use by-path:
 
<pre>zpool export zoodle
 
zpool import -d /dev/disk/by-path zoodle</pre>
 
==Apache Webserver==
 
Install apache
 
<pre>
 
apt install apache2
 
</pre>
 
 
Add webmasters to the www-data group
 
<pre>
 
sudo adduser <USER> www-data
 
</pre>
 
 
Allow read and write access of /var/www to the www-data group
 
<pre>
 
sudo chown -R www-data:www-data /var/www
 
sudo chmod -R g+rwX /var/www
 
</pre>
 
 
Download the COSI-Lab/Mirror2016 repository into your home directory and run the setup.sh script. It will create a dist/ directory and you will want to copy the contents into /var/www
 
<pre>
 
git clone https://github.com/COSI-Lab/Mirror2016
 
cd Mirror2016
 
./setup.sh
 
cp -r dist/* /var/www/
 
</pre>
 
 
==Currently Hosted on New Mirror==
 
* Debian
 
* ParrotSec
 
* Raspbian
 
* Ubuntu
 
* Linux Mint
 
* Archlinux
 
* Isabelle
 

Latest revision as of 21:39, 29 August 2017

Mirror
IP Address(es): 128.153.145.19
Contact Person: xperia64 (Server Maintainence) & Benjamin Lannon (Website & Statistics)
Last Update: April 2016
Services: Open Source Projects Mirror


Hostname: mirror
Operating system: Debian 8 x64
NIC 1: Clarkson Network
MAC: 00:25:90:08:07:18
IP: 128.153.145.19
CPU: Intel Xeon Processor E5504 (8 Cores)
RAM: 64GB


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.

Installation

See New Mirror Installation

Schedule

The schedule at which packages and distros are updated can be seen at Mirror Schedule

Currently Hosted on New Mirror

Linux Distros

  • Alpine Linux
  • Archlinux
  • CentOS (Official Mirror)
  • Debian
  • Fedora
  • Gentoo
  • ipfire (Offical Mirror)
  • Linux Mint (Official Mirror)
  • Manjaro Linux (Official Mirror)
  • OpenSUSE (Official Mirror)
  • ParrotSec (Official Mirror)
  • Rasbian
  • Sabayon (Official Mirror)
  • Serenity (Main Mirror)
  • Slackware
  • SliTaz Linux (Offical Mirror)
  • Ubuntu (Including Flavours) (Offical Mirror)
  • Void Linux (Official Mirror)

BSDs

  • FreeBSD
  • OpenBSD

Misc

  • Cygwin (Official Mirror)
  • GNU Software (Official Mirror)
  • Isabelle (Official Mirror)
  • Linux Kernel
  • TDF
  • EPEL
  • RepoForge (RPMForge)
  • CTAN
  • CPAN
  • CRAN
  • Clonezilla
  • Blender (Official Mirror)

Things to be hosted

  • CRUX
  • Dragora
  • Guix
  • Kali
  • LibreBoot
  • Parabola
  • ROS
  • Tails
  • Trisquel

History

If you are interested in viewing the largest recorded amount of the history of our Mirror service, view the article on History: Clarkson's FOSS Mirror Timeline

Statistics

To see documentation on the creation of stats on Mirror, see MirrorBand