Difference between revisions of "Fedora install for my own purposes"

From dbawiki
Jump to: navigation, search
(Disable SELinux)
(Assign static IP address)
Line 38: Line 38:
  
 
====Assign static IP address====
 
====Assign static IP address====
 +
Choose the network link to change
 +
<pre>
 +
ifconfig -a
 +
</pre>
 +
Easiest method is to use the command line!
 +
<pre>
 +
vi /etc/sysconfig/network-scripts/ifcfg-<linkname>
 +
</pre>
 +
Before...
 +
<pre>
 +
</pre>
 +
After...
 +
<pre>
 +
HWADDR=08:00:27:98:06:76
 +
TYPE=Ethernet
 +
# Static IP Address #
 +
BOOTPROTO=none
 +
# Server IP #
 +
IPADDR=192.168.1.10
 +
# Netmask #
 +
NETMASK=255.255.255.0
 +
# Default Gateway IP #
 +
GATEWAY=192.168.1.1
 +
# DNS Servers #
 +
DNS1=192.168.1.1
 +
DNS2=8.8.8.8
 +
DEFROUTE=yes
 +
IPV4_FAILURE_FATAL=no
 +
# Disable ipv6 #
 +
IPV6INIT=no
 +
NAME=enp0s3
 +
# Optional - This is system specific and can be created using 'uuidgen enp0s3' command #
 +
UUID=02d4a47b-3dbe-4e0b-ae4b-841a8c58e807
 +
DEVICE=enp0s3
 +
# Activate on Boot #
 +
ONBOOT=yes
 +
# Default Domain Search #
 +
DOMAIN=itzgeek.local
 +
</pre>
 +
 
====Create user dbav8====
 
====Create user dbav8====
 
===Install Thunderbird===
 
===Install Thunderbird===

Revision as of 19:20, 1 May 2018

At time of writing, Fedora 27 is current stable version

Download and install Fedora

Configure Fedora

Disable SELinux

Use the /usr/sbin/getenforce or /usr/sbin/sestatus commands to check the status of SELinux

$ /usr/sbin/getenforce
Enforcing

or

$ /usr/sbin/sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 23
Policy from config file:        targeted

Change SELINUX to disabled in /etc/selinux/config

sudo vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
sudo reboot

Assign static IP address

Choose the network link to change

ifconfig -a

Easiest method is to use the command line!

vi /etc/sysconfig/network-scripts/ifcfg-<linkname>

Before...


After...

HWADDR=08:00:27:98:06:76
TYPE=Ethernet
# Static IP Address #
BOOTPROTO=none
# Server IP #
IPADDR=192.168.1.10
# Netmask #
NETMASK=255.255.255.0
# Default Gateway IP #
GATEWAY=192.168.1.1
# DNS Servers #
DNS1=192.168.1.1
DNS2=8.8.8.8
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
# Disable ipv6 #
IPV6INIT=no
NAME=enp0s3
# Optional - This is system specific and can be created using 'uuidgen enp0s3' command #
UUID=02d4a47b-3dbe-4e0b-ae4b-841a8c58e807
DEVICE=enp0s3
# Activate on Boot #
ONBOOT=yes
# Default Domain Search #
DOMAIN=itzgeek.local

Create user dbav8

Install Thunderbird

Install add-on Filtaquila

Configure Thunderbird

Install other applications

Terminator