Install PostgreSQL 12
Install and enable EPEL and PowerTools repositories if not already enabled.
Install PostGIS for PostgreSQL 12:
# dnf -y install postgis30_12
Read more Install PostGIS 3.0 on CentOS 8 with PostgreSQL 12
Install PostgreSQL 12
Install and enable EPEL and PowerTools repositories if not already enabled.
Install PostGIS for PostgreSQL 12:
# dnf -y install postgis30_12
Read more Install PostGIS 3.0 on CentOS 8 with PostgreSQL 12
Install the EPEL Repo
# dnf install epel-release -y
Install the Xfce group
# dnf groupinstall Xfce -y
Download and install the latest repo RPM from https://yum.postgresql.org/
# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
Disable the built-in PostgreSQL module:
# dnf -qy module disable postgresql
Install PostgreSQL:
# dnf install -y postgresql12-server
Optionally initialize the database and enable automatic start:
# /usr/pgsql-12/bin/postgresql-12-setup initdb
# systemctl enable postgresql-12
# systemctl start postgresql-12
If you don’t have a tastyworks account, you may create one at tastyworks.
Download the latest RPM version of tastyworks from https://tastyworks.com/technology.
# wget https://download.tastyworks.com/desktop-1.x.x/1.8.0/tastyworks-1.8.0-1.x86_64.rpm
Install the downloaded RPM file.
# dnf localinstall tastyworks-1.8.0-1.x86_64.rpm
Login as root
Install the workstation group, change the default target to graphical, and reboot.
# dnf groupinstall workstation
# systemctl set-default graphical.target
# reboot
Login as root and install packages required for building kernel modules and elfutils-libelf-devel as a prerequisite for the additions.
# dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl elfutils-libelf-devel
From the VirtualBox window, insert the guest-tools CD image.
Devices -> “Insert Guest Additions CD Image”
Mount the virtual CD-ROM drive and install the VirtualBox Additions.
# mkdir /mnt/cdrom
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom/
# sh ./VBoxLinuxAdditions.run --nox11
# reboot
If you try to change the listening port for SQL Server 2019 on Linux you may encounter the following error:
The setting 'tcpport' is not supported.
In SQL 2019, change the port with the following command:
sudo /opt/mssql/bin/mssql-conf set network.tcpport 1450
When starting samba you may receive this error:
smbd[11632]: ../source3/auth/auth_util.c:1382(make_new_ses...guest)
smbd[11632]: create_local_token failed: NT_STATUS_ACCESS_DENIED
smbd[11632]: ../source3/smbd/server.c:2000(main)
smbd[11632]: ERROR: failed to setup guest info.
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Stepping: 9
CPU MHz: 2807.994
BogoMIPS: 5615.98
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed clflushopt flush_l1d
# getenforce
Enforcing
# setenforce 0
# getenforce
Permissive
Recent Comments