16 C
Texas
angeloma
Senior Writer and partner

How to install Boltwire CMS on Debian 9?

Practically everyone has a blog to share information. From students to teachers to any user, they like the idea of having a blog. Of course, if we are talking about companies or large information sites, this becomes mandatory. And for that, there are great alternatives like WordPress or Magento. Each one with its advantages and disadvantages. However, they are very complete options and do not always require all your options. Today, in this post, I will show you how to install Boltwire CMS in Debian 9. A powerful and simple CMS ideal for small projects.

Boltwire CMS

Many blogs and all with different needs. That’s why different CMS is required.

Boltwire is a CMS (Content Manager System) that allows you to create blogs quickly and easily. Its main features focus on flexibility and speed. So much so that it does not require a database manager but the same program is responsible for managing the data.

On the other hand, Boltwire stands out for being completely free for our server or VPS. This makes it a solid alternative for personal or even educational projects. Also if our company is starting and we want something basic to start.

- Advertisement -

Although it is free, it has support for Plugins that extend the functionality of the application. In this way, you will have a robust CMS, free and with extra functions to perform the tasks entrusted.

So, let us start.

Install Boltwire CMS on Debian 9

1) Install Apache Web server

First, we need to install the Apache web server. Apache is one of the most used web servers in the world. It is incredibly flexible and above all secure.

To do this, first, log in to your server and then run this command

:~$ su
:~# apt install apache

1.- Install Apache
1.- Install Apache

Once you have finished installing. Let’s check that it’s working. Open your web browser and go to your server http://your-server. You should see this.

2.- Apache default page
2.- Apache default page

So, Apache is running.

2) Install PHP 7.2

Debian is a robust system but some of its packages are not updated. For example, the case of PHP. The version in the repositories is 7.0 but it is recommended to use at least 7.2 for Boltwire.

So, let us do it. First, install some required packages.

:~# apt-get install software-properties-common unzip

Then, read our post about PHP 7.2 on Debian 9 to complete the process.

How to install PHP 7.2 on Debian 9?

Remember to include these PHP modules:

php7.2-mbstring php7.2-xmlrpc php7.2-gd php7.2-xml php7.2-cli php7.2-tidy php7.2-intl php7.2-curl php7.2-zip

Then, you need to change the PHP configuration in order to get better performance.

:~#  nano /etc/php/7.2/apache2/php.ini

And change the following:

file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_filesize = 200M
max_execution_time = 360
date.timezone = Your-TIMEZONE

Press CTRL + O to save the changes and CTRL + X to exit.

Next, create a PHP file on /var/www/html/ to test it.

:~# nano /var/www/html/test.php
<?php
phpinfo();
?>

Restart Apache:

:~# systemctl restart apache2

Then, open it using the web browser. http://your-server/test.php. You will see this.

3.- PHP file info
3.- PHP file info

So, PHP is working.

3) Install Boltwire CMS on Debian 9

Boltwire CMS is very easy to install. To do this, we must first download it. In the terminal, write the following:

:~# cd /tmp/
:~# wget https://www.boltwire.com/files/6/boltwire6.02.zip
:~# unzip boltwire6.02.zip

4.- Decompress the file
4.- Decompress the file

Next, move the file to the Apache web root and change the permissions.

:~# mv boltwire /var/www/html/
:~# chown -R www-data:www-data /var/www/html/boltwire/
:~# chmod -R 755 /var/www/html/boltwire/

After this, it is necessary to create a new virtual host for Boltwire so that it can run perfectly:

:~# nano /etc/apache2/sites-available/boltwire.conf

And add the following:

<VirtualHost *:80>
     ServerAdmin admin@your_domain.com
      DocumentRoot /var/www/html/boltwire
     ServerName your-domain.com

     <Directory /var/www/html/boltwire>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log
     CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined

</VirtualHost>

Obviously, replace your-domain with yours. Save the changes and close the file.

5.- Creating the new virtual host
5.- Creating the new virtual host

Enable the new virtual host and the rewrite module with the following command:

:~# ln -s /etc/apache2/sites-available/boltwire.conf /etc/apache2/sites-enabled/your-domain.conf
:~# a2enmod rewrite
:~# systemctl restart apache2

In my case the virtual domain is osradar.test. Remember to make the necessary changes.

Now we will have to complete the installation from the web.

Complete the installation using the web browser

Now, open your web browser and go to your server to complete the installation. You will see the following.

6.- Install Boltwire CMS on Debian 9
6.- Install Boltwire CMS on Debian 9

After creating the password, you will be asked by the password newly created and the id site.

7.- Boltwire Setup
7.- Boltwire Setup

Next, you can start to create.

8.- Boltwire CMS on Debian 9
8.- Boltwire CMS on Debian 9

Conclusion

Boltwire CMS is a good alternative for our personal blog. It is fast, easy to install and free. So this is a good opportunity to keep moving forward on our projects.

Please share this post with your friends.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article