Alumni Med Server Installation

by Little Bear @26 พ.ค. 64 13:02 ( IP : 171...205 ) | Tags : Server

ติดตั้ง Server ใหม่ของ Alumni Med เขียนบันทึกคำสั่งไว้สักหน่อย

sudo nano /etc/php/7.4/fpm/php.ini
sudo systemctl restart apache2

sudo nano /etc/mysql/conf.d/mysqld.cnf
sudo systemctl restart mysql

mkdir alumni
sshfs -p 22 username@example.com:/home/folder/ folder
umount folder

sudo apt update<br />
sudo apt upgrade

sudo apt install apache2 -y
systemctl status apache2

sudo a2dismod ssl
sudo a2enmod ssl

apt install php7.4 php7.4-mysql php-common php7.4-cli php7.4-json php7.4-common php7.4-opcache libapache2-mod-php7.4

apt install mariadb-server mariadb-client
systemctl status mariadb

mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';

sudo systemctl restart apache2<br />
sudo systemctl restart mysql

wget -r --ask-password ftp://user:example.com/

ที่มา

Relate topics