How to Install FlintCMS on Ubuntu 18.04 LTS

FlintCMS is a free, open supply and content-focused Node.js Content material Administration System that can be utilized to develop easy web sites and blogs. It’s specifically designed for individuals who wish to design the front-end of their web site with none coding data. It’s easy, quick and customizable that permits you to edit your content material on the net with none templates and HTML.

On this tutorial, we are going to clarify how one can set up FlintCMS on Ubuntu 18.04 server.


  • A server operating Ubuntu 18.04.
  • A static IP tackle is configured in your server.
  • A root password is configured in your server.

Getting Began

Let’s begin by updating your system repository with the newest model. You possibly can replace it with the next command:

apt-get replace -y
apt-get improve -y

As soon as the repository is up to date, restart your system to use all of the adjustments.

Set up Required Packages

Subsequent, you’ll need to put in Node.js, Yarna and different required dependencies in your server.

First, add the Node.js and Yarn repository to your server with the next command:

curl -sL | bash -
curl -sS | apt-key add -
echo "deb stable main" | tee /and so forth/apt/sources.record.d/yarn.record

Subsequent, replace the repository with the next command:

apt-get replace -y

Subsequent, set up Node.js, Yarn and different required dependencies with the next command:

apt-get set up nodejs yarn git zlib1g-dev build-essential libpq-dev libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev -y

Set up Ruby and MongoDB

Subsequent, you’ll need to put in Ruby along with your native profile settings.

First, arrange native profile for Ruby with the next command:

git clone ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
git clone ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc

Subsequent, set up the newest model of Ruby with the rbenv command as proven beneath:

rbenv set up 2.6.3
rbenv world 2.6.3

You too can test the Ruby model with the next command:

ruby -v

Subsequent, set up MongoDB database with the next command:

apt-get set up mongodb
npm set up nosql

As soon as the set up has been accomplished, you may proceed to put in FlintCMS.

Set up FlintCMS

First, create a brand new undertaking listing for FlintCMS with the next command:

mkdir /root/flintcms

Subsequent, set up FlintCMS beneath undertaking listing with the next command:

cd flintcms
npm set up flintcms

Subsequent, create a brand new JavaScript file named index.js to outline an entry level.

nano index.js

Add the next traces:

const Flint = require('flintcms');
 const flintServer = new Flint({
   siteName: 'My Superb Flint Website!'

Save and shut the file, when you find yourself completed. Then, create a .env file with the next command:

nano /root/flintcms/.env

Add the next traces:

# Secret settings
 # Mongo Credentials
 DB_HOST= a look at

Save and shut the file, when you find yourself completed. Then, run the server by operating the next command:

node index.js

As soon as the server has been began, it’s best to see the next output:

    ?                                                                                             ?
    ?                              Welcome to your FlintCMS server!                               ?
    ?                                                                                             ?
    ?                        You possibly can entry it right here: http://localhost:4000                        ?
    ?   Establishing your server for the primary time? Go right here: http://localhost:4000/admin/set up   ?
    ?                                                                                             ?

Entry FlintCMS Web Interface

FlintCMS is now began and operating on port 4000. Open your net browser and kind the URL http://yourserverip:4000/admin/install to begin the set up. You must see the next web page:

Flint CMS Login

Present your admin electronic mail tackle, username and password. Then, click on on the Create Account button. You must see the next web page:

FlintCMS Dashboard

Congratulations! you’ve gotten efficiently put in FlintCMS on Ubuntu 18.04 server. Now you can simply create your individual web site and weblog utilizing FlintCMS. Be happy to ask me when you’ve got any questions.

Hitesh Jethva

About Hitesh Jethva

Over eight years of expertise as a Linux system administrator. My abilities embody a depth data of Redhat/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, website hosting, net server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon net companies, WHMCS, OpenStack Cloud, Postfix Mail Server, Safety and so forth.

OurPact returns to App Retailer, reviving debates about Apple’s impartiality

Previous article

The Snapdragon 855 is getting an improve to the Snapdragon 855+

Next article

You may also like


Leave a Reply

More in Apache