Drupal is a popular open-source content management platform. In this article, we will show you how to install Drupal 7 on a AKLWEB HOST server based on the One-Click LEMP application.<\/p>\n
Deploy a One-Click LEMP app on your AKLWEB HOST account. Once the app has finished installing, login as the root user. You may also login as a non-root user, but you will need to use the\u00a0 Display the MySQL root password in the terminal, then log into MySQL using that password.<\/p>\n Setup a MySQL database for Drupal. Substitute the database name ( First, delete the default template files created by AKLWEB HOST.<\/p>\n At the time of writing, the latest stable version of Drupal is 7.37. Download and unzip the Drupal package to a user-friendly directory by running the following commands.<\/p>\n Remove the archive file that you just downloaded.<\/p>\n Before the installation, you need to copy the default configuration file\u00a0 Also, you need to add write permissions to directory\u00a0 Visit\u00a0 On the step of “Choose profile”, you can choose “Standard” to use the standard settings. If you are an experienced Drupal user, you can choose “Minimal” to customize your installation. Click the button labeled “Save and continue”.<\/p>\n On the step of “Choose language”, click “Save and continue” to use English (built-in). If you want to use a language other than English, click the “Learn how to install Drupal in other languages” link.<\/p>\n On the step of “Set up database”, you need to input database parameters as specified below.<\/p>\n Remember to replace the database name\u00a0 On the step of “Configure site”, the installation wizard will notify you to remove write permissions to directory\u00a0 Next, input the site name, site email address, administrator’s username, password, and email address from your browser. Select the default country and time zone. Click “Save and continue” to proceed.<\/p>\n On the step of “Finished”, click “Visit your new site” to finish the installation.<\/p>\n That’s it. You have installed Drupal 7 onto your AKLWEB HOST VPS.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[242,245],"manual_kb_tag":[501],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3018"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=3018"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3018\/revisions"}],"predecessor-version":[{"id":3019,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3018\/revisions\/3019"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=3018"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3018"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=3018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}sudo<\/code>\u00a0command throughout this tutorial.<\/p>\n
Step one: Create a database<\/h3>\n
cat \/root\/.my.cnf\r\nmysql -u root -p\r\n<\/code><\/pre>\n
drupal<\/code>) and the username\/password (
myusername<\/code>\/
mypassword<\/code>) in the example below, if you would like.<\/p>\n
create database drupal;\r\ncreate user 'myusername'@'localhost' identified by 'mypassword';\r\ngrant all privileges on drupal.* to 'myusername'@'localhost' identified by 'mypassword' with grant option;\r\nflush privileges;\r\nexit;\r\n<\/code><\/pre>\n
Step two: Download the Drupal package<\/h3>\n
cd \/usr\/share\/nginx\/html\/\r\nrm -f background.jpg index.php logo.png\r\n<\/code><\/pre>\n
wget http:\/\/ftp.drupal.org\/files\/projects\/drupal-7.37.tar.gz\r\ntar --strip-components=1 -zxvf drupal-7.37.tar.gz\r\n<\/code><\/pre>\n
rm -f drupal-7.37.tar.gz\r\n<\/code><\/pre>\n
Step three: Configure and install Drupal from your browser<\/h3>\n
default.settings.php<\/code>\u00a0as a new file called\u00a0
settings.php<\/code>\u00a0in the same directory. Do not simply rename the default file, because you need both files for the Drupal installation.<\/p>\n
cp sites\/default\/default.settings.php sites\/default\/settings.php\r\n<\/code><\/pre>\n
sites\/default<\/code>\u00a0and file\u00a0
sites\/default\/settings.php<\/code>, or you will encounter a permission error.<\/p>\n
chmod a+w sites\/default\r\nchmod a+w sites\/default\/settings.php\r\n<\/code><\/pre>\n
http:\/\/[SERVER_IP]\/<\/code>\u00a0in your browser. Substitute the\u00a0
[SERVER_IP]<\/code>\u00a0with the IP address of your VPS. Follow the on-screen instructions to configure Drupal.<\/p>\n
drupal<\/code>, the database username\u00a0
myusername<\/code>, the database password\u00a0
mypassword<\/code>, and the table prefix\u00a0
drupal_<\/code>\u00a0with your own ones. Do not modify other fields.<\/p>\n
Database type: MySQL, MariaDB, or equivalent\r\nDatabase name: drupal\r\nDatabase username: myusername\r\nDatabase password: mypassword\r\nDatabase table prefix: drupal_\r\n<\/code><\/pre>\n
sites\/default<\/code>\u00a0and file\u00a0
sites\/default\/settings.php<\/code>. Input the following commands in your terminal window:<\/p>\n
chmod a-w sites\/default\r\nchmod a-w sites\/default\/settings.php\r\n<\/code><\/pre>\n