OsTicket/Installing
From r00tedvw.com wiki
(Difference between revisions)
Line 12: | Line 12: | ||
Disallow root login remotely? [Y/n] y | Disallow root login remotely? [Y/n] y | ||
Remove test database and access to it? [Y/n] y | Remove test database and access to it? [Y/n] y | ||
− | Reload privilege tables now? [Y/n] y | + | Reload privilege tables now? [Y/n] y</nowiki> |
− | </nowiki> | + | Test MariaDB password |
+ | <nowiki>~$ mysql -u root -p</nowiki> | ||
==Install Dependencies== | ==Install Dependencies== | ||
<nowiki>~$ sudo yum install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-mcrypt -y </nowiki> | <nowiki>~$ sudo yum install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-mcrypt -y </nowiki> |
Revision as of 02:35, 25 February 2017
Update
~$ sudo yum update -y
Install LAMP
~$ sudo yum install httpd openssl mod_ssl php mariadb mariadb-server mysql -y
Secure MariaDB
~$ sudo systemctl start mariadb.service ~$ sudo systemctl enable mariadb.service ~$ sudo mysql_secure_installation Enter current password for root (enter for none): Set root password? [Y/n] y Remove anonymous users? [Y/n] y Disallow root login remotely? [Y/n] y Remove test database and access to it? [Y/n] y Reload privilege tables now? [Y/n] y
Test MariaDB password
~$ mysql -u root -p
Install Dependencies
~$ sudo yum install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-mcrypt -y