Last updated 2019-05-13

I currently use  Fedora 29 Gnome install.

If you have the most recent Fedora use it, else do upgrade at this time.

See upgrades

  1. Install from the DVD
  2. Configure HD
    1. /boot    1G
    2. /boot/efi     500mg
    3. /        100G
    4. /home     all remaining disk space
  3. Software to install

dnf -y update

Make sure that you have rpm fusion installed (free and non-free)

dnf -y install tripwire
dnf -y install emacs xemacs easytag multitail
dnf -y install java mariadb mariadb-server miglayout mysql-connector-java
dnf -y install python mysql-connector-python3 python3-tidy
dnf -y install opencv opencv-conbtrib python3-opencv
dnf -y install libreoffice
dnf -y install thunderbird
dnf -y install perl perltidy perl-Tk perl-file-slurp
dnf -y install pdfmod pdfmerge pdfbox python3-pdfkit
dnf -y install youtube-dl
dnf -y install sound-juicer
dnf -y install banshee banshee-community-extensions
dnf -y install hplip hplip-gui
dnf -y install ImageMagick ImageMagick-perl
dnf -y install gcc-gfortran eclipse-ptp-fortran
dnf -y install mailx
dnf -y install lazarus
dnf -y install gnucash
dnf -y install boxes vibvirt-client
dnf -y install samba samba-client
dnf -y install nmap

dnf -y  install gnome-system-log firewall-config

dnf -y groupupdate Multimedia

Some other dnf commands which may help with mp4 files:

(two lines)
rpm –import

dnf -y install$(rpm -E %fedora)-11.fc$(rpm -E %fedora).noarch.rpm

We need to configure:

  1. hosts
    #set hostname and static ip
    hostnamectl set-hostname <fully qualified host name>
    nmcli connection mod enp0s31f6 ipv4.address
    nmcli connection mod enp0s31f6 ipv4.gateway
    nmcli connection mod enp0s31f6 ipv4.dns
    nmcli connection mod enp0s31f6 ipv4.method manual

    nmcli connection down enp0s31f6
    nmcli connection up enp0s31f6

    echo checking

    echo $HOSTNAME
    nmcli device show enp0s31f6
    ip addr show

  2.  cat /etc/sysconfig/network-scripts/ifcfg-enp0s31f6
  3. Fix hosts:
    1. Either install a dns server in your lan or cofigure hosts to take care of addressing
    2. Get the adblocker, cd /root

cd /root/data


cp hosts.txt /etc/hosts.adblocker.txt

(cleanup by removing the lines which contain references to ipv4 and ipv6 localhost.)

create /root/ containing:

dos2unix data/hosts.txt
sed -r ‘s:’ /etc/hosts.adblocker.txt >> /etc/hosts

This will protect you from certain ransomware and block a lot of ads.

3. If you need to block ipv6 so that you don’t use it (ie, your isp has partially implemented it.):

add a file called /etc/modprobe.d

containing one line

install ipv6 /bin/true

then type:

chkconfig ip6tables off

Re-initialize networking.

4. Install and configure tripwire

See this article

5.  Usb backups

6. Dropbox

7. mysql
service mariadb start < starts mysql background process >
chkconfig mariadb on < makes sure thay mysql will start when your computer reboots
mysql -u root
update user set password=PASSWORD(‘newpass’) where user = ‘root’;

How to move the mariadb to a new location.

in this example, I decided to move mariadb to /home/mariadb, because I have more disk space on /home.

7.1 Stop the db server

systemctl stop mariadb

7.2 copy the db to the new location:

[Note: mariadb saves files in the same direcory that mysql used to use.]

rsync -av -r –del  /var/lib/mysql  /home/mariadb

note – no trailing “/” on file names.

7.3 Fixownership/selinux issues

chown -R mysql.mysql /home/mariadb

chcon -R -t mysql_db_t /home/mariadb

ls -lZ /home/mariadb

7.4 Change config file pointers

in file /etc/my.cnf.d/mariadb-server.cnf


(note do not change socket, else permissions problems)

7.5 Test

systemctl start mariab

mysql -u root -p

8. In your user account create .bashrc containing:

# .bashrc

alias rm=’rm -i’
alias cp=’cp -i’
alias mv=’mv -i’

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc

# User specific environment
export PATH

# User specific aliases and functions
PS1=”\[\A \u@\h:\w\] $ ”

# java path
export CLASSPATH=/usr/share/java/miglayout-core.jar:/usr/share/java/miglayout-swing.jar:/usr/lib/java/mariadb-java-client.jar:/home/wlperry/bin/ptp/

#python path

9. Samba

firewall-cmd –add-service=samba –permantent

firewall-cmd –reload

setsebool -P samba_enable_home_dirs on
adduser -m <user>

smbpasswf -a user

smbclient   //server u user
service smb start
chkconfig smb on
chkconfig nmb on

10 Register Gnome-boxes

virshdumpxml <box>  >box.xml

virshcreate box.xml

11. eclipse

project languages

c, c++







12. backup (in /root)

crontab -e
# hr min day mon dow command
02  05   *   *   *    dnf -y update

03    05    *    *    *   /usr/sbin/tripwire –check

13. Some notes regarding tools:






install hplip hplip-gui

use command hp-setup to configure prinyers

Up in the country.