Master Controller/Operating System
From ESCTL
< Master Controller(Difference between revisions)
m (→Package Installation) |
|||
| (One intermediate revision by one user not shown) | |||
| Line 39: | Line 39: | ||
== Package Installation == | == Package Installation == | ||
For Debian: | For Debian: | ||
| − | * apt-get install mysql-server xinetd libdevice-serialport-perl libclass-dbi-mysql-perl libnet-ldap-perl | + | * sudo apt-get install mysql-server xinetd libdevice-serialport-perl libclass-dbi-mysql-perl libnet-ldap-perl |
** New password for MySQL root user: **** | ** 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 | * If running MySQL server on same machine as esctl, edit /etc/mysql/my.cnf and comment out "bind-address = 127.0.0.1" line | ||
| Line 48: | Line 48: | ||
* chkconfig sshd on; chkconfig network on; chkconfig xinetd on | * chkconfig sshd on; chkconfig network on; chkconfig xinetd on | ||
| − | == | + | == Firewall configuration == |
For Red Hat / CentOS 7: | For Red Hat / CentOS 7: | ||
* firewall-cmd --permanent --zone=public --add-port=12001/tcp | * firewall-cmd --permanent --zone=public --add-port=12001/tcp | ||
* firewall-cmd --reload | * firewall-cmd --reload | ||
Latest revision as of 18:52, 22 January 2016
Contents |
[edit] debian / Raspberry Pi setup
- Set the timezone if necessary
- dpkg-reconfigure tzdata
[edit] 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"
[edit] 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
[edit] Firewall configuration
For Red Hat / CentOS 7:
- firewall-cmd --permanent --zone=public --add-port=12001/tcp
- firewall-cmd --reload