-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvhost.conf
executable file
·30 lines (23 loc) · 893 Bytes
/
vhost.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
sudo apt update
sudo apt upgrade
sudo apt install apache2
sudo apt install ca-certificates apt-transport-https software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.0 libapache2-mod-php8.0
sudo apt install php8.0-fpm libapache2-mod-fcgid
sudo a2enconf php8.0-fpm
sudo a2dissite 000-default.conf
sudo touch uhppote.ashleybailey.me.conf
sudo nano uhppote.ashleybailey.me.conf
sudo a2ensite uhppote.ashleybailey.me.conf
sudo systemctl restart apache2
sudo git clone https://github.com/realashleybailey/Uhppote-PHP.git /var/www/Uhppote-PHP
sudo a2enmod rewrite
sudo systemctl restart apache2
sudo apt install composer
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/bin --filename=composer
sudo apt install wget php-cli php-zip unzip
sudo apt-get install php8.0-curl