CMS – TecAdmin https://tecadmin.net How to guide for System Administrator's and Developers Tue, 15 Feb 2022 10:44:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 How To Install and Configure Drupal on Fedora 35/34 https://tecadmin.net/how-to-install-drupal-on-fedora/ https://tecadmin.net/how-to-install-drupal-on-fedora/#respond Thu, 17 Jun 2021 07:46:16 +0000 https://tecadmin.net/?p=25982 Drupal is a free and open-source content management system (CMS), is flexible for building blogs and websites. It is written in PHP programming language and uses MySQL as a backend database. Drupal is available with thousands of add-ons, which makes it highly customizable. You can deploy Drupal on any web server that supports the PHP [...]

The post How To Install and Configure Drupal on Fedora 35/34 appeared first on TecAdmin.

]]>
Drupal is a free and open-source content management system (CMS), is flexible for building blogs and websites. It is written in PHP programming language and uses MySQL as a backend database. Drupal is available with thousands of add-ons, which makes it highly customizable.

You can deploy Drupal on any web server that supports the PHP programming language. In this tutorial, we will provide you with steps to install Drupal with Apache on Fedora Linux systems.

Prerequisites

This tutorial assumes that:

  • You have a running Fedora system with sudo privileged account access
  • Already completed the LAMP Stack on Fedora system.

Step 1 – Installing Drupal on Fedora

1. You can download the latest Drupal version from the Drupal website. Alternatively, download the latest Drupal code using the following command:

wget -O /tmp/drupal.tar.gz https://www.drupal.org/download-latest/tar.gz 

2. Go to the ‘/var/www/’ folder and extract the downloaded durpal.tar.gz file. You can also change the directory to another location. In that case, use the correct folder in the next commands.

cd /var/www 
sudo tar -zxf /tmp/drupal.tar.gz 

3. Rename the extracted drupal directory to remove the version number. If required, you can keep the folder name as it is.

sudo mv drupal-*  drupal-app 

4. Next create a copy of configuration file from template. Change to “drupal-app/sites/default” directory and copy the default.settings.php file to settings.php with cp command:

cd drupal-app/sites/default 
sudo cp -p default.settings.php settings.php 

5. Now, Create a directory named "files" in the current directory drupal-app/sites/default:

sudo mkdir files 

6. Now set the proper file permissions to make it work. Initially set 777 permission to settings.php, which is required to complete installation.

sudo chmod 777 settings.php 
sudo chmod 775 files/ 
sudo chown -R www-data:www-data /var/www/drupal-app 

Next, configure the Apache server to deploy the Drupal site.

Step 2 – Setup Apache

Create a Virtual Host configuration file for the Drupal installation. In order to secure your site with an SSL certificate, we recommend using a real domain pointed to your server’s IP address.

Let’s create a Apache configuration file for your domain. Make sure to change domain name with yours:

sudo vim /etc/httpd/conf.d/drupal.example.net.conf 

Add the following content.

<VirtualHost *:80>
    ServerAdmin admin@example.net
    ServerName drupal.example.net
    DocumentRoot /var/www/drupal-app
    <Directory /var/www/drupal-app>
        Allowoverride all
    </Directory>
</VirtualHost>

Change the ServerName value with your domain name.

Save and close the configuration file. Then restart the Apache service to reload the configuration file.

sudo systemctl restart httpd 

Step 3 – Running Web Installer

Open your favorite web browser and access the Drupal website as configured in Apache. As per this tutorial, we have configured the website as below URL:

http(s)://drupal.example.net

Follow the on-screen instructions to complete the Drupal installation on the Fedora Linux system.

1. Choose the default language for your Drupal application.

Drupal Installation Choose Languege

2. Then select the type of installation for Drupal. Here you have 3 options to choose from. We recommended going with the default “Standard” installation.

Drupal Installation Select Type

3. Now enter the database details to configure with Drupal. We are using MySQL/MariaDB as the database server. If you are not seeing the MySQL option, make sure you have the PHP MySQL extension installed.

You can also go with the SQLite database for small sites. But if you are planning a large site, we prefer to with MySQL.

Drupal Installation Add database Details

4. Please wait for the installation to complete. This will install all default extensions, themes to this Drupal application.

Drupal Installation Progress

5. Once the above installation finished, it will prompt you to enter application details for your Drupal. Fill in all the details properly.

Also, create an administrator account for Drupal. I recommended not to use username “admin”, keep it something else as I did “dradmin”. Keep your administrator password strong.

Drupal Installation Application Details

6. Once you completed all the steps successfully, you will be redirected to the Drupal admin dashboard. Write down your admin credentials at a secure place, which will be required for subsequent logins.

Drupal Installation  Admin Dashboard

Now customize your entire Drupal site and add the content. Here a new beautiful website journey has been started.

Step 4 – Post Installation

The Drupal installation on your Fedora system has been finished successfully. Now secure the drupal application files with proper file permissions.

cd /var/www/drupal-app 
sudo find . -type d -exec chmod 750 '{}' \; 
sudo find . -type f -exec chmod 640 '{}' \; 
sudo find sites/default/files/ -type d -exec chmod 770 '{}' \; 
sudo find sites/default/files/ -type f -exec chmod 660 '{}' \; 
sudo chmod 440 /var/www/drupal-app/sites/default/settings.php 

Also, remove the downloaded archive file from your system.

rm /tmp/drupal.tar.gz 

Conclusion

This tutorial helped you with installing Drupal on the Fedora Linux system.

The post How To Install and Configure Drupal on Fedora 35/34 appeared first on TecAdmin.

]]>
https://tecadmin.net/how-to-install-drupal-on-fedora/feed/ 0
How to Install Joomla 3.9 CMS on Ubuntu, Debian, LinuxMint https://tecadmin.net/install-joomla-cms-on-ubuntu/ https://tecadmin.net/install-joomla-cms-on-ubuntu/#comments Fri, 01 Dec 2017 04:25:47 +0000 https://tecadmin.net/?p=14363 This tutorial will help you to install and configure Joomla CMS on your Debian based systems. Step 1 – Setup LAMP Server First of all, configure the LAMP server on your system. Execute the following commands from the system terminal for the installation of a LAMP server. First, add the required PPA repository in your [...]

The post How to Install Joomla 3.9 CMS on Ubuntu, Debian, LinuxMint appeared first on TecAdmin.

]]>
This tutorial will help you to install and configure Joomla CMS on your Debian based systems.

Step 1 – Setup LAMP Server

First of all, configure the LAMP server on your system. Execute the following commands from the system terminal for the installation of a LAMP server. First, add the required PPA repository in your system.

sudo apt-get install -y python-software-properties
sudo apt add-repository ppa:ondrej/php -y

Now install the packages for Apache, PHP, and MySQL using the below commands.

sudo apt-get install apache2 apache2-data apache2-utils 
sudo apt-get install php php-mcrypt php-curl php-mysql php-gd php-cli php-json php-xml php-zip libapache2-mod-php 
sudo apt-get install mysql-server mysql-client

Step 2 – Download Joomla CMS

Download the latest version of Joomla CMS archive from the official GitHub repository. At the time of writing this tutorial Joomla 3.8.2 is the latest available version, Use the following command to download Joomla archive.

cd /tmp
wget https://github.com/joomla/joomla-cms/releases/download/3.9.12/Joomla_3.9.12-Stable-Full_Package.tar.gz

Now extract Joomla under the document root of the Joomla Apache Virtualhost.

mkdir -p /var/www/html/joomla
cd /var/www/html/joomla
tar xzf Joomla_3.9.12-Stable-Full_Package.tar.gz
chown -R www-data:www-data .
chmod -R 755 .

Step 3 – Setup Apache VirtualHost

You can access your Joomla directory using the subdirectory URL like http://localhost/joomla. But if you need Joomla on the main domain, Let’s configure your Apache virtual host like below.

<VirtualHost *:80>
   ServerName joomla.example.com 
   ServerAdmin webmaster@example.com
   DocumentRoot /var/www/html/joomla
   <Directory /var/www/html/joomla>
	    Allowoverride all
   </Directory>
</VirtualHost>

Step 4 – Create MySQL Database

Now login to the MySQL server using administrative privileges and create the database for Joomla. Also, create a separate MySQL user for the newly created database.

mysql> CREATE DATABASE joomla;
mysql> GRANT ALL on joomla.* to joomla@localhost IDENTIFIED by "secret";
mysql> FLUSH PRIVILEGES;

Step 5 – Running Joomla Web Installer

Joomla provides a web installer to complete the installation. Begin the installation by access Joomla URL as configured in Apache virtual host.

On the first page, enter the site name and administrative user details to access the Joomla admin panel after the installation.

Install Joomla Step 1.0

Install Joomla Step 1.1

Input the database details on this page created in step 4.

Install Joomla Step 2

Install Joomla Step 3.1

Install Joomla Step 3.2

You Joomla installation has been finished. You just need to remove the installation directory by clicking on the “Remove Installation Folder” button.

Install Joomla Step 4

Install Joomla Step 5

Click on Administrator button, Login to your Joomla admin panel using the specified credentials in Step 1.

Install Joomla Step 6

Administrator dashboard for your Joomla setup.

Install Joomla Step 7

The post How to Install Joomla 3.9 CMS on Ubuntu, Debian, LinuxMint appeared first on TecAdmin.

]]>
https://tecadmin.net/install-joomla-cms-on-ubuntu/feed/ 3
The ABCs of Small Business CMS https://tecadmin.net/abcs-small-business-cms/ https://tecadmin.net/abcs-small-business-cms/#comments Mon, 06 Jun 2016 00:54:15 +0000 https://tecadmin.net/?p=10478 Every business beginning carries a large dose of uncertainty. Most small business owners rely on the trial and error method, during which they apply different business tactics, so as to find the most suitable ones for their business needs. Today every business owner aiming at online recognition has to use a reliable content management system. [...]

The post The ABCs of Small Business CMS appeared first on TecAdmin.

]]>
Every business beginning carries a large dose of uncertainty. Most small business owners rely on the trial and error method, during which they apply different business tactics, so as to find the most suitable ones for their business needs. Today every business owner aiming at online recognition has to use a reliable content management system. This is the underlying structure of your website, which governs the content you publish and plays a major role in your business results. So, what options can a small business owner count on for this purpose?

01

Open-source or commercial system?

The system governing your website and all the data within it can either be open-source or commercial. This first means that you do not have to pay for the license and the code(s), but here the code is open for editing and accessible to anyone. While it might be a useful solution at the very beginning, relying on such options for an ecommerce website could turn out to be quire unreliable.
Commercial content management systems, on the other hand, are original products you need to pay for if you want to use them. What they offer is increased protection. Moreover, their codes are inaccessible for anyone who does not have granted access. Because of that, commercial CMSs are the best option for developed businesses with thousands of online clients. Here you can have a look at a selection of both groups of CMSs, to get a better insight into their possibilities.

SaaS for higher adaptability

In addition to those systems that are controlled and directed by an in-house content manager, some businesses opt for SaaS CMS options. The greatest advantage of this type of website management is that the owner does not have to bother with any updates or hosting options. In the SaaS content management model, you simply use a ready-made software solution that provides everything you need for your website. If your website has higher traffic, your SaaS provider will ensure proper support for it, too. Bear in mind, however, that this sort of CMS is suitable only for small and mid-sized businesses. When thousands of visitors start coming to your website daily, it is time for a trustworthy open-source system or commercial content management.

Security and copyright

Business owners might oversee scams and tricks that online business hides. This is so due to their offline way of thinking. In the online business world, security should always be put on a business pedestal. If your website gets hacked only once or your data get stolen due to improper content management, your reputation will be ruined, as well as your business. What you need to do to protect and secure your business is to set your conditions and security requirements during the negotiations with your CMS providers. Moreover, it would be smart to ensure counseling from the Leafcutter Sydney digital agency, too. They can help you come up with a list of security and copyright requirements for your CMS vendor. Only when the provider officially agrees to ensure proper security and not to interfere with your copyright of the website data should you make a deal with them.

02

The system and people behind your website will have a huge influence on the website itself and, consequently, on your business. This is why the crucial thing every business needs to do is to use only approved and reliable sources as their CMS providers. Such a website policy should protect both the business and the website from unauthorized access and data theft.

The post The ABCs of Small Business CMS appeared first on TecAdmin.

]]>
https://tecadmin.net/abcs-small-business-cms/feed/ 1
How to Install Latest WordPress on CentOS, RHEL & Fedora https://tecadmin.net/install-wordpress-using-lamp-centos-rhel-fedora/ https://tecadmin.net/install-wordpress-using-lamp-centos-rhel-fedora/#comments Sun, 17 Aug 2014 01:00:50 +0000 https://tecadmin.net/?p=2583 WordPress is the most popular content management system. Its created with PHP programming language and uses MySQL as the backend database. This article will help you to install latest WordPress on LAMP environment on CentOS, RHEL & Fedora systems. For this tutorial, we assume that you already have LAMP setup on your system. If you [...]

The post How to Install Latest WordPress on CentOS, RHEL & Fedora appeared first on TecAdmin.

]]>
WordPress is the most popular content management system. Its created with PHP programming language and uses MySQL as the backend database. This article will help you to install latest WordPress on LAMP environment on CentOS, RHEL & Fedora systems. For this tutorial, we assume that you already have LAMP setup on your system. If you do not have LAMP setup use below article to install it. Setup LAMP Stack on CentOS, RHEL and Fedora

install WordPress with LAMP

Step 1 – Download Latest WordPress

These latest version of WordPress are always available here (.tar.gz) and here (.zip). You can download any files to your system. Use belwo command to download gzip file of latest WordPress to your system using the following command.

$ cd /var/www/html
$ wget https://wordpress.org/latest.tar.gz

Extract the downloaded archive to the document root of your domain and update permissions on files.

$ tar xzf latest.tar.gz
$ chown -R apache.apache wordpress
$ chmod -R 755 wordpress

Step 2 – Create MySQL Database and User

After extracting code we need to create a MySQL database and user account for configuring WordPress. Use following set of commands to create database and user after login with the privileged user.

# mysql -u root -p

mysql> CREATE DATABASE wp_db;
mysql> GRANT ALL ON wp_db.* to 'wp_user'@'localhost' IDENTIFIED BY '_secret_password_';
mysql> FLUSH PRIVILEGES;
mysql> quit

Step 3 – Configure Apache VirtualHost

Now the time is to create and configure apache configuration file and add a new virtual host for WordPress setup like below.

# vim /etc/httpd/conf/httpd.conf

Add following setting at end of file

<VirtualHost *:80>
    ServerAdmin webmaster@tecadmin.net
    DocumentRoot /var/www/html/wordpress
    ServerName svr1.tecadmin.net
    <Directory "/var/www/html/wordpress">
         Allowoverride All
     </Directory>
    ErrorLog logs/svr1.tecadmin.net-error_log
    CustomLog logs/svr1.tecadmin.net-access_log combined
</VirtualHost>

If you already have another virtual host created in the config file, make sure to enable NameVirtulHost for using multiple VirtualHosts.

Reload Apache service to read configuration file again.

$ systemctl restart httpd.service

Step 4 – Install Latest WordPress with Web Installer

WordPress provides a web installer for easy to setup WordPress without editing files manually. After completing above steps just point your browser to your domain.

4.1. Open URL in Browser and Click on Create a configuration file.

wordpress-setup-1

4.2 In this step just click on Let’s Go button.

wordpress-setup-2

4.3. Fill the database details and click “Submit“.

wordpress-setup-3

4.4 After submitting database details, click on “Run the Install“.

wordpress-setup-4

4.5 Enter following details for your WordPress Install and click on Install WordPress Button

  • Blog Title
  • Username of admin account (for security do not use as “admin”)
  • Admin password ( twice )
  • Email ID

wordpress-setup-5

4.6 After completing above step, You have installed WordPress successfully, Now you will get WordPress success installation message.

wordpress-setup-6

Step 5 – Login To WordPress Admin Panel

After completing installation, you will be redirected to admin panel login screen or you can open url in browser like below

 http://svr1.tecadmin.net/wp-admin/

wordpress-setup-7

After entering correct login details, you will be redirected to WordPress admin dashboard. where you can create a beautiful blog and connect with the world.

wordpress-setup-8-dashboard

Congratulation! You have successfully installed WordPress.

The post How to Install Latest WordPress on CentOS, RHEL & Fedora appeared first on TecAdmin.

]]>
https://tecadmin.net/install-wordpress-using-lamp-centos-rhel-fedora/feed/ 8