mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-02-28 13:13:00 +00:00
Update x-ui.sh
deleted 'sudo'
This commit is contained in:
parent
aea0b38145
commit
9e669d416e
1 changed files with 4 additions and 4 deletions
8
x-ui.sh
8
x-ui.sh
|
|
@ -1763,14 +1763,14 @@ create_honeypot() {
|
||||||
</VirtualHost>""" >> /etc/apache2/sites-available/spacesaver.conf
|
</VirtualHost>""" >> /etc/apache2/sites-available/spacesaver.conf
|
||||||
|
|
||||||
# Restarting apache server
|
# Restarting apache server
|
||||||
sudo systemctl reload apache2
|
systemctl reload apache2
|
||||||
|
|
||||||
# Access rights to HoneyPot's files
|
# Access rights to HoneyPot's files
|
||||||
sudo chown -R www-data:www-data /var/www/html/SpaceSaver
|
chown -R www-data:www-data /var/www/html/SpaceSaver
|
||||||
sudo chmod -R 755 /var/www/html/SpaceSaver
|
chmod -R 755 /var/www/html/SpaceSaver
|
||||||
chmod 644 /var/www/html/SpaceSaver/index.html
|
chmod 644 /var/www/html/SpaceSaver/index.html
|
||||||
|
|
||||||
sudo systemctl reload apache2
|
systemctl reload apache2
|
||||||
|
|
||||||
echo -e "${green}${plain}Done!"
|
echo -e "${green}${plain}Done!"
|
||||||
echo -e "${green}${plain}Available here -> http://$server_ip:80"
|
echo -e "${green}${plain}Available here -> http://$server_ip:80"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue