Search found 576 matches

by LHammonds
Sun May 13, 2018 7:55 pm
Forum: Tutorials
Topic: How to install Samba as DC on Ubuntu Server 16.04
Replies: 7
Views: 1450

Firewall

Firewall Settings Modify the firewall script in the Samba section so it looks like this: vi /var/scripts/prod/en-firewall.sh echo "Allowing Samba file sharing connections" ufw allow proto tcp to any port 135,139,445 comment 'Samba Share' 1>/dev/null 2>&1 ufw allow proto udp to any port 137,138 comm...
by LHammonds
Fri May 11, 2018 5:19 pm
Forum: Tutorials
Topic: How to install a certificate server on Ubuntu Server 18.04 LTS
Replies: 0
Views: 24

How to install a certificate server on Ubuntu Server 18.04 LTS

WORK-IN-PROGRESS ------------------- WORK-IN-PROGRESS WORK-IN-PROGRESS ------------------- 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...
by LHammonds
Thu May 10, 2018 12:03 pm
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Email Support Using Mail Relay Server

Email Overview CumulusClips utilizes PHP's built-in "mail" function which means we need to configure php.ini to use a mail client that will send email. It seems like an industry standard to use "sendmail" based on all the tutorials out there but sendmail is a mail server itself which can receive ma...
by LHammonds
Thu May 10, 2018 8:14 am
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Customize

Logo Locations CumulusClips cloud-like logo displayed on main screen. /var/www/cumulusclips/cc-content/themes/default/images/logo.png Small greyscale version of the main screen logo. /var/www/cumulusclips/cc-content/themes/default/images/logo_footer.png "CumulusClips Admin Panel" text on top of adm...
by LHammonds
Wed May 09, 2018 4:51 pm
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Install CumulusClips

Install CumulusClips Download CumulusClips, extract the archive and set permissions: cd /tmp wget http://cumulusclips.org/cumulusclips.tar.gz tar -xzvf /tmp/cumulusclips.tar.gz chown www-data:root --recursive /tmp/cumulusclips find /tmp/cumulusclips/. -type d -exec chmod 755 '{}' \+ find /tmp/cumul...
by LHammonds
Wed May 09, 2018 4:30 pm
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

CumulusClips Prerequisites

Install CumulusClips Prerequisites At the server console, type the following to install the additional modules and restart the web service: apt -y install php7.2-curl php7.2-xml php7.2-gd php7.2-mysql php7.2-zip php7.2-intl systemctl reload apache2 To make sure the modules are loaded, we will creat...
by LHammonds
Wed May 09, 2018 4:10 pm
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Install Web Server

Install Apache Web Server Connect to the SRV-Video server using PuTTY. 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: apt -y install apache2 php7.2 li...
by LHammonds
Wed May 09, 2018 12:46 pm
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Requirements and Domain Resolution

CumulusClips Requirements Source: http://cumulusclips.org/docs/requirements/ 1 GB RAM Linux (Kernel 2.6.32+) PHP 5.3+ MySQL 5.0+ Apache web server 2.x (with mod_rewrite enabled) PHP Modules: POSIX, GD, curl, simplexml, zip, PHP-MySQL and PDO MySQL PHP Settings: short_open_tag = On, upload_max_files...
by LHammonds
Wed May 09, 2018 11:23 am
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

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. Type the following commands: mysql -u root -p Enter password: rootpass CREATE DATABASE ...
by LHammonds
Wed May 09, 2018 11:17 am
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

Server OS Installation

Installation of Database Server This documentation will assume you have installed a separate and dedicated database server according to this article: How To Install MariaDB Installation of Ubuntu Server This documentation will assume you have installed Ubuntu Server according to this article: How t...
by LHammonds
Wed May 09, 2018 10:49 am
Forum: Tutorials
Topic: How to install CumulusClips on Ubuntu Server 18.04 LTS
Replies: 8
Views: 115

How to install CumulusClips on Ubuntu Server 18.04 LTS

WORK-IN-PROGRESS ------------------- WORK-IN-PROGRESS ------------------- On Hold for other projects ------------------- WORK-IN-PROGRESS ------------------- 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 ad...
by LHammonds
Mon May 07, 2018 10:39 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Additional Security Measures

Rename root You can rename the root account to something else with the following commands: USE mysql; UPDATE USER SET User='NewSecretRoot' WHERE User='root'; FLUSH PRIVILEGES; Review User Accounts SELECT User,Host,Password FROM mysql.user; Make sure everyone has a password set. If there are any hos...
by LHammonds
Mon May 07, 2018 9:13 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

phpMyAdmin

Web Front-end Someone asked if there was a graphical way to manage the server. After a long sigh, I mentioned that phpmyadmin is a popular front-end. Here is how you install it: apt install phpmyadmin I would recommend uninstalling it after your initial setup since having an Apache web service tend...
by LHammonds
Fri May 04, 2018 7:20 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Fail2Ban

Fail2Ban If you have Fail2Ban installed and protecting SSH as part of the base install. You can add these few changes to also watch for database login failures. vi /etc/fail2ban/jail.local Add the following to the bottom. If your data path is different, be sure to update "logpath" [DEFAULT] ## 127....
by LHammonds
Fri May 04, 2018 7:18 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Crontab Schedule

Crontab Schedule I would not advise anyone to ever "edit" a live crontab schedule by typing "crontab -e" but rather edit a saved schedule file and then load the schedule file. This will allow you to make backups of the schedule so you can always go back to a known-good schedule or at least back to ...
by LHammonds
Fri May 04, 2018 7:17 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Migration

Migrate Database from Old Server You can use the full backup automatically made by the "db-backup.sh" script (/bak/mysql/db-all.sql) if you have that already running or you can create a manual backup. The steps below will document how to do it manually but you could just as easily use your existing...
by LHammonds
Fri May 04, 2018 7:17 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Backup Individual Database

Database Backup On Demand This script is designed to run every minute looking for key files. If a specific file shows up on the samba share, it will trigger an immediate backup of the specified database. This is helpful when scheduling the backup of an app server and coordinating the backup of the ...
by LHammonds
Fri May 04, 2018 7:16 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Backup All Databases

MySQL Backup Script This script is designed to perform a full backup of all databases while the server is online. It actually does three kinds of backups. First, it pulls all the databases into a single file which is good for restoring everything on new servers. It then pulls by database to create ...
by LHammonds
Fri May 04, 2018 7:16 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Scripting

Scripting Much of the solutions beyond this point involve scripts (programming snippets / automated commands). In particular, they are Bash Scripts. I chose this due to its popularity and the fact it comes with Ubuntu. I try to make use of what comes with the system without requiring additional sof...
by LHammonds
Fri May 04, 2018 7:15 am
Forum: Tutorials
Topic: How to Install MariaDB on Ubuntu Server 18.04 LTS
Replies: 14
Views: 182

Usage Examples

Usage Examples Connect to the server using PuTTY. At the login prompt, login with your administrator account ( administrator / myadminpass ) and then temporarily grant yourself super user privileges by typing sudo su Start a database session and create a database called minecraft and a user called ...