prliner.blogg.se

Install pwgen centos 7
Install pwgen centos 7







  1. Install pwgen centos 7 install#
  2. Install pwgen centos 7 update#

Using root user is not recommended for the databases. Once the database is created you can create a new user and grant all the permissions to the user for the database. Make sure that you use semicolon at the end of each query as the query always ends with a semicolon. The above query will create a database named mailtrain. CREATE DATABASE mailtrain CHARACTER SET utf8 COLLATE utf8_general_ci Now run the following query to create a new database for your Mailtrain installation. This will prompt you for the password, provide the root password of MySQL which you have set earlier. To create a database we will need to login to MySQL command line first. Mailtrain requires two databases users to work, one for administering the Mailtrain database and another for generating the worker reports. Most of the questions are self-explanatory and you should answer yes or y to all the questions. It will also ask you for removing test databases and anonymous users. It will ask you if you want to set a root password for your MariaDB installation, choose y and set a strong password for the installation. As we have just installed MariaDB, the root password is not set, just press enter to proceed further. It will run a small script which asks you to provide the root password for MariaDB. Now run the following commands to secure your MySQL or MariaDB installation. To start MariaDB and enable it to start at boot time using the following commands. nano /etc//mariadb.repoĪdd the following lines to the file. Install MariaDB repository into your system.

Install pwgen centos 7 install#

To store Mailtrain database we will need to install MariaDB. Node.js is a very popular JavaScript runtime and Nodemailer is a module for Node.js applications to send emails.Īdd Node.js 8.x repository: curl -silent -location | sudo bash. Node.js is required by Mailtrain as it is built using Nodemailer.

Install pwgen centos 7 update#

If you are logged in as a non-root user, you can run sudo -i to switch to root user.īefore installing any package it is recommended that you update the packages and repository using the following command. You will need a minimal installation of CentOS 7 with root access on it. All the required dependencies will be installed throughout the tutorial.









Install pwgen centos 7