Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


fedora_20_post_install_configuration

This is an old revision of the document!


~~TOC~~

PC Engines APU - Fedora 20 post install

  • This is mainly for the PC Engines APU
  • After installing Fedora, run 'yum update' and install the latest updates.

Networking

Set hostname

Change hostname

hostnamectl # show current hostname
hostnamectl set-hostname <enter fqdn>

Configure static networking

Show connections:

nmcli c show

Edit connection

su - root
nmcli c edit <uuid>
 
# set ipv4 address and gateway
nmcli> set ipv4.addresses 1.2.3.4/24 2.3.4.5

# set DNS
nmcli> set ipv4.dns 4.5.6.7 5.6.7.8
nmcli> set ipv4.dns-search yourdomain.com
  
# set autoconnect
nmcli> set connection.autoconnect yes
   
# save and activate
nmcli> save

nmcli c up 'System p4p1'

Services

Install NTPd

yum install ntp

# edit ntp servers in /etc/ntp.conf

systemctl enable ntpd.service
systemctl start ntpd.service

#Check NTPd status
ntpq -p

#Check settings with timedatectl
timedatectl

Install lm_sensors

yum install lm_sensors

Detect the sensors

sensors-detect
# I choose the default answers and then...

Driver `k10temp' (autoloaded):
  * Chip `AMD Family 12h and 14h thermal sensors' (confidence: 9)

Show CPU temperature:

sensors

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +54.0°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +97.0°C)

Install check-mk-agent

yum install check-mk-agent
vi /etc/xinetd.d/check-mk-agent #modify only_from

systemctl enable xinetd
systemctl start xinetd
Open port 6556
#zone info
firewall-cmd --get-zones
firewall-cmd --get-zone-of-interface=p4p1
firewall-cmd --get-active-zones

#set default zone
firewall-cmd --set-default-zone=home

#list services in zone
firewall-cmd --permanent --zone=home --list-services

#disable services in zone
firewall-cmd --permanent --zone=home --remove-service=dhcpv6-client
firewall-cmd --permanent --zone=home --remove-service=ipp-client
firewall-cmd --permanent --zone=home --remove-service=mdns
firewall-cmd --permanent --zone=home --remove-service=samba-client

#add port
firewall-cmd --permanent --zone=home --add-port=6556/tcp
firewall-cmd --permanent --zone=home --list-ports

#reload
firewall-cmd --reload
fedora_20_post_install_configuration.1403119355.txt.gz · Last modified: 2014/06/18 19:22 by admin