Search found 777 matches

by LHammonds
Mon Jun 01, 2020 2:49 pm
Forum: Tutorials
Topic: Ubuntu Backup Server 20.04 LTS
Replies: 2
Views: 27

Transfer Scripts

Transfer Scripts This script will run on a regular basis and copies the backed up partition files on each remote server. Make sure it is timed to run after the local back-parts.sh script is finished and not more often than that job runs. sudo touch /var/scripts/prod/transfer-partitions.sh sudo chow...
by LHammonds
Mon Jun 01, 2020 9:34 am
Forum: Tutorials
Topic: Ubuntu Backup Server 20.04 LTS
Replies: 2
Views: 27

Prerequisites

Increase bak volume Determine how much space you will need to hold the backup files and add the space to the /bak volume. In my case, I will add a 200 GB drive and allocate 100% of that space to the bak volume but only expand the file system by 80% of that to ensure there is room to expand in the f...
by LHammonds
Mon Jun 01, 2020 9:13 am
Forum: Tutorials
Topic: Ubuntu Backup Server 20.04 LTS
Replies: 2
Views: 27

Ubuntu Backup Server 20.04 LTS

------------- WORK-IN-PROGRESS ------------- 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 Ubuntu Forums Link >> High...
by LHammonds
Fri May 29, 2020 3:56 pm
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 4
Views: 71

Post-Installation

Directory Security During install, you should have set the user/group ownership to match your web server (www-data for Apache on Ubuntu). These are the default permissions for your NextCloud directories and files: All files should be read-write for the file owner, read-only for the group owner, and...
by LHammonds
Fri May 29, 2020 3:37 pm
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 4
Views: 71

NextCloud Installation

NextCloud We are installing manually instead of using the package manager for the following reasons: Can obtain the newer version straight from NextCloud's website Don't want MySQL installed on the same server since I have a dedicate DB server (and also would rather use MariaDB) Want to use my own ...
by LHammonds
Fri May 29, 2020 3:31 pm
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 4
Views: 71

Database Configuration

Configure MariaDB / MySQL In this scenario, a separate, dedicated and general-purpose database server already exists and it will be used to hold the application's database. Connect to the MariaDB/MySQL server using PuTTY. At the login prompt, login with your administrator account ( administrator / ...
by LHammonds
Fri May 29, 2020 1:52 pm
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 4
Views: 71

Prior to Install

Name Resolution Add your NextCloud domain(s) so they point to the local loopback (127.0.0.1) Add your other remote servers such as your mail and database server IPs so you can reference them by name. sudo vi /etc/hosts 127.0.0.1 localhost 127.0.1.1 srv-nextcloud 127.0.0.1 nextcloud.mydomain.com 192...
by LHammonds
Fri May 29, 2020 1:47 pm
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 4
Views: 71

How to Install NextCloud on Ubuntu Server 20.04 LTS

------------- WORK-IN-PROGRESS ------------- 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 Ubuntu Forums Link >> High...
by LHammonds
Tue May 26, 2020 7:32 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Script - Fix Web Permissions

Fix Web Permissions I use a script to automatically set the web permissions on a regular basis to ensure compliance to standards for each site. The script will set standard ownership, directory and file permissions and then fine-tune the changes needed beyond that. For phpBB, I made a function that...
by LHammonds
Mon May 25, 2020 7:12 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Reset Admin Password

Reset Admin Password If you do not know your admin password, you can set the password via the database. Login via SSH to your database server and access the mysql console mysql Look at the databases you have and select the correct one: MariaDB [(none)]> show databases; +--------------------+ | Data...
by LHammonds
Sun May 24, 2020 3:31 pm
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Styles

Installing New Styles Visit this sites: https://www.phpbb.com/customise/db/styles-2 Browse for the style(s) you want. Right-click the download link and copy the URL. In Putty, download, unzip and remove the archive. Then set the owner/permissions and move to its final destination. Example: cd /tmp ...
by LHammonds
Sun May 24, 2020 3:31 pm
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Upgrading phpBB

Upgrading phpBB The download page for phpbb does a pretty-good job of telling you how to upgrade phpBB. It can get a bit confusing if you are upgrading very old versions of phpBB so here is what I did to upgrade 3.0.8 to 3.2.0 which required (for me) upgrading to specific versions in between. Pre-U...
by LHammonds
Sun May 24, 2020 9:34 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Install phpBB

Install phpBB At the login prompt, login with your administrator account ( administrator / myadminpass ) and then temporarily grant yourself super user privileges by typing sudo su Type the following commands: mkdir /var/www/forum.mydomain.com cd /tmp wget https://download.phpbb.com/pub/release/3.3...
by LHammonds
Sun May 24, 2020 9:21 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Configure Apache Web Server

Add Non-SSL Apache Site Configuration

Refer to this tutorial but substitute the example domain name and path for yours.

Add SSL Apache Site Configuration

Please refer to this tutorial but substitute the example domain name and path for yours.
by LHammonds
Sun May 24, 2020 9:20 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Required and Optional Libraries

Install Required phpBB Libraries Type the following to install the required libraries: apt -y install php7.4-json Install Optional phpBB Libraries Type the following to install the optional libraries: apt -y install php7.4-gd php7.4-xml php-imagick PHP Module Verification Make sure the modules you ...
by LHammonds
Sun May 24, 2020 9:19 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Configure Database

Configure MariaDB / MySQL In this scenario, a dedicated and general-purpose database server already exists and it will be used to hold the application's database. Connect to the MariaDB/MySQL server using PuTTY. At the login prompt, login with your administrator account ( administrator / myadminpas...
by LHammonds
Sun May 24, 2020 9:10 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

Server Preparation

Create Ubuntu Web Server Click here for detailed instructions on setting up a production-quality Ubuntu Server . Once you have the base operating system installed, proceed to follow these instructions to install Apache web server . When it talks about setting up your web root, be sure to substitute...
by LHammonds
Sun May 24, 2020 9:04 am
Forum: Tutorials
Topic: How to install and configure phpBB on Ubuntu 20.04
Replies: 9
Views: 237

How to install and configure phpBB on Ubuntu 20.04

Overview phpBB is a free PHP-based bulletin board forum software. This documentation will describe the steps to manually install the software onto a dedicated web server and tie it into a separate dedicated database server which is typical of a production environment rather than having an entire LA...
by LHammonds
Fri May 22, 2020 8:50 am
Forum: Miscellaneous
Topic: Apple iPhone Must-Have Apps
Replies: 0
Views: 93

Apple iPhone Must-Have Apps

These are the apps I use on a regular basis: Compress Photos & Pictures by New Marketing Lab, Inc. - If I have to send a screenshot/picture via text, I'd rather compress the 5 to 10 MB picture to just 0.2 MB to save time uploading for myself and bandwidth/data for the recipient...wished this was bui...
by LHammonds
Tue May 19, 2020 10:36 am
Forum: Tutorials
Topic: How to Install MariaDB 10.4.x on Ubuntu Server 20.04 LTS
Replies: 16
Views: 583

Export User Grants/Revokes

Export User Grants/Revokes The Percona Toolkit comes with a handy utility called pt-show-grants which will allow you to export an SQL file of all the grants for all your databases into a single file that you can use to audit permissions or help with a restore or help with database migrations. This ...