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...") |
(→Package Installation) |
||
| Line 38: | Line 38: | ||
== Package Installation == | == Package Installation == | ||
| + | For Debian: | ||
* apt-get install mysql-server xinetd libdevice-serialport-perl libclass-dbi-mysql-perl libnet-ldap-perl | * 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 | ||
Revision as of 17:31, 28 January 2015
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:
- 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