- How to fully install the XUI panel.
- Get an SSL certificate for the domain.
- Install Google BBR.
- Disable Google reCAPTCHA
- Installing WordPress on the server.
apt update && apt upgrade -y
apt install curl socat -y
curl https://get.acme.sh | sh
~/.acme.sh/acme.sh --set-default-ca --server letsencrypt
~/.acme.sh/acme.sh --register-account -m name@gmail.com
~/.acme.sh/acme.sh --issue -d sub.host.top --standalone
~/.acme.sh/acme.sh --installcert -d sub.host.top --key-file /root/private.key --fullchain-file /root/cert.crt
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/NidukaAkalanka/x-ui-english/master/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh)
Panel certificate public key file path:
/root/cert.crtPanel certificate key file path:/root/private.key
ufw enable
ufw allow 22/tcp
ufw allow 2053/tcp
ufw allow 443/tcp
ufw allow 2087/tcp
ufw allow 2083/tcp
ufw allow 2096/tcp
ufw allow 8443/tcp
ufw allow 80/tcp
ufw allow 8080/tcp
ufw allow 8880/tcp
ufw allow 2052/tcp
ufw allow 2082/tcp
ufw allow 2086/tcp
ufw allow 2095/tcp
ufw status
curl -O https://raw.githubusercontent.com/jinwyp/one_click_script/master/install_kernel.sh && chmod +x ./install_kernel.sh && ./install_kernel.sh
2
12
y
y
1
apt update -y && apt upgrade -y
apt install apache2 -y
apt install mariadb-server mariadb-client -y
mysql_secure_installation
Change Root Password : N
Remove anonymous users: Y
Disallow root login remotely: N
Remove test database: Y
Reload privilege table now? : Y
apt install php php-mysql -y
mysql -u root -p
CREATE DATABASE wordpress_db;
CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON wordpress_db.* TO 'wp_user'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
Exit;
cd /tmp && wget https://wordpress.org/latest.tar.gz
tar -xvf latest.tar.gz
cp -R wordpress /var/www/html/
chown -R www-data:www-data /var/www/html/wordpress/
chmod -R 755 /var/www/html/wordpress/
mkdir /var/www/html/wordpress/wp-content/uploads
chown -R www-data:www-data /var/www/html/wordpress/wp-content/uploads/
cd / && cd /var/www/html
rm index.html
cd wordpress
mv * /var/www/html
cd ..
rm -rf wordpress
mv wp-config-sample.php wp-config.php
nano wp-config.php
https://server-ip-address-or-domain/wordpress