Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

UNIX – Laptop Setup

Posted on April 9, 2018April 9, 2018 By David Kittell

This is my basic setup for a laptop/desktop that I have for my family to use.

Debian Based

Should work on Debian, Ubuntu (all Ubuntu flavors)

sudo apt-get --assume-yes install ntp
sudo timedatectl set-timezone America/Detroit
sudo service ntp stop
sudo ntpdate us.pool.ntp.org
sudo service ntp start
echo nameserver 208.67.222.123 > /etc/resolv.conf
echo nameserver 208.67.220.123 >> /etc/resolv.conf
ifconfig eth0 | grep inet | awk '{ print $2 }'
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
curl http://kittell.net/ip.php

Red Hat Based

Should work on Red Hat, CentOS, and Fedora

# Red Hat subscription Setup - Start
sudo subscription-manager register --username <RedHat.com username> --password <RedHat.com password> --auto-attach
sudo subscription-manager refresh
# Red Hat subscription Setup - Stop

sudo subscription-manager list
sudo subscription-manager repos > repolist.txt
sudo yum-config-manager --enable rhel-7-server-extras-rpms
sudo yum-config-manager --enable rhel-7-server-supplementary-rpms
sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
sudo yum-config-manager --enable rhel-7-server-optional-rpms
sudo yum-config-manager --enable rhel-7-server-rh-common-rpms

sudo yum clean all
sudo yum repolist all
sudo yum -y update

sudo timedatectl set-timezone America/Detroit
sudo yum -y install net-tools bind-utils nano wget gcc gcc-c++ kernel-devel tcl

# Install Development Tools (Optional but suggested) - Start
sudo yum groupinstall 'Development Tools'
# Install Development Tools (Optional but suggested) - Stop

sudo yum -y install unzip bzip2
cd ~/
#http://www.binarytides.com/better-fedora-20-xfce/
sudo dnf -y update
sudo dnf clean packages
sudo dnf -y install wget curl bind-utils

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo dnf -y install google-chrome-stable_current_x86_64.rpm

sudo dnf install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm -y
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
sudo dnf install flash-plugin -y

wget http://download.skype.com/linux/skype-4.2.0.11-fedora.i586.rpm
sudo dnf -y install skype-4.2.0.11-fedora.i586.rpm

sudo dnf install vlc -y

sudo dnf install nautilus*.rpm

dnf --setopt=clean_requirements_on_remove=false remove libreoffice\*
 
## Fedora 21/20/19/18/17/16/15/14/13/12 and CentOS/RHEL 7.2/6.8 ##
yum remove openoffice* libreoffice*

dnf -y remove abiword gnumeric osmo asunder midori 

cd ~/

wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz

tar -xvf Apache_OpenOffice_4.1.2*
cd en-US
 
echo -e "exclude=openoffice.org-ure* libreoffice-ure*" >> /etc/dnf/dnf.conf

rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice4.1.2-redhat-*.rpm
 
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

CentOS Code Debian Fedora Red Hat Ubuntu UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

PowerShell – Ping Subnet

Posted on November 9, 2015

#requires -Version 2.0 Function Ping-Subnet { #.Synopsis # Ping a subnet returning all alive hosts. #.Example # Ping-Subnet -IP 192.168.1.0 -Netmask /24 #.Example # Ping-Subnet -IP 192.168.1.128 -Netmask 255.255.255.128 Param( [string] $IP, [string] $netmask ) Begin { $IPs = New-Object System.Collections.ArrayList $Jobs = New-Object System.Collections.ArrayList $max = 50 Function Get-NetworkAddress…

Read More

Mac OSX Terminal – Convert RAW Photos to JPG

Posted on September 22, 2016

If you’ve ever been stuck with a directory of .DNG or .RAW files this script will quickly convert the images for you. Adobe Products may give a better result but seem to be one at a time still… for i in *.dng; do sips -s format jpeg $i –out "${i%.*}.jpg";…

Read More

Ektron Menu Item List

Posted on July 30, 2015October 26, 2015

List out all items in an Ektron menu SELECT mt.[mnu_id] AS ‘Menu ID’ ,mnu_name AS ‘Menu Name’ ,[item_title] AS ‘Menu Item Title’ ,[item_link] ,CASE [item_target] WHEN 1 THEN ‘Popup’ WHEN 2 THEN ‘Self’ WHEN 3 THEN ‘Parent’ WHEN 4 THEN ‘Top’ END AS ‘Item Target’ , –[item_target], [item_id] AS ‘Content…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes