05 September 2015

CentOS: Install CentOS v7 and NethServer


Install Base CentOS System

  1. Install CentOS using the CentOS6 (64 template)
  2. Use a downloaded iso for the CnetOS 7 from:
    http://mirror.ox.ac.uk/sites/mirror.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso
  3. Proceed through the install process ensuring to process all the "spokes of the wheel" i.e. setup

Install Networking

CentOS doesn't enable setup by default so you need to do that:
  1. Find the network interface name: ip a
    which will produce a result like:
    2: etho: <BROADCAST,MULTI...
    where 'eth0' is the name
  2.  Edit the corresponding config file:
    vi /etc/sysconfig/network-scripts/ifcfg-eth0
  3. Paste in DHCP:
    DEVICE=eth0
    HWADDR=[MAC ADDRESS]
    NM_CONTROLLED=yes
    ONBOOT=yes
    BOOTPROTO=dhcp
    or for static address:
    BOOTPROTO=static
    IPADDR=192.168.1.10
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.1
    DNS1=8.8.8.8
    DNS2=4.2.2.2
  4. Stop and start the service:
    service network stop
    service network start

Install NethServer

  1. Add the packages: yum localinstall -y http://mirror.nethserver.org/nethserver/7.1.1503/base/x86_64/Packages/nethserver-release-7-0.1.6.g3dbb849.ns7.noarch.rpm
  2. Install the base system:
    nethserver-install
  3. Access the web interface:
    https://[IP address]:980

No comments:

Post a Comment