SUSE

68B64DCC9B93F0 2531302096000 https://software.opensuse.org/download/package?package=php7&project=openSUSE%3ALeap%3A15.1%3AUpdate zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.1:Update/standard/openSUSE:Leap:15.1:Update.repo zypper refresh zypper install php7 For ports run the following as root: zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.1:Update/ports/openSUSE:Leap:15.1:Update.repo zypper refresh zypper install php7 wget https://github.com/phpipam/phpipam/archive/1.4.tar.gz https://www.howtoforge.com/how-to-install-phpipam-on-ubuntu-1804/ mariadb-client mysql_secure_installation Enter current password for root (enter for none): Enter current password. Change root password? N Remove anonymous users? Y Disallow root login remotely? Y Remove test database and access to it? Y Reload privilege tables now? Y $ mysql -u root -p CREATE DATABASE phpipam; GRANT ALL ON phpipam.* TO phpipam@localhost IDENTIFIED BY 'StrongDBPassword'; FLUSH PRIVILEGES; QUIT; a2enmod rewrite systemctl restart apache2 cd /var/www/html/phpipam cp config.dist.php config.php chmod -R 755 /var/www/html/phpipam nano config.php mysql -u root -p phpipamdb < db/SCHEMA.sql nano /etc/apache2/sites-available/phpipam.conf ServerAdmin [email protected] DocumentRoot "/var/www/html/phpipam" ServerName example.com Options Indexes FollowSymLinks AllowOverride All Require all granted ErrorLog "/var/log/phpipam-error_log" CustomLog "/var/log/phpipam-access_log" combined a2ensite phpipam a2enmod rewrite systemctl restart apache2 systemctl status apache2

猜你喜欢

转载自www.cnblogs.com/On-way-Lu/p/12664294.html