Search found 780 matches

by LHammonds
Tue May 19, 2020 8:53 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Directory Security

Directory Security It is a good idea to have your site permission settings in a script that can be scheduled to run on a normal basis. Each site/application will need to have specific permissions set so use the following script as an example of things you can do to customize a script for your site....
by LHammonds
Tue May 19, 2020 8:50 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Force SSL Usage

Force SSL Usage This section will describe how to modify the site configuration to ensure anyone that hits an http (port 80) URL will be automatically re-directed to the https (port 443) location...thus ensuring all traffic on the site is encrypted using SSL. Enable the rewrite mod: sudo a2enmod re...
by LHammonds
Tue May 19, 2020 8:50 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Let's Encrypt SSL Certificate

Let's Encrypt SSL Certificate Let's Encrypt is a non-profit certificate authority run by Internet Security Research Group that provides X.509 certificates for Transport Layer Security encryption at no charge. The certificate is valid for 90 days, during which renewal can take place at any time. Thi...
by LHammonds
Tue May 19, 2020 8:48 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Self-Signed SSL Certificate

Create Self-Signed SSL Certificate NOTE: This section is only here for historical reference. For production SSL use, see the Let's Encrypt section for SSL certificates from a source web browsers trust. This will create a self-signed certificate that will expire 1,095 days (3 years) from the date it...
by LHammonds
Tue May 19, 2020 8:47 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Virtual Host Management

Disable the default sites It is best to disable and not use the default sites. sudo a2dissite 000-default sudo a2dissite default-ssl Web Site Root Folder Create the web site root folder and default test page: sudo mkdir -p /var/www/mysite.mydomain.com sudo chown www-data:www-data /var/www/mysite.my...
by LHammonds
Tue May 19, 2020 8:43 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

Install Apache Web Server

Install Apache sudo apt install apache2 Install PHP for Apache with MySQL/MariaDB support sudo apt install php7.4 libapache2-mod-php7.4 php7.4-mysql TIP: You can search available PHP packages names by typing this: apt-cache search php7.4 Large File Upload Support If your site will allow uploading o...
by LHammonds
Tue May 19, 2020 8:39 am
Forum: Tutorials
Topic: How to Install Apache Web Server on Ubuntu Server 20.04 LTS
Replies: 7
Views: 734

How to Install Apache Web Server on Ubuntu Server 20.04 LTS

Greetings and salutations, I hope this thread will be helpful to those who follow in my foot steps as well as getting any advice based on what I have done / documented. To discuss this thread, please participate here: >> INSERT LINK HERE << High-level overview The Apache HTTP Server Project is an ef...
by LHammonds
Thu May 14, 2020 9:05 am
Forum: Tutorials
Topic: How to install and configure Proxmox 6.2
Replies: 4
Views: 3791

Re: How to install and configure Proxmox 6.1

Subscription Popup Error message - "You do not have a valid subscription for this server" Every time you login, you will be greeted with that message. You can safely click OK and continue on. If you purchase a support subscription, that message goes away but the system will function just the same w...
by LHammonds
Mon May 11, 2020 3:57 am
Forum: Miscellaneous
Topic: Windows 10 Settings
Replies: 0
Views: 1422

Windows 10 Settings

List of software I like to uninstall on Windows 10 and settings I change (which usually have to be re-applied after updates...thus why I need to document them) Control Panel -> Programs and Features -> Turn Windows Features on or off Uncheck - Internet Explorer 11 (I used Firefox / Chrome instead) U...
by LHammonds
Wed May 06, 2020 5:11 pm
Forum: Tutorials
Topic: How to install and configure Proxmox 6.2
Replies: 4
Views: 3791

Time Synchronization

Time Zone Before going forward, make sure the timezone is set correctly on each node. To show the current timezone, issue this command on each node: timedatectl status Local time: Thu 2020-05-14 11:16:04 CDT Universal time: Thu 2020-05-14 16:16:04 UTC RTC time: Thu 2020-05-14 16:16:05 Time zone: Am...
by LHammonds
Wed May 06, 2020 4:06 pm
Forum: Tutorials
Topic: How to install and configure Proxmox 6.2
Replies: 4
Views: 3791

Installation

Installation The ISO image will be burned onto a DVD-ROM disc and the machines will be installed via the disc one at a time. You can also do the same for placing the image on USB stick. Just make sure the BIOS boot order checks for your install media device before trying to boot the internal drive....
by LHammonds
Wed May 06, 2020 3:58 pm
Forum: Tutorials
Topic: How to install and configure Proxmox 6.2
Replies: 4
Views: 3791

Preparation

For this project, I am taking 3 low-end run-of-the-mill workstations and turning them into a Proxmox cluster. Here are their details: Dell Optiplex 3020, Intel Core i3-4130 CPU @ 3.40GHz with 2 cores, 8GB RAM, 450 GB HD Dell Optiplex 3020, Intel Core i5-4590 CPU @ 3.30GHz with 4 cores, 8GB RAM, 450 ...
by LHammonds
Wed May 06, 2020 5:22 am
Forum: Tutorials
Topic: How to install and configure Proxmox 6.2
Replies: 4
Views: 3791

How to install and configure Proxmox 6.2

------------- WORK-IN-PROGRESS ------------- Greetings and salutations, I am learning about Proxmox and will keep my notes on how I install and configure Proxmox on this thread....updating as I go. There are a thousand different ways / scenarios to configure Proxmox. I will try to cover a few diffe...
by LHammonds
Sun May 03, 2020 1:32 pm
Forum: Tutorials
Topic: Ubuntu Logo in color ASCII art
Replies: 3
Views: 6734

Ubuntu Server 20.04 LTS

Ubuntu Server 20.04 LTS For those that want to know how to use this in your SSH login for version 20.04, here's how: #1 - Disable the header and help text sections of the current process by removing the execute permission. sudo chmod 644 /etc/update-motd.d/00-header sudo chmod 644 /etc/update-motd....
by LHammonds
Fri May 01, 2020 6:47 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Future Research Items

Security Topics to Research and Incorporate Gamin File Change Monitoring - Gamin web site PSAD intrusion detection - TheFanClub walkthru (Note, current version is 2.4.4 released on Feb 2017, Ubuntu repository version is 2.2.3 released in March, 2014) Tiger intrusion detection - homepage Tripwire in...
by LHammonds
Fri May 01, 2020 6:46 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Trouble-Shooting

Boot Issues systemd-analyze plot > /srv/samba/share/boot.xml Open boot.xml in a web browser to examine the boot process to see if anything is taking longer than it should. systemd-analyze blame This shows a list of all running processes ordered by the time it took to initialize. Be careful not to j...
by LHammonds
Fri May 01, 2020 6:45 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Server Replacement

Replacing a server with a new one If you want to keep SSH keys and the fingerprint from changing when swapping out an old server for a new one (e.g. old FTPS server to new FTPS which interfaces with many 3rd-party vendors), these are the steps needed to keep the system looking the same. The old ser...
by LHammonds
Fri May 01, 2020 6:45 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Migrating Users from one server to another

Migrating users/groups from one server to another WARNING: These migration commands are thoroughly tested by me...just jotting down these research notes for future testing. Commands to run on old server Copy accounts to passwd.mig using awk to filter out system accounts (i.e. only copy user account...
by LHammonds
Fri May 01, 2020 6:44 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Partition-Level Restores

Restore Partitions Using SystemRescueCD and FSArchiver Partitions cannot be mounted when restoring to them. If services can be stopped that use files on a specific partition, it can be unmounted and restored. However, the root partition can never be restored while the server is online so these inst...
by LHammonds
Fri May 01, 2020 6:43 am
Forum: Tutorials
Topic: How to Install and Configure an Ubuntu Server 20.04 LTS
Replies: 24
Views: 11694

Partition-Level Backups

Backup Partitions Using LVM Snapshots and FSArchiver This method will allow online backup of the server at the partition level. It is designed to run via crontab schedule but can also be run manually. This should be considered a full backup which means you will probably need to rely on other method...