• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Directus CMS 6.6v on Ubuntu 18.10

  • 01:07 wget https://github.com/directus/directus/archive/master.zip
  • 01:19 unzip master.zip
  • 01:30 mv directus-master/ final
  • 01:44 chown -R www-data. ./
  • 01:53 chmod -R 775 ./
  • 02:00 vim /etc/apache2/sites-available/d.conf
  • 02:21 a2dissite 000-default.conf
  • 02:27 a2ensite d.conf
  • 02:30 a2enmod rewrite
  • 02:38 systemctl restart apache2
{{postValue.id}}

Installation Of Directus CMS 7v On Ubuntu 18.10

Requirements:

Apache 2.2+

PHP 7.1+

MariaDB 5.5

PHP Modules:

php php-gd php-curl php-mbstring php-zip php-mcrypt

Download Link

click here to download Directus CMS

Change the directory to Apache’s Document root directory

root@linuxhelp:~# cd /var/www

Create a directory for directus cms

root@linuxhelp:/var/www# mkdir d

Change the directory to d to install directus cms

root@linuxhelp:/var/www# cd d

Download the Directus CMS by executing the following command

root@linuxhelp:/var/www/d# wget https://github.com/directus/directus/archive/master.zip
--2019-04-23 01:26:17--  https://github.com/directus/directus/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/directus/directus/zip/master [following]
--2019-04-23 01:26:18--  https://codeload.github.com/directus/directus/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                        [                                   <=>         ]   9.77M   767KB/s    in 12s     

2019-04-23 01:26:31 (841 KB/s) - ‘master.zip’ saved [10247113]

List the contents to view the downloaded file of Directus CMS

root@linuxhelp:/var/www/d# ll
total 10016
drwxr-xr-x 2 root root     4096 Apr 23 01:26 ./
drwxr-xr-x 4 root root     4096 Apr 23 01:25 ../
-rw-r--r-- 1 root root 10247113 Apr 23 01:26 master.zip

Extract the zip file of Directus CMS using unzip.

root@linuxhelp:/var/www/d# unzip master.zip 
Archive:  master.zip
d364658a3afff693c41f258c88b8079db9914b40
   creating: directus-master/
   creating: directus-master/.github/
   creating: directus-master/.github/ISSUE_TEMPLATE/
  inflating: directus-master/.github/ISSUE_TEMPLATE/Bug_report.md  
  inflating: directus-master/.github/ISSUE_TEMPLATE/Feature_request.md  
.
.
.
.
.
inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php  
  inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/Iconv.php  
  inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php  
  inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/MbString.php  
  inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php  
  inflating: directus-master/vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php  
finishing deferred symbolic links:
  directus-master/vendor/bin/phinx -> ../robmorgan/phinx/bin/phinx
  directus-master/vendor/bin/phpunit -> ../phpunit/phpunit/phpunit

List the contents to view the extracted files and folders that had created during extraction

root@linuxhelp:/var/www/d# ll
total 10020
drwxr-xr-x  3 root root     4096 Apr 23 01:26 ./
drwxr-xr-x  4 root root     4096 Apr 23 01:25 ../
drwxr-xr-x 10 root root     4096 Apr 22 14:27 directus-master/
-rw-r--r--  1 root root 10247113 Apr 23 01:26 master.zip

Rename the new directory that has created during extraction

root@linuxhelp:/var/www/d# mv directus-master/ final

change the directory to final

root@linuxhelp:/var/www/d# cd final

List the contents in the final directory

root@linuxhelp:/var/www/d/final# ll
total 96
drwxr-xr-x 10 root root  4096 Apr 22 14:27 ./
drwxr-xr-x  3 root root  4096 Apr 23 01:27 ../
drwxr-xr-x  2 root root  4096 Apr 22 14:27 bin/
-rw-r--r--  1 root root  1935 Apr 22 14:27 composer.json
drwxr-xr-x  2 root root  4096 Apr 22 14:27 config/
drwxr-xr-x  3 root root  4096 Apr 22 14:27 .github/
-rw-r--r--  1 root root   910 Apr 22 14:27 .gitignore
-rw-r--r--  1 root root 35662 Apr 22 14:27 LICENSE.md
drwxr-xr-x  2 root root  4096 Apr 22 14:27 logs/
drwxr-xr-x  4 root root  4096 Apr 22 14:27 migrations/
drwxr-xr-x  6 root root  4096 Apr 22 14:27 public/
-rw-r--r--  1 root root 10892 Apr 22 14:27 README.md
drwxr-xr-x  7 root root  4096 Apr 22 14:27 src/
drwxr-xr-x 33 root root  4096 Apr 22 14:27 vendor/

Assign ownership permissions to the final directory

root@linuxhelp:/var/www/d/final# chown -R www-data. ./

Assign Writable permissions to the final directory

root@linuxhelp:/var/www/d/final# chmod -R 775 ./

Create a customised configuration file for Directus CMS

root@linuxhelp:/var/www/d/final# vim /etc/apache2/sites-available/d.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/d/final/public/

<directory /var/www/d/final/>
allowoverride all
allow from all
</directory>
</virtualhost>

Disable the access to all the default sites.

root@linuxhelp:/var/www/d/final# a2dissite 000-default.conf 
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the site access to d.conf

root@linuxhelp:/var/www/d/final# a2ensite d.conf 
Enabling site d.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the rewrite module

root@linuxhelp:/var/www/d/final# a2enmod rewrite 
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Restart the service of Apache.

root@linuxhelp:/var/www/d/final# systemctl restart apache2

Log in to the MariaDB database using root password and configure the database for directus CMS

root@linuxhelp:/var/www/d/final# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database d character set utf8mb4;
Query OK, 1 row affected (0.05 sec)

MariaDB [(none)]> use d;
Database changed

MariaDB [d]> create user user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.02 sec)

MariaDB [d]> grant all on d.* to user@localhost;
Query OK, 0 rows affected (0.00 sec)

MariaDB [d]> flush privileges;
Query OK, 0 rows affected (0.02 sec)

MariaDB [d]> exit
Bye

Open the Browser and enter the servername that we set in the configuration file and choose English as a language by clicking next. snap1

Enter the admin credentials snap2

Dashboard of directus CMS gets opened snap3

Therefore ,installation of Directus CMS on Ubuntu 18.10 comes to end.

Tags:
baseer
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What does HeadLess CMS mean In Directus CMS?

A

Headless CMS is a back-end only content management system which makes content accessible via a RESTful API for display on any device. Directus CMS is an open source Headless CMS.

Q

How many types of Data validation available on Directus CMS?

A

The API performs two types of validation on submitted data in Directus CMS

DateType
RegEx

Q

What is mean by SSO in Directus CMS?

A

Directus supports modular Single Sign-On (SSO) authentication services, such as Google and Facebook.

Q

What are the Extension types in Directus CMS?

A

There are few Extension types available in Directus CMS

Interfaces
Layouts
Pages
Hooks
Custom Endpoints
Storage Adapter
Auth Providers

Q

Can I get the Docker source of Directus CMS?

A

Yes, you can get the Docker source of Directus CMS, use the link as follow "https://github.com/directus/docker"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.