User Tools

Site Tools


miranda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

miranda [2014/11/24 01:14] (current)
0.0.0.0 created
Line 1: Line 1:
 +====== Miranda ======
  
 +[[Category:​Hosts]]
 +[[Category:​Hosts/​Servers]]
 +[[Category:​Hosts/​Gentoo]]
 +[[Category:​Hosts/​Offsite]]
 +
 +Miranda is currently being ported from an RPS hosted at OVH to a VPS hosted at XenVZ. Configurations for both are below.
 +
 += XenVZ =
 +
 +===== Filesystems =====
 +{| class="​wikitable"​ cellspacing="​10"​
 +|+ /dev/sda (20.0gb)
 +|- 
 +! Partition Number
 +! Size
 +! Filesystem
 +! Mount point
 +! Notes
 +|-
 +| 1
 +| 20Gb
 +| ext3
 +| /
 +|
 +|}
 +
 +===== Installation =====
 +  * Base system was installed with OpenITC'​s stock kernel.
 +  * System updated with portage (~amd64)
 +
 +==== Kernel ====
 +Full kernel <​tt>​.config</​tt>​ files are stored in subversion, under [[https://​dev.sihnon.net/​svnpriv/​configs/​kernel/​miranda/​|configs:/​kernel/​miranda/​]].
 +
 +==== Installed Software ====
 +Also see:
 +  * [[Gentoo#​Essential packages]]
 +
 +=== Network ===
 +  * {{Package|direct=yes|net-misc/​openvpn}}
 +
 +=== Hosting ===
 +  * {{Package|direct=yes|dev-db/​mysql}} {{USEFlag|{{DisableFlag|minimal}}}}
 +  * {{Package|direct=yes|dev-lang/​php}}
 +  * {{Package|direct=yes|dev-util/​subversion}}
 +  * {{Package|direct=yes|net-dns/​bind}}
 +  * {{Package|direct=yes|net-dns/​bind-tools}}
 +  * {{Package|direct=yes|net-proxy/​dante}}
 +  * {{Package|direct=yes|www-servers/​apache}}
 +
 +=== Userland ===
 +  * {{Package|direct=yes|net-irc/​irssi}}
 +
 +===== Configuration =====
 +==== VPN ====
 +Miranda maintains a persistent tunnel to the Sihnon network using openvpn. Configuration files are stored in subversion, under [[https://​dev.sihnon.net/​svnpriv/​configs/​vpn/​clients/​miranda|configs:/​vpn/​clients/​miranda]].
 +
 +==== LDAP ====
 +See [[LDAP/​Openldap]]. Configuration files are stored in subversion, under [[https://​dev.sihnon.net/​svnpriv/​configs/​ldap/​slave/​|configs:/​ldap/​slave/​]].
 +
 +==== NTP ====
 +The <​tt>​ntp-client</​tt>​ tool is run on boot to set the system clock to the correct time. The <​tt>​ntpd</​tt>​ service is also run to keep the time accurate while the system is up. The default configuration is used, so the system will synchronise to a machine in the NTP pool.
 +
 +{{Root|<​source lang="​bash">​
 +emerge ntp -av
 +/​etc/​init.d/​ntp-client start
 +/​etc/​init.d/​ntpd start
 +rc-update add ntp-client default
 +rc-update add ntpd default
 +</​source>​}}
 +
 +==== Logging ====
 +Configure network logging, as per [[Syslog]]. The connection to the remote syslog server is made through the VPN connection.
 +
 +==== Firewalls ====
 +The firewall configuration is stored in subversion, under [[https://​dev.sihnon.net/​svnprov/​configs/​firewall/​miranda/​|configs:/​firewall/​miranda/​]].
 +
 +Run the following commands to apply the rules to the running kernel, save them for next boot, start the service and ensure it starts on system startup.
 +{{Root|<​source lang="​bash">​
 +iptables-restore ./​firewall/​miranda/​iptables.xenvz
 +/​etc/​init.d/​iptables save
 +/​etc/​init.d/​iptables start
 +rc-update add iptables default
 +
 +ip6tables-restore ./​firewall/​miranda/​ip6tables.xenvz
 +/​etc/​init.d/​ip6tables save
 +/​etc/​init.d/​ip6tables start
 +rc-update add ip6tables default
 +</​source>​}}
 +
 +===== Maintenance =====
 +===== Hardware =====
 +===== Todo =====
 +  * ...
 +
 += OVH =
 +
 +===== Filesystems =====
 +{| class="​wikitable"​ cellspacing="​10"​
 +|+ /dev/sda (21.4Gb iSCSI)
 +|- 
 +! Partition Number
 +! Size
 +! Filesystem
 +! Mount point
 +! Notes
 +|-
 +| 1
 +| 5Gb
 +| ext3
 +| /
 +|
 +|-
 +| 2
 +| 15Gb
 +| ext3
 +| /home
 +
 +|}
 +
 +===== Installation =====
 +  * Base system was installed with OVH's gentoo-grsec kernel.
 +  * System updated with portage
 +
 +==== Kernel ====
 +Full kernel <​tt>​.config</​tt>​ files are stored in subversion, under [[https://​dev.sihnon.net/​svnpriv/​configs/​kernel/​miranda/​|configs:/​kernel/​miranda/​]].
 +
 +==== Installed Software ====
 +Also see:
 +  * [[Gentoo#​Essential packages]]
 +
 +===== Configuration =====
 +==== LDAP ====
 +See [[LDAP/​Openldap]]. Configuration files are stored in subversion, under [[https://​dev.sihnon.net/​svnpriv/​configs/​ldap/​slave/​|configs:/​ldap/​slave/​]].
 +
 +==== NTP ====
 +  * //todo//
 +
 +==== Logging ====
 +Configure network logging, as per [[Syslog]].
 +
 +==== Firewalls ====
 +The firewall configuration is stored in subversion, under [[https://​dev.sihnon.net/​svnprov/​configs/​firewall/​miranda/​|configs:/​firewall/​miranda/​]].
 +
 +Run the following commands to apply the rules to the running kernel, save them for next boot, start the service and ensure it starts on system startup.
 +{{Root|<​source lang="​bash">​
 +iptables-restore ./​firewall/​miranda/​iptables.ovh
 +/​etc/​init.d/​iptables save
 +/​etc/​init.d/​iptables start
 +rc-update add iptables default
 +
 +ip6tables-restore ./​firewall/​miranda/​ip6tables.ovh
 +/​etc/​init.d/​ip6tables save
 +/​etc/​init.d/​ip6tables start
 +rc-update add ip6tables default
 +</​source>​}}
 +
 +==== iSCSI ====
 +The iSCSI disk is configured and initialised by the initrd
 +
 +===== Maintenance =====
 +===== Hardware =====
 +==== lspci ====
 +<​code>​0@@</​code>​
 +
 +===== Todo =====
 +  * ...
miranda.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0