Skip to content

Commit 6f4a408

Browse files
author
Daniel Hansson
authored
set hostname in startup script
1 parent 0931dfa commit 6f4a408

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

wordpress_install.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,6 @@ a2enmod rewrite \
195195
ssl \
196196
setenvif
197197

198-
# Set hostname and ServerName
199-
sudo sh -c "echo 'ServerName wordpress' >> /etc/apache2/apache2.conf"
200-
sudo hostnamectl set-hostname wordpress
201-
service apache2 restart
202-
203198
# Install PHP 7.0
204199
apt install -y \
205200
php \

0 commit comments

Comments
 (0)