uskoro bato, no sikiriki
sudo apt-get update -y
sudo apt-get install -y apache2
sudo chmod -R 777 /var/www
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt install -y php7.3
sudo apt-get install -y php-ssh2
sudo a2enmod rewrite
sudo systemctl restart apache2
sudo nano /etc/apache2/apache2.conf
---------------------------------------
scroll to down:
<Directory /var/www/> &
replace this line:
AllowOverride None |> AllowOverride All
Database (MariaDB) & phpmyadmin:
(https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04)
For fix problem "Not found" with phpmyadmin:
(https://stackoverflow.com/a/46151947)
For problem with root login:
(https://stackoverflow.com/a/52382478)
sudo apt-get install -y proftpd
more settings:
(https://mxforge.com/linux-windows/install-proftpd-with-tls-on-ubuntu-20-04-lts/)
sudo apt-get install -y zip, unzip, screen
wget https://github.com/mrv-gamepanel/mrv.gp.open/archive/refs/heads/master.zip
config file: /core/inc/config.php
https://linuxgsm.com/lgsm/sampserver/
sudo yum install httpd
sudo chmod -R 777 /var/www
sudo install php
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php73
yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo
sudo nano /etc/httpd/conf/httpd.conf
<Directory /var/www/html>
AllowOverride All
</Directory>
sudo systemctl restart httpd
(https://tweenpath.net/enable-mod_rewrite-apache-centos-7/)
yum install gcc php-devel libssh2 libssh2-devel php-pear make
pecl install -f ssh2
echo extension=ssh2.so > /etc/php.d/ssh2.ini
service httpd restart
(https://www.svnlabs.com/blogs/install-ssh2-extension-for-php-7-on-centos-7/)
yum install -y screen, zip, unzip
sudo yum install mariadb-server
sudo systemctl start mariadb.service
sudo mysql_secure_installation
sudo yum install phpmyadmin