======Peeps setup====== >>{{{toc levels="h2,h3,h4"}}}>> =====Initial Setup===== ~- Download CentOS 6.7 and use dd to copy iso to USB ~~- Version 6.7 is supported until 2020, no support for Raid Control on CentOS 7 and would require hackish method to install on hardware ~- Install ~~- Time Zone (pops ntpd), Network, Installed Software ~- start sshd ~~- # chkconfig --add sshd ~~- # chkconfig --list sshd ~~- # chkconfig sshd on ~~- # service sshd start ~- DNS Record ~~- %poprocks # ipa dnsrecord-add votesmart.org peeps --a-ip-address=192.168.255.26 ~- Change hostname ~~- /etc/sysconfig/network ~~- /etc/hosts ~- Change runlevel ~~- /etc/inittab ~- Install Updates ~- EPEL & IUS repositories ~~- %% sudo yum install epel-release wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh epel-release-6*.rpm %% ~- Disable IPv6 ~~- Add to /etc/sysctl.conf ~~- %% # Disable ipv6 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.all.disable_ipv6 = 1 %% ~~- sysctl -p ~- Disable Firewall and SELINUX ~~- %% service iptables stop chkconfig iptables off vim /etc/selinux/config SELINUX=disabled # change %% =====Applications===== ~- screen ~- nload, iftop ~- ntop ~~~- %% yum -y install ntop ntop enter password # this is the password needed for webui vim /etc/ntop.conf # limit ntop to listening on a specific interface and port --http-server 192.168.255.0:3000 --https-server 192.168.255.0:3001 service ntop start chkconfig ntop on %% =====Setup SMTP Relay===== ~- /etc/postfix/main.cf ~~- %% myhostname = peeps.votesmart.org mydomain = votesmart.org myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, mail.votesmart.org mynetworks = 192.168.255.0/24, 127.0.0.0/8 relay_domains = home_mailbox = Maildir/ %% ~- /etc/postfix/genric ~~- %% @chickostick root@votesmart.org @chickostick.votesmart.org root@votesmart.org @poprocks root@votesmart.org @poprocks.votesmart.org root@votesmart.org %% ~- poprocks DNS: ~- ||mail.votesmart.org||A||192.168.255.26|| ~- dig votesmart.org. MX ~~- votesmart.org. 86400 IN MX 40 ALT4.ASPMX.L.GOOGLE.COM. ~~- votesmart.org. 86400 IN MX 20 ALT2.ASPMX.L.GOOGLE.COM. ~~- votesmart.org. 86400 IN MX 30 ALT3.ASPMX.L.GOOGLE.COM. ~~- votesmart.org. 86400 IN MX 10 ALT1.ASPMX.L.GOOGLE.COM. ~~- votesmart.org. 86400 IN MX 5 ASPMX.L.GOOGLE.COM. ---- CategoryITDoc