OsTicket/Installing
From r00tedvw.com wiki
(Difference between revisions)
Line 4: | Line 4: | ||
<nowiki>~$ sudo yum install httpd openssl mod_ssl php mariadb mariadb-server mysql -y </nowiki> | <nowiki>~$ sudo yum install httpd openssl mod_ssl php mariadb mariadb-server mysql -y </nowiki> | ||
Secure MariaDB | Secure MariaDB | ||
− | <nowiki>~$ mysql_secure_installation</nowiki> | + | <nowiki>~$ 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 | ||
+ | </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:33, 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
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