Date: Thu, 28 Mar 2024 03:14:21 -0700 (PDT) Message-ID: <2109613725.217.1711620861500@docs-lju.6connect.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_216_722914723.1711620861494" ------=_Part_216_722914723.1711620861494 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Page In Progress
=Note: This page is a placeholder for a future update. Installation and S= etup pages will be updated at a future release.
If you currently require installation, setup, or licensing assistance, p= lease 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
<=
/span>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 v=
im bind9 bind9utils bind9-doc dnsutils zip mysql-server-5.7 php7.2 libapach=
e2-mod-php7.2 php7.2-curl php7.2-mysql php7.2-gd php7.2-ldap php7.2-dev php=
7.2-bcmath php7.2-ssh2 php7.2-radius snmpd wget nmap expect whois upda=
te-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_nati=
ve_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.c=
om/enterprise/remi-release-7.rpm
rpm -Uvh https://dev.mysql.=
com/get/mysql57-community-release-el7-9.noarch.rpm
yum -q -y --enablerepo=3Dremi,remi-php72 install curl httpd libmcrypt-deve=
l 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 ne=
t-snmp-utils wget nmap expect whois perl-libwww-perl perl-DBI perl-DBD-MySQ=
L perl-GD ntp perl-CPAN openssl-devel mod_ssl php-imap php-soap php-mbstrin=
g php-simplesaml composer
MYSQLPASS=3D`grep "A temporary password is generated for " /var/log/mysq=
ld.log | awk -F"localhost: " '{print $2}'`
mysql --connect-expired-password -u root -p"$MYSQLPASS" -e "ALTER USER 'ro=
ot'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOUR_MYSQL_PASSWO=
RD'"