(Link)
curl -O https://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
the wp-config.php
sudo cp -a /tmp/wordpress/. /var/www/html/wordpress
vim /var/www/html/wordpress/wp-config.php
to able install theme without hostname
- edit wp-config.php
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
define('FS_METHOD', 'direct');