It’s very easy today to build a complete Linux workstation using the distribution you like best. It seems that the first place is occupied by Ubuntu or derivatives with a percentage of over 30%.
Both the operating system and most applications are free. The most important: such a system is extremely stable, constantly updated, and does not have the known problems with viruses that other operating systems face. However, the market share is 2% with a slight upward trend.
I have been using Linux workstation for over 10 years, Archlinux, and (X)ubuntu. In recent years I prefer Xubuntu because it is simple, elegant and lightweight. Every installation is increasingly easy, complete, stable, and fast. It is a great pleasure to use it.
I am trying to keep my system stable and clean. Only the necessary packages are installed. When it is possible, I use:
- portable versions (portable VScode is a great example)
- appimages (see Summary)
- containerization (offered by docker)
I use apt-get
in most install or update commands. Probably apt
is more convenient for the user. There are some differences but not so significant.
The whole system is updated using apt package manager. There are some exceptions, mentioned in the Summary.
I use free and open-source software to build my workstation. The only exceptions are:
- Google Chrome (free but not open-source)
- Microsoft Edge for Linux (free but not open-source)
- Dropbox (free Linux client but not open-source)
- Sublime Text (not free and not open-source)
- DbSolo (not free and not open-source). DbSolo, it is the only app I know to easily compare and synchronize database schema and this is the reason I use it.
- jDiskReport (free but not open-source)
- HDsentinel (free but not open-source)
Linux workstation – Hardware
Here is the hardware configuration of my workstation computer:
- Motherboard GIGABYTE Z68AP-D3, socket 1155, DDR3
- CPU Intel I7 INTEL CPU Core i7-2700K, BX80623I72700K
- RAM (16 GB) KINGSTON KHX1600C9AD3B1/4G, HyperX Blu DDR3, 1600MHz x 4
- Display adapter NVIDIA GeForce GT 710
- SSD INTEL 540S SERIES SSDSC2KW240H6X1 240GB 2.5” SATA3 TLC SINGLE PACK (S.M.A.R.T. enabled)
- HDD WD Caviar Blue WD5000AAKX SATA3 3.5” 6GB/SΕC 500GB 7200 16MB x 1 (02/10/2011 S.M.A.R.T. enabled)
- RAID controller M-Cab Sata3 + Pata Raid Card
- HDD WD Caviar GREEN POWER WD20EARX SATA3 3.5” 2TB 64MB x 2 (09/10/2011 S.M.A.R.T. enabled)
- EXTERNAL USB DISK WESTERN DIGITAL WDBU6Y0020BBK ELEMENTS PORTABLE 2TB USB3.0 BLACK
- LG W2453SQ 24 LCD Monitor (1920 x 1080)
- UPS APC Back UPS BR1500GI RS 1500VA (LI)
Partitions
Disk partitions
Basic OS Setup
Download Xubuntu 20.04 LTS ISO from the official website.
Setup using CD or USB device.
System update
Software updater will notify you that software updates are available. Proceed with update.
TO do it manually
sudo apt-get update && sudo apt-get -V upgrade
Mount data drives
Xubuntu is installed in sda1
and sda2
. Thers is one more partition in first disk (sda3
). This must be mounted. The same for the second disk (sdb
).
As root
get the partitions UUIDs using
blkid
Then update properly /etc/fstab
and reboot.
First Priority Settings
I did these changes with first priority:
Keyboard layouts
Settings ➙ Keyboard ➙ Layout
Window manager
Settings ➙ Window Manager ➙ Style
Change Greybird to Default (or any other you prefer). Very important to easily access window corners with mouse.
Mouse speed
Settings ➙ Mouse and Touchpad ➙ Devices
Set pointer speed from 5.0 to 1.0
Nvidia drivers
Xubuntu installs the proprietary Nvidia driver during basic setup. Nothing to do!
If this does not happen, do it by yourself:
Settings ➙ Additional Drivers
Assign Static IP
Settings ➙ Advanced Network Configuration ➙ Wired connection 1 ➙ IPv4 Settings
Consider using Google Public DNS
8.8.8.8, 8.8.4.4
Test the result from the command line:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 50:e5:49:52:12:f1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute enp4s0
valid_lft 81762sec preferred_lft 81762sec
inet6 fe80::5627:9ce5:a8cb:8601/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Software Updates Settings
Disable automatic updates:
Settings ➙ Software & Updates ➙ Updates
Color bash prompt
nano ~/.bashrc
Uncomment #force_color_prompt=yes
For root user
nano /root/.bashrc
Uncomment #force_color_prompt=yes
and additionally
#PS1='${debian_chroot:+($debian_chroot)}[