Sysadmin:AddComputer: Difference between revisions
Jump to navigation
Jump to search
Aashaver10 (talk | contribs) |
Aashaver10 (talk | contribs) |
||
| Line 21: | Line 21: | ||
=== DHCP === | === DHCP === | ||
* Add the machine to proton:/etc | * Add the machine to proton:/usr/local/etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon. | ||
** Restart dhcpd by running the command /etc/init.d/dhcp3-server restart | ** Restart dhcpd by running the command /etc/init.d/dhcp3-server restart | ||
== Email == | == Email == | ||
* In /etc/aliases or similar, set the outgoing e-mail to root@cs.earlham.edu. On quark, this automatically forwards to the admin list. We send it to root instead so that we can have "emergency moderation" and stop it going to the list if need be. Or, in case we need to stop going to the list because mailman is down. | * In /etc/aliases or similar, set the outgoing e-mail to root@cs.earlham.edu. On quark, this automatically forwards to the admin list. We send it to root instead so that we can have "emergency moderation" and stop it going to the list if need be. Or, in case we need to stop going to the list because mailman is down. | ||
Revision as of 20:06, 16 October 2012
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.
Software
Make sure the following packages installed (through ports or through apt):
- bash
- ssh
- sudo
SSH and Sudo
- Set up sudo to allow members of the admin group to become root (or, better yet, individual users).
- Disable root logins via SSH.
DNS and DHCP
DNS
tinydns is now on pion
ssh tinydns.cs.earlham.edu
Find an available IP in /service/tinydns/root/data
Add a line to that file:
=<hostname>.cs.earlham.edu:<ip>:86400
cd /service/tinydns/root/ && make
DHCP
- Add the machine to proton:/usr/local/etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
- Restart dhcpd by running the command /etc/init.d/dhcp3-server restart
- In /etc/aliases or similar, set the outgoing e-mail to root@cs.earlham.edu. On quark, this automatically forwards to the admin list. We send it to root instead so that we can have "emergency moderation" and stop it going to the list if need be. Or, in case we need to stop going to the list because mailman is down.