+wget https://wordpress.org/latest.tar.gz
+cp wp-config-sample.php wp-config.php
+curl https://api.wordpress.org/secret-key/1.1/salt/ > wp-keys.txt
+sudo sed -i '/#@-/r wp-keys.txt' wp-config.php
+sudo sed -i "/#@+/,/#@-/d" wp-config.php
+ sudo sed -i "s/database_name_here/$1/" wp-config.php
+ sudo sed -i "s/username_here/$1/" wp-config.php
+ sudo sed -i "s/password_here/$1/" wp-config.php
+ echo "apache port (4 numbers):"
+ cat > /etc/apache2/sites-available/$1.conf <<EOF
+ DirectoryIndex index.html index.php
+ DocumentRoot /var/www/$1/
+<Directory "/var/www/$1/">
+ ErrorLog /var/log/error.log
+ CustomLog /var/log/access.log combined
+ sudo service apache2 reload
+sudo chown -R bozdoz:www-data ./