Master Controller/Operating System
From ESCTL
Contents |
debian / Raspberry Pi setup
- Set the timezone if necessary
- dpkg-reconfigure tzdata
Second ethernet interface
If installed, edit /etc/network/interfaces along the lines of:
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address my.internal.ip.address netmask 255.255.255.0 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp # JMH - External interface. Could be dhcp auto eth1 iface eth1 inet static address my.external.ip.address netmask 255.255.255.224 gateway my.external.gateway.ip
and edit /etc/default/ifplugd as follows:
#INTERFACES="auto" INTERFACES="eth1" #HOTPLUG_INTERFACES="all" HOTPLUG_INTERFACES="eth1"
Package Installation
For Debian:
- sudo apt-get install mysql-server xinetd libdevice-serialport-perl libclass-dbi-mysql-perl libnet-ldap-perl
- New password for MySQL root user: ****
- If running MySQL server on same machine as esctl, edit /etc/mysql/my.cnf and comment out "bind-address = 127.0.0.1" line
For Red Hat / CentOS:
- yum install xinetd perl-LDAP perl-DBD-MySQL perl-Sys-Syslog mysql-server
And if installing from a minimal CentOS7 build:
- chkconfig sshd on; chkconfig network on; chkconfig xinetd on
Firewall configuration
For Red Hat / CentOS 7:
- firewall-cmd --permanent --zone=public --add-port=12001/tcp
- firewall-cmd --reload