Tutorials :How to install Drupal 7 on Linux

in #utopian-io8 years ago (edited)

On this occasion I will give you a little tutorials on how to install drupal 7 in linuk.

Drupal is one of the CMS based on open source.

What's a CMS? According to wikipedia Content management system (English: content management system, abbreviated as CMS) is software used to add or manipulate (change) the contents of a website. While drupal is one of several types of CMS available on the Internet.

This time the Computer Learning Tutorial will discuss about how to install Drupal 7.31 on Linux (because windows is easy).

You need:

Operating system: Linux

Webserver application: apache2, php5, mysql-server, and phpmyadmin

Drupal. Download from drupalnya website HERE

Screenshot_2017-12-28-15-32-02-955_com.android.chrome.png

Download Drupal tar.gz

I assume you are a linux expert (at least know how to install applications on linux), this time my tutorial using linux debian. So I do not trouble with the first and second points, but if you do not understand you can read and download my slides How to create web and database server on linux Debian

How to install Drupal 7 on Linux

Creating a Database

  • Open your favorite browser and type localhost / phpmyadmin

  • Enter your username and password (default username: root)
    Screenshot_2017-12-28-15-33-24-985_com.android.chrome.png

  • Create a database. How to Select Databases menu - enter database name. Example: tutorkompi

Note: the database name should be remembered!
Screenshot_2017-12-28-15-34-44-367_com.android.chrome.png

Drupal Extract and Access Rights

Caution: if using apache2, php5, mysql-server, and phpmyadmin then the storage directory is in / var / www, but if using xampp (lampp) the directory is in / opt / lampp / htdocs

  • Extract the drupal.tar.gz file that has been downloaded from the official website. I save the file in Documents, type the command to contract:

tar zxvf namafiledrupal.tar.gz -C / var / www/ like this
Screenshot_2017-12-28-15-36-16-573_com.android.chrome.png

  • Go to the / var / www directory where drupal is extracted, type the command:

cd / var / www / like this

Screenshot_2017-12-28-15-37-33-080_com.android.chrome.png

  • Rename drupal-7.30 to belajardrupal (up to your wish), type the command:

mv drupal-7.30 / belajardrupal
Screenshot_2017-12-28-15-38-25-830_com.android.chrome.png

Note: do not forget the name of the directory that has been changed, namely belajardrupal

  • Go to belajardrupal directory -> sites, type the command:

cd belajardrupal / sites / like this

  • Give read write execute permissions to a directory called all in the directory ... / belajardrupal / sites /, type the command:

chmod -R 777 all /
Screenshot_2017-12-28-15-39-11-101_com.android.chrome.png

  • After that enter the default directory that is in the directory ... / belajardrupal / sites /, using the command:

cd default / like this

In the default directory, there is a file named default.settings.php

  • Copy default.settings.php and be settings.php, with the command:

cp default.settings.php settings.php
Screenshot_2017-12-28-15-40-19-037_com.android.chrome.png

  • Give read write execute permissions on the settings.php file, by typing:

chmod 777 settings.php
Screenshot_2017-12-28-15-41-06-133_com.android.chrome.png

  • Create a new directory called filesdan do not forget to grant the same permissions as before, by typing the command:

mkdir files

then

chmod -R 777 files /
Screenshot_2017-12-28-15-43-38-790_com.android.chrome.png

Drupal Installation

  • Open your favorite browser (again) then type url localhost / belajardrupal
    Screenshot_2017-12-28-15-42-34-734_com.android.chrome.png

You still remind belajardrupal is the name of the folder you created at the stage of drupal extract and permissions

  • Select Standart -> Save and Continue
  • Select English (built-in) -> Save and Continue
    Screenshot_2017-12-28-15-46-00-910_com.android.chrome.png

  • Select the database type: Mysql

  • Fill in the name of the database you created during the database creation phase. Namely: tutorkompi

  • Enter your phpmyadmin username and password -> Save and Continue
    Screenshot_2017-12-28-15-47-50-822_com.android.chrome.png

  • The process of copying the existing database in phpmyadmin
    Screenshot_2017-12-28-15-49-13-106_com.android.chrome.png
  • After that fill Sitename, Site email address, username, password, default country, default time zone, and uncheck on Check for updates automatically
    Screenshot_2017-12-28-15-50-02-587_com.android.chrome.png
    Screenshot_2017-12-28-15-50-55-172_com.android.chrome.png

-Congrats! Congratulations you succeeded in making the installation of Drupal 7 in Linux
Screenshot_2017-12-28-15-52-12-503_com.android.chrome.png
Screenshot_2017-12-28-15-53-06-547_com.android.chrome.png

So with CMS we can create dynamic websites that are reliable, easy, fast, and do not need any special skills. Why is that? because CMS does not need to master web programming language in depth like HTML, CSS, PHP, Javascript, etc. (Read: Website For Learning Coding (PHP, JS, Java, JQ, ASP, etc). By using CMS, Drupal is one of you can create a blog that is cool and free as you wish each, create an online store website, and much more.Even there are some people who use CMS to create a forum website on the internet.

thanks yours time...

Sort:  

Please put the codes in the code blocks. Like this.

You can comment below when your are done.

I have fixed it @manishmike10

You haven't fixed the codes.

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly – Featured Posts are voted every 2.4hrs
Join the Curation Team Here

Your contribution cannot be approved because it does not follow the Utopian Rules, and is considered as plagiarism. Plagiarism is not allowed on Utopian, and posts that engage in plagiarism will be flagged and hidden forever.

http://www.teknokomputer.net/2014/09/How-to-install-Drupal-7-on-Linux-full-screenshot.html

You can contact us on Discord.
[utopian-moderator]

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly – Featured Posts are voted every 2.4hrs
Join the Curation Team Here

Hello, you received a boost courtesy of @steemdunk! Steem Dunk is an automated curation platform that is easy and free for use by everyone. Need a boost? Click me

Upvote this comment to support the bot and increase your future rewards!