MySQL Master-Slave Replication On Same Server But Different Instances
Master-Slave Replication On Same Server To install MySQL see Install MySQL 8.0 on CentOS 8 I have use 2 different instances of MySQL running on …
Welcome!
Master-Slave Replication On Same Server To install MySQL see Install MySQL 8.0 on CentOS 8 I have use 2 different instances of MySQL running on …
2nd MySQL Instance 1. Add the following line to the default mysql-server.cnf file: server-id=1 port=3306 mysqlx=0 Create a new configuration file: vim /etc/my.cnf.d/mysql-server2.cnf Or copy …
Install MySQL 8.0 on CentOS 8 1. Install the repo: yum install https://repo.mysql.com/mysql80-community-release-el8-1.noarch.rpm 2. Check if repo has successfully been added: yum repolist enabled | …
Apache Vhost 1. First create a directory where all the vhost will be stored (mine will be in /etc/httpd/sites mkdir /etc/httpd/sites 2. Create a new …
Use .htaccess and .htpasswd to authenticate the access to website 1. Edit the AllowOverride None line in your vhost configuration file and change it to …
Rewrite HTTP to HTTPS 1. Edit vhost to add the following lines to it: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] 2. Restart …
Change Apache DocumentRoot 1. Using your text editor (mine will be vim) open the Apache configuration file: vim /etc/httpd/conf/httpd.conf 2. Find the DocumentRoot section: 3. …
Install Apache Web Server 1. First update all the installed package using: yum update -y 2. Next install Apache HTTP Server from the default software …
REPLACE ” nisrasp.serveblog.net ” BY YOUR DOMAIN NAME AND ” 100.100.100.100 ” BY YOUR PUBLIC IP ADDRESS EVERYWHERE. Step 1: Install LAMP Type the following …