Recent Changes - Search:

Services

Technical Doc. Index

edit SideBar

Server setup

Installation

Network installation of CentOS-7, minimal server

  • pre-existing RAID mirror on 2x 72GB 2.5" SAS HDDs
  • rename LVM volume group 'vg-gold'
* 15 GB 'lv_root'
* 12 GB 'lv_swap'
* 20 GB 'lv_vz', ext4 filesystem

Initial setup:

Install ~root/.bu.func and source it. Also add the following to ~/.bashrc:
[ -r ~/.bu.func ] && . ~/.bu.func

Disable SELinux:

setenforce 0
cd /etc/selinux/
vim config

Change to read SELINUX=permissive

Install basic software

yum update
yum erase NetworkManager
yum install epel-release
yum update
yum install vim monitorix patch net-tools mailx ntp nfs-utils rsync mlocate at bind-utils smartmontools wget telnet

Configure basic software

NTP

bu /etc/ntp.conf
vim /etc/ntp.conf

#server 0.centos.pool.ntp.org
#server 1.centos.pool.ntp.org
#server 2.centos.pool.ntp.org
#server 3.centos.pool.ntp.org
server anchor.phys.ocean.dal.ca
server ntp2.dal.ca
server ntp1.dal.ca

systemctl start ntpd
systemctl enable ntpd

Dump default firewall

iptables-save > /etc/sysconfig/iptables.saved
yum erase firewalld

Don't forget to reboot!

shutdown -r now;exit

Edit - History - Print - Recent Changes - Search
Page last modified on May 01, 2018, at 01:15 AM ADT