• 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 on MX Linux 17

{{postValue.id}}

To install Directus on MX Linux 17

Directus is a free and open source headless content management system written in Backbone.js that provides a feature-rich environment for fast development and management of custom database schemas. It is used to manage the content and providing a feature-rich environment for rapid development and management of custom database schemas. In this tutorial, we will cover the installation of Directus on MX Linux 17.

Prerequisites

Install LAMP(Apache, MariaDB, php7)

In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Directus package using the following URL

root@linuxhelp:~# wget https://codeload.github.com/directus/directus/zip/build -O directus.zip
--2018-09-15 03:01:04--  https://codeload.github.com/directus/directus/zip/build
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: ‘directus.zip’

directus.zip                 [                           <=>     ]   7.52M  1.11MB/s    in 8.1s    

2018-09-15 03:01:14 (955 KB/s) - ‘directus.zip’ saved [7881990]

After Downloading extract the downloaded package

root@linuxhelp:~# unzip build
Archive:  build
06a4c71069068f465b98c02d504f14fc74655480
   creating: directus-build/
  inflating: directus-build/.htaccess  
   creating: directus-build/api/
  inflating: directus-build/api/.htaccess  
  inflating: directus-build/api/api.php
.
.
   creating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php  
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/Iconv.php  
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php  
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/MbString.php  
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php  
  inflating: directus-build/vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php  

Move the extracted file into the HTML directory

root@linuxhelp:~# mv directus-build /var/www/

Navigate to the apache document root directory

root@linuxhelp:~# cd /var/www/

Change ownership and permission of the as Directus follows

root@linuxhelp:/var/www# chown -R www-data.www-data directus-build
root@linuxhelp:/var/www# chmod -R 775 directus-build

Create a new virtual host configuration for accessing the Directus

root@linuxhelp:/var/www# vim /etc/apache2/sites-available/directus.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot  /var/www/directus-build/

<Directory /var/www/directus-build/>
AllowOverride All
Allow from all
</Directory>

</VirtualHost>

Enable site access

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

Disable default access

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

Enable rewrite module

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

Restart the apache service to make the changes effect

root@linuxhelp:/var/www# service apache2 restart
[ ok ] Restarting Apache httpd web server: apache2.

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name 1

Choose the language for using Directus as shown below 2

Configure the Project and Admin user setup as follows 3

Configure the Database setup as follows 4

Verify the compatibility for installing Directus as shown below 5

After the configuration, you will see the Login page as shown below, You can log in using the admin user credentials 6

After the Successful login, you will see the Admin dashboard of Directus as shown below 7

With this, the method to install Directus on MX Linux 17 comes to an end.

Tags:
lucas
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Where do I get API reference of Directus CMS?

A

To get API reference of Directus CMS, visit https://docs.directus.io/api/reference.html

Q

Where do you enable Authentication for API reference for Directus CMS?

A

To enable Authentication with API reference visit https://docs.directus.io/api/reference.html#authentication

Q

Where can I get stable Package for Directus CMS?

A

You can get the stable package for Directus CMS from https://codeload.github.com/directus/directus/zip/master

Q

What is Directus CMS?

A

Directus is a free and open source headless content management system written in Backbone.js that provides a feature-rich environment for fast development and management of custom database schemas. It is used to manage the content and providing a feature-rich environment for rapid development and management of custom database schemas.

Q

How to access the Official documentation for the Directus CMS?

A

For accessing the Official documentatio of the Directus CMS, use the following link as given below "https://docs.getdirectus.com/6.4.0/#Login

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.