Sysadmin:AddComputer: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Craigje (talk | contribs)
mNo edit summary
Craigje (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Below are instructions for adding a machine to the CS or Cluster network.
Below are instructions for adding a machine to the CS or Cluster network.


# Base software kit
Note that if you're ever confused, you can look at another machine and do some "comparative anatomy" to see how certain files should be edited.


These software packages should be installed on every machine we provision, regardless of their purpose.
== Install a base OS ==
* <code>nano</code>
 
* <code>vim</code>
Generally, CS machines run Debian and cluster machines run CentOS.
 
== Bring up at least one network interface ==
 
Depending on the OS you install, there's a strong possibility the network interface won't be brought up by default.
 
== Configure DNS and DHCP ==
 
See [[Sysadmin:DNS & DHCP|this page]] for how to configure the DNS and DHCP server to recognize the machine.
 
Locally, you'll need to edit /etc/resolv.conf (to, e.g., specify your DNS nameserver), the config file for your particular network interface (e.g. on CentOS you may care about /etc/sysconfig/network-scripts/ifcfg-enp1s0f0), and /etc/hosts (to set your own hostname).
 
== Configure LDAP ==
 
Most likely, new servers will be connected to our LDAP database for user account sharing purposes.
 
== Install the base software kit ==
 
Go [[Base software kit|here for that]].

Latest revision as of 16:27, 1 August 2019

Below are instructions for adding a machine to the CS or Cluster network.

Note that if you're ever confused, you can look at another machine and do some "comparative anatomy" to see how certain files should be edited.

Install a base OS

Generally, CS machines run Debian and cluster machines run CentOS.

Bring up at least one network interface

Depending on the OS you install, there's a strong possibility the network interface won't be brought up by default.

Configure DNS and DHCP

See this page for how to configure the DNS and DHCP server to recognize the machine.

Locally, you'll need to edit /etc/resolv.conf (to, e.g., specify your DNS nameserver), the config file for your particular network interface (e.g. on CentOS you may care about /etc/sysconfig/network-scripts/ifcfg-enp1s0f0), and /etc/hosts (to set your own hostname).

Configure LDAP

Most likely, new servers will be connected to our LDAP database for user account sharing purposes.

Install the base software kit

Go here for that.