skip to main |
skip to sidebar
Install Apache
- yum install httpd
- systemctl start httpd.service
- systemctl enable httpd.service
Install MySQL
- yum install mariadb-server mariadb
- systemctl start mariadb
- mysql_secure_installation
- systemctl enable mariadb.service
Install PHP
- yum install php php-mysql
- systemctl restart httpd.service
Install PHPmyadmin
- yum install epel-release
- yum install phpmyadmin
- systemctl restart httpd.service
From the command line:
gpasswd -a webapp wheel
- Download Current Java Runtime Environment from: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
- sudo rpm -Uvh jre-8u45-linux-x64.rpm
- java -version
- sudo rpm -Uvh https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.noarch.rpm
- Define network.host: localhost in /etc/elasticsearch/elasticsearch.yml
- sudo systemctl daemon-reload
- sudo systemctl enable elasticsearch.service
- sudo systemctl start elasticsearch.service
- Execute curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' to make sure the server is up and running