Thursday, 24 September 2015
Tuesday, 15 September 2015
MySQL Server Installation On Centos7
04:27:00 Unknown
For live example please visit our youtube channel https://youtu.be/Kneb93gSoRg
MySQL server is most popular database management system widely used with opensource applications. In this article we discuss about MySQL server installation in Linux (CentOS7).
Note - All commands are tested with Centos7 platform.
Step 1 - wget installation. You can use command wget to download from command line.
"yum install wget"
Step 2 - Download mysql-server repository using below command
Step 3 - Install mysql repository
rpm -ivh mysql-community-release-el7-5.noarch.rpm
Step 4 - Mysql-Server installation
yum install mysql-server
Step 5 - After successful installation start / stop / restart / status service using,
systemctl start mysqld
systemctl stop mysqld
systemctl restart mysqld
systemctl status mysqld
Step 6 - Configure Mysql server security using
mysql_secure_installation
Using above command you can set mysql root password and basic security settings.
So you successfully install MySQL server on CentOS7.
Any doubts feel free to post commands.
Discourse Installation In Centos 7 With Docker
04:06:00 Unknown
For video tutorial watch the above You Tube video
https://youtu.be/OvUBAqAHd6Q
Discourse is an opensource software for discussion(forum) platform for more details visit www.discourse.org. Below step help you to install discourse in Centos 7 with Docker container,
(Insert commands without hash)
Step 1. Before start installation update Centos
"yum update -y"
Step 2. Install wget & git
"yum install -y wget git"
Step 3. Enable EPEL repository so you can install some extra packages:
"cd /tmp"
"wget http://dl.fedoraproject.org/pub/e/epel/7/x86_64/epel-release-5-7.noarch.rpm"
"sudo rpm -Uvh epel-release-5*.rpm"
Step 4. Install Docker
"sudo yum -y install docker-io"
Step 5. Start Docker as service
"sudo service docker start"
Step 6. Configure Docker to start on startup
"sudo chkconfig docker on"
Step 7. Install Discourse
"mkdir /var/discourse"
"git clone https://github.com/discourse/discourse_docker.git /var/discourse"
Step 8. Change directory
"cd /var/docker"
"cp samples/standalone.yml containers/app.yml"
Step 9. Edit app.yml
Add you smtp detail (use correct email details this required for activation)
Step 10. Discourse installation command
"cd /var/discourse"
"./launcher bootstrap app"
Step 11. Start Discourse
"var /docker/launcher start app"
Step 12. Open browser and enter you server ip it will show discourse page
Signup for activating admin acount (Use the same email that you enter in app.yml)
After successful signup you got activation email.
Note : When ever you made a change in "app.yml" you should run
"./launcher rebuild app"
You have successfully installed Discourse any doubts feel free to post on comment.
Subscribe to:
Posts (Atom)