Master Controller/Operating System
From ESCTL
< Master Controller(Difference between revisions)
(Created page with "== debian / Raspberry Pi setup == * Set the timezone if necessary ** dpkg-reconfigure tzdata === Second ethernet interface === If installed, edit /etc/network/interfaces alo...") |
m (→Package Installation) |
||
(3 intermediate revisions by one user not shown) | |||
Line 38: | Line 38: | ||
== Package Installation == | == Package Installation == | ||
− | * apt-get install mysql-server xinetd libdevice-serialport-perl libclass-dbi-mysql-perl libnet-ldap-perl | + | 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: **** | ** 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 | ||
+ | |||
+ | 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 |
Latest revision as of 19: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