skip to main content
Other Systems
  
Other Systems
Manually from the prompt
Using the setup tool
op5 System contains a menu based configuration tool called setup. With this tool you can configure some of the system base settings. Configuration options not supported by the setup tool are covered below.
 
Note: All examples are from using the op5 System console. Using SSH should work the same but colors may differ.
The following configuration options are covered by the setup tool:
Authentication configuration
Firewall configuration
Keyboard configuration
System services
Network configuration
Timezone configuration
To run the setup tool log on as user root and run the command setup
monitor!root~:# setup
Use the arrow keys to navigate the setup tool. When you are done configuring, check that all settings are correct and exit the program. Don’t forget to save.
Note: Firewall/SELinux and Authentication settings should be altered with care. Creating a restrictive configuration might cause op5 products to malfunction.
For more information about how to use the seutp tool please take a look at the op5 Quick install guide that can be found on www.op5.com/support.
Editing configuration files
You can also setup an op5 System by using a text editor such as vim or jed.
Note: Note: this manual does not cover the usage of vim or jed, there are other manuals that does that. Check out the command vimtutor for an intruduction to the vim editor.
The following files needs to be edited if you configure the system by a text editor
To configure keyboard layout:
/etc/sysconfig/keyboard
To set root password run the command passwd.
monitor!root:~# passwd
To configure timezone
/etc/sysconfig/clock
 
The following files are used when changing the network settings:
 
File
Usage
/etc/hosts
FQDN, hostname and host aliases
/etc/resolv.conf
DNS resolving
/etc/sysconfig/network
Hostname, Domain, Default gateway
/etc/sysconfig/network-scripts/ifcfg-<ifname>
IP Address, Netmask
Kernel modules: /etc/modprobe.conf
Editing this file is optional, the default settings are usually sufficient.
This file sets options to modules (drivers) that is loaded into the kernel. You need to edit this file to configure duplex settings for the op5 System network cards or if you want to change or turn bonding support on or off.
Network time server: /etc/ntp.conf
Editing this file is optional but highly recommended by op5.
This file configures which server that the op5 System shall use as Network Time Server. Edit the variable ‘server’ to change the server to synchronize against. It is possible to add several server entries to get time from several NTP servers.
If you are unsure about if you have a NTP server to synchronize against you can always use pool.ntp.org which is a large pool of, free to use, NTP servers on the Internet.
Example:
server ntp.pool.org
When you have edited the file you can issue following commands to force a time syncronization and test your configuration.
service ntpd stop
ntpdate ntp1.sth.netnod.se
service ntpd start
You can replace ntp1.sth.netnod.se in the example above with the ipaddress or hostname of your own NTP server.
Note: NTP communicates over port 123/UDP, don’t forget to configure your firewalls.
E-mail settings: /etc/postfix/main.cf
Editing this file is mandatory.
This file configures postfix which is the MTA (Mail Transfer Agent) that comes with op5 System. The MTA is used primarily to send out notification and report emails from your op5 products.
To be able to deliver emails the following variables must be edited
myhostname, set itto the FQDN of your op5 System
If you want the MTA to use a relay host (ie forward all emails to a specific mail server) edit following variables.
relay_host, set this to the hostname of your mail server. This variable is optional.
fallback_relay, set this to the hostname of your fallback relay, in case your primary mailserver is down. This variable is optional.