To create a account
Virtualmin >> Create virtual server >>Create server
Installing Wordpress site
1.Create a MySQL Database and User for WordPress
#mysql -u root -p
CREATE DATABASE wordpress; CREATE USER wordpressuser@localhost IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password'; FLUSH PRIVILEGES; exit
2.Install WordPress
#wget http://wordpress.org/latest.tar.gz #tar xzvf latest.tar.gz #cd /wordpress #cp wp-config-sample.php wp-config.php #vi wp-config.php
Fill in the values of these parameters with the information for the database that you created.
// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'wordpress');
/** MySQL database username */ define('DB_USER', 'wordpressuser');
/** MySQL database password */ define('DB_PASSWORD', 'password');
4.Complete Installation Through the Web Interface
http://server_domain_name_or_IP on browser and complete the installation
====================================================================
|