Page In Progress
Note: This page is a placeholder for a future update. Installation and Setup pages will be updated at a future release.
If you currently require installation, setup, or licensing assistance, please contact 6connect support at support@6connect.com.
Installation of Apache2 and PHP7.2 on Debian/Ubuntu
Add repository for PHP7.2
apt-get install -y software-properties-common
add-apt-repository -y ppa:ondrej/php
apt-get update -y
Install the necessary packages
sudo apt-get install build-essential curl apache2 libmcrypt-dev php-pear vim bind9 bind9utils bind9-doc dnsutils zip mysql-server-5.7 php7.2 libapache2-mod-php7.2 php7.2-curl php7.2-mysql php7.2-gd php7.2-ldap php7.2-dev php7.2-bcmath php7.2-ssh2 php7.2-radius snmpd wget nmap expect whois update-manager-core apache2-utils libwww-perl ntp php7.2-imap php7.2-soap php7.2-mbstring php7.2-simplexml composer
Configure Apache2 webserver
sudo a2enmod php7.2
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.2
sudo a2enmod rewrite
Setting the mysql server
mysql -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOUR_ROOT_PASSWORD'"
Installation of Apache2 and PHP7.2 on CentOS
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
yum -q -y --enablerepo=remi,remi-php72 install curl httpd libmcrypt-devel php-pear vim bind bind-utils zip mysql-server php php-common php-curl php-mysql php-gd php-ldap php-devel php-bcmath php-ssh2 php-radius net-snmp net-snmp-utils wget nmap expect whois perl-libwww-perl perl-DBI perl-DBD-MySQL perl-GD ntp perl-CPAN openssl-devel mod_ssl php-imap php-soap php-mbstring php-simplesaml composer
MYSQLPASS=`grep "A temporary password is generated for " /var/log/mysqld.log | awk -F"localhost: " '{print $2}'`
mysql --connect-expired-password -u root -p"$MYSQLPASS" -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOUR_MYSQL_PASSWORD'"