WordPress Archives - CloudMinister

A Way To Make Your Website Dream True

Many of you definitely heard about the name of WordPress as the best content management system in the world. It is not only a statement or judgment. WordPress is not only a good CMS but a lot more such as – a source to work on the website customization with the help of some pre-designed themes. Along with it, you can get a big theme and plugin library that can assist you in getting the dream website without any kind of issue. Here, you can get a complete tutorial that can help you in understanding how to use WordPress and set up the website.

Before starting to focus on the process, we are going to discuss some key factors about WordPress here.

Why Is WordPress So Popular?

When it comes to CMSs (content management systems), then no one can ignore the popularity of WordPress. There are several reasons available that make WordPress one of the best sources for creating and maintaining a website.

  • You can use WordPress for free
  • It is an open-source platform
  • Availability of numerous themes
  • Themes for all types of websites
  • A big plugin library
  • Good for an eCommerce website as well (WooCommerce)
  • All types of tools available
  • Several widgets
  • Easy customization
  • Support all hosting platforms
  • WordPress is available with a big community for discussion and eliminating confusion

All these things are making WordPress special, popular, and different as compared to other CMS or similar kinds of platforms.

CMS – What Does It Mean?

CMS stands for a content management system that can assist the website owners in managing the website operations and doing contextual updates easily. In other words, you can use CMS for different content-related purposes such as

  • Create
  • Modify
  • Publish

It does not matter what kind of content you want to upload textual or visual. Everything is possible with its proper usage. For all these activities or operations, the users don’t need to focus on any usage of HTML or other coding languages.
If you are choosing WordPress as the CMS, then you have to perform activities with drag and drop actions only. You don’t have to make any changes to the coding.

Features Of A Good CMS

A good CMS has lots of features for delivering the best to clients.

  • Easy to create SEO-friendly URLs
  • Big online communities for better support
  • Group functions
  • Availability of several designs & theme templates

All these things are making a content management system good for the users and help them in working on the website efficiently.

How To Use WordPress? – A Step By Step Tutorial

Step 1 – WordPress Installation

Before working on anything, you have to install WordPress on the hosting servers. The most important factor about this particular CMS is its low system requirements.

  • 5.0.15 version for MySQL or higher
  • 5.2.4 version for PHO or higher

When it comes to WordPress installation, then you have two different options, automatic and manual. The automatic methods can be easier for everyone where the users do not have to perform a single technical step. All they have to do is enable some settings and start the installation procedures.

Afterward, the data creation and all other procedures are completed by the system on their own. In the case of manual installation, things are going to be a little bit messy. Here, we are explaining the complete procedure for WordPress installation manually.

Manual Procedure

Before starting the installation, you need some things like a file manager or FTP client and WordPress’s latest version. By visiting WordPress.org, you are capable of downloading WordPress files on your devices.
When you get the files, then you have to upload it with the help of a file manager or FTP client on the hosting account. You have to upload all these files to the public_html folder.

For operating websites and adding lots of things to it, you have to create a database first. All details are stored by WordPress in a specific database. You can create the database by accessing the MySQL Database tab in the cPanel.
You have to write the database details carefully and keep it safe as well. You also need information about these database details in the future. By visiting the domain or subdomain, you can begin the installation process.

Here, you need to sill some basic information such as – MySQL database information, site information, and administrator information.

Step 2: WordPress Dashboard Navigation

After completing the WordPress installation on the hosting servers, you can access the WordPress dashboard of your website. For accessing, admin dashboard, you have to run the following URL:
http://www.yourdomain.com/wp-admin

Whenever you are going to run this particular URL, then it will redirect you to the WordPress admin login or dashboard page. The login credentials are created by an individual while installing it on the servers. When you log in to the dashboard, then you can see an interface with multiple elements such as:

Toolbar – it is available at the top-most position of the page. Here, you can get some useful links or navigation for accessing pages quickly and saving lots of time.

Navigation Menu – on the left side, you will face the navigation menu that contains a list of all features or accessibilities. You can use it for accessing any part of the area of the website backend. In some cases, you can also find the sub-menus of the main tabs.

Work Area – in the center, you can see a big and wide working area.

These are some key factors about WordPress navigation that can help you in performing different types of activities quickly.

Step 3: Content Publication

After understanding the website dashboard and its interface, you should start focusing on the content publication. In the beginning, you should pay attention to the creation of some new pages and posts. It provides some stuff by which you can easily customize the website’s appearance and get a great start as well.

How to create a new post?

For the creation of a new post, you have to access the Add New section by clicking on the Post option available in the main navigation menu. You also have a quick access option via the toolbar.

After clicking on such an option, an editing interface will appear on your screen. It has several features by which you are capable of creating an attractive, effective, creative, and completely unique post with ease. Firstly, you need to give a title to the post that is going to be your H1.

Secondly, you should work on the content body. While working on the body, you have to focus on several factors like – the addition of heading tags, and much more. You can easily use the WordPress text editor. On the screen, you can also see some major features or publication settings.

Here, you are able to decide, you want to publish the content immediately or schedule it for future dates. In case you don’t like the content, then you can send it to the trash by choosing the MOVE TO TRASH option.

As we know, all types of blog posts are written by following some specific categories. These categories are going to be the identity of the blog and understand where it actually belongs. By using the categories tabs, you can add some categories to the post. For adding a featured image, you can upload an image to the featured image section.

How to create a new page?

For the creation of a new page, you have to access the Add New section by clicking on the Page option that you can find in the main navigation menu.

When you click on such an option, you are going to be redirected to a blank page with editor features similar to the posts. All features and functionalities are similar to the post system.

Step 4: Plugin Installation

All individuals are interested in creating a fully-featured and functional website. Now the question appears, how it can be possible with WordPress without using any coding. All these things can be possible with the help of WordPress’s plugin system. You can see a big plugin library in WordPress.
Here, you can find multiple plugins for adding different types of functionalities and features to your website. These plugins are useful in making things simpler as well. You can find both types of plugins in the library.

  • Free
  • Paid

Some plugins are having both free and paid versions. You can find multiple free plugins in WordPress by which you can fulfill the requirements quickly. In case you are interested in using some advanced features, then you should try to get help from the premium or paid ones.

  • SEO Plugins like Yoast
  • Google XML Sitemaps
  • Contact Form 7

These are some basic plugins that every website needs. For the installation, you have to visit the Plugin tab. There you can find the ADD NEW option and you should click on it. Now, you need to search for the plugin in the library as per your requirements. You will get lots of options now. You should choose the best one by focusing on the following factors.

  • Total number of installations
  • Reviews
  • Ratings

It can help you in understanding how efficient a plugin is. After it, you should click on the install button of the plugin you choose and wait for a while. When the installation process is finished, then you can see the ACTIVATE button. Now you have to click on it and the plugin starts working on your website.

Step 5: Theme Installation

All individuals are having some specific dreams when it comes to the appearance of the website. By choosing the perfect theme, you can make such a dream true quickly. Here, you should focus on lots of things like – your industry, use of the website, motive of website, and much more. All these things can help you in figuring out what kind of theme you actually want.

For finding and applying a theme, you have to click on the APPEARANCE option available in the main navigation menu. In the APPEARANCE section, you can see the option of THEMES and click on it.

Here, you find out multiple themes available and suitable for creating your kind of website. With the help of some advanced features, you can easily filter the available options and come up with the best suitable one.
When it comes to the theme installation, then you have two major options. First, you can download the zip from online sources and upload it manually. Another method is, click on the install but and then activate it. In the second method, all activities are completed by the system on an automated basis.

Step 6: WordPress Security

After all these things, you have to pay close attention to WordPress security. All we introduced to the current condition of the online world, there are multiple cybercriminals working out the line and targeting multiple online sources for stealing the complete information quickly.

For preventing cyberattacks and keeping yourself 100% secure, you have to focus on some WordPress safety measures. Mainly these specific safety measures are –

  • You have to keep WordPress updated always. Mainly the updates are designed with the addition of some new and exciting features. Along with it, WordPress also eliminates several bugs from the system and makes things much better in the terms of security.
  • When it comes to log in to the WordPress admin dashboard, then username and password are going to be the key. You should try to set up a unique username and password that cannot be cracked by anyone easily. Along with it, you should not share such important credentials with anyone as well.
  • For avoiding accidental losses, you should set up a proper WordPress backing up the system by which you can create a website’s backup periodically with ease.

All these things can help you in working with proper safety.

Final Words

It is the complete WordPress tutorial that can help you in understanding lots of things with ease. In case you are having any doubts or do not understand something, then you can contact WordPress developers.

Read More – How to enable schedule task in windows

How To Speed Up Your WordPress Website In 20 Minutes?

Starting a website for a better online reach is becoming a trend. Some people are trying to connect with the audience by having a business website representing the services. On the other hand, some are starting their own blogging network to share information and data with the audience. For all these things, the interested ones need to choose a perfect source to create a website. WordPress is one of the biggest sources for building an impressive website. 

WordPress – An Overview 

WordPress is one of the most popular content management systems (CMSs). It has a fully-featured dashboard with a big plugin and theme library. In the library, you can get a big collection of some creative, impressive, and eye-catching themes for all types of websites. You can pick the suitable one as per the requirements. 

Boost wordpress website performance

You can get both types of themes paid and free. The use of paid themes can be helpful in experiencing some advanced features for building the best website. In case you don’t have a big budget, then you can go with the free ones. A free theme has different types of features with some limitations but it is perfect to create a good website. 

Real-Time Stats:

All over the world, around 37.6% of websites are managed via WordPress. 

WordPress is available with around 196 languages with translation features. 

Around 71% of overall WordPress websites’ content is written in English. 

WordPress users are creating around 27 new posts every second. 

WordPress has over 54000 plugins for free. 

These are some real-time WordPress stats that can help you in understanding its dominance in the internet world when it comes to website designing and managing.

Tips To Boost WordPress Website

WordPress Website Hosting Plan 

The selection of a good web hosting plan is essential for everyone. The performance of the website highly depends on the hosting plan you choose. In case you are looking for a cheap hosting plan with lower bandwidth and server space, then you may face several issues. You have to be careful while choosing a suitable hosting plan. Before that, you should have knowledge about different types of plans such as – 

Shared WordPress Hosting 

VPS WordPress Hosting 

Managed WordPress Hosting 

Mainly the selection of hosting type is based on the type of website and its usage or objective. In case you are interested in running a simple blogging website, then you can proceed with a shared hosting plan. If you are planning for an eCommerce website, then a fully managed VPS hosting plan is preferred. 

Cache Settings 

You have to keep your website’s cache settings enabled. Sometimes, people don’t have the proper technical knowledge, and as result, they disable the cache plugin to lighten the dashboard. In reality, it is helpful in reducing the website’s loading time by which you can leave a good impression on the visitors. 

Cache setting

Mainly the caching system works by saving a basic format and appearance on the website in HTML codes on the internet server. These codes are going to be saved in the users’ devices when they visit the first time. After that, whenever a visitor accesses your website it takes minimal time for loading. It saves lots of time for the audience and increases the website’s loading speed. 

Delete Unnecessary Plugins

When it comes to the speed of a WordPress website, then it is affected by several factors such as – plugins. While creating a fully functional and featured website, you have to use different types of plugins. It is all about testing. After finalizing everything, you can realize all the installed and activated plugins are not in use properly. 

Delete unnecessary plugin

However, these activated and unnecessary plugins are increasing the size of the website only. Due to it, the website becomes heavier and servers start taking more time to load your website and present it in front of the users. 

Compress Media Files 

It is important to add high-quality media files on the website for providing a better user experience such as – images, animations, or videos. It also affects the website speed and some other related elements. Here, you have to compress the size of these types of media files. While compressing the size, you have to keep some basic things in mind. 

compress media files

It should not affect the quality. Some people reduce the file size maximum possible. It starts affecting the appearance quality and creates a blurry effect. Blurry appearance creates a barrier while interacting with website visitors. You have to be smart while working on this particular factor. 

Read More- Technical SEO: 11 Best Practices

Use CDN

CDN stands for a content delivery network. If you are interested in presenting your website in different parts of the world, then you should be focused on the use of a content delivery network. Mainly these networks are working by creating a copy of your website and send it to the internet servers of different regions. Whenever an individual tries to access your website, then this copy is already available there. 

Due to it, sever does not take lots of stress for loading all elements of the website. Consequently, the website appears on the screen and interacts with the users quickly. It reduces the overall website loading time. 

Decrease Redirections 

There are different types of redirections applied on the website. Some are necessary to keep the website secure like – HTTP to HTTPS. In some cases, the website owners are using redirections for multiple purposes such as – transferring traffic of a particular web page to another one. The availability of lots of redirections on the website can increase the chances of affecting website speed. You should decrease redirections by which the web pages start loading quickly. 

Final Sayings 

These are some major tips for increasing WordPress website speed. In case you are facing issues regarding WordPress website speed, then you should discuss it with the professionals. A professional can analyze your website deeply and figure out all possible errors. Based on such an error report, you can understand what to do for boosting website speed quickly. If you want to get the best hosting solutions, then Cloud Minister is available at your services. 

SEO, Search Engine Optimization, who owns a website, must be very familiar with it, right? SEO basically what helps you increase the crowd on your page or website.

But have you heard anything like Technical SEO? It aid to perk up the ranking of the pages in the search engines like Google by dealing with the technical aspects. Fulfilling the basic requirements of Search Engines (like a faster website, indexing, and improved scrolling) are all covered under technical optimization.

Technical SEO

With every other day passing, these requirements are relentlessly getting more and more refined, so does the part of Technical SEO, which creates a perfect marketing aura to your website or page to excel in search engine results.

Few Technical SEO Best Practices to Implement

1. Guarantees that your websites’ content can be crawled and indexed

Search engines discover the updates and latest content with the help of a team called crawlers and spiders, and the process is referred to as crawling. The search engine then indexes the content if it is valuable. If your website content is not there in the index, no user can find that.

You must not have blocked search engines to crawl or index the content on your page. Search engines got informed about the pages they can crawl via a file named Robots.txt. To check yours, you can search yourwebsite.com/robots.txt. Google Search Console is where all the blocked pages by robot.txt can be found in the coverage report. In case there is any link that is needed to unblock, robots.txt can be edited or removed.

Further, a search engine can’t index a page until the x-robots header and Meta robots are set to “noindex” in the On-page data report of a free SEO Toolbar, Ahref’s. The indexability report can be checked easily by running a crawl and Site Audit in the same tool.

Technical SEO

2. HTTPS Use

The data sent amid a website and visitor is encrypted by HTTPS to secure susceptible information like personal details, card details, etc. from threats. Knowing HTTPS benefits, HTTPS has been there in ranking factors for years now.

Navigate to https:www.yourwebsite.com, and the lock icon on the loading indicates that your website uses HTTPS, but if it says NOT SECURE in red color, you will require installing TSL/SSL certificates. Some WordPress sites provide that free when you purchase a domain name. LetsEncrypt also gives you one free of cost. Otherwise, you can grab fully managed vps hosting for secure HTTPS connection.

NOT SECURE warning in grey color represents that regardless of the page running over HTTPS, its other loading resource files like CSS and images run over HTTP. To know all the predefined SEO issues on other pages, crawl your website on the Ahrefs Webmaster tool.

3. Getting rid of duplicate content issues

As simple as it sounds, the same content appearing on the internet on multiple websites. Though Google has confirmed it multiple times that they don’t charge you any penalty for duplicate content, there are many other issues that duplicate content can cause like;

Wasted crawl budget

Undesired URL’s in search results

Outranking your website due to Scraped or syndicated content

Backlink Dilution

To check open Coverage Report in Google Search Consoles, it will show you duplicate URL’s recognized by Google, but to check for other duplicate URL issues that Google has not identified, go through Duplicate Content Report in Ahregs Webmaster Tools.

4. Generating a Sitemap

All the crucial content of your website is listed on a sitemap in most commonly XML files. In 2019, a Google representative confirmed the sitemaps to be the second most relevant URL sourcing for at least Google, at reason being orphan pages that Google cannot find via crawling. Having internal links to crawlable pages is essential for spiders to see that.

Generate Site Map Technical SEO

In WordPress, a sitemap can be generated using SEO plug-ins like RankMath, whereas Squarespace, Wix, Shopify are some advanced CMS that automatically create a sitemap.
Using canonical tags wherever possible helps fight duplicate issues as in sitemaps, Google recognizes URLs as canonicals.

5.  Hreflang to specify the language of the content

Specific Geographical targeting of a webpage can be done via an HTML attribute like Hreflang that helps other language versions of the same page or website get indexed and not to be counted as duplicate content by Google.

HReflang also helps to improve rankings in other countries by allowing the multilingual versions of the website to share the same signal through a cluster share.

Hreflang can be implemented by just adding the suitable Hreflang tags to the page versions you have.

6. HTTP to HTTPS redirection

If a website is running over the HTTPS version, it might still be available to those who use HTTP. But what’s the point if your website’s non-secure version is still accessible to the visitors?

HTTP to HTTPS redirection

Try running your website with HTTP, and if it is accessible, then HTTP to HTTPs redirection is required. Otherwise, you would have been automatically redirected to the HTTPs version. For redirection, it requires a specific code added to the .htaccess file of your site. However, WordPress is much simpler, where Address and site address can be changed to https easily in General Settings. You can also get managed vps server provider for a secure connection easily.

7.  Schema markup for “rich snippets.”

“Rich Snippet” is referred to that extra information that appears below some websites in search results like URL, ratings, review, description, etc. which sometimes improve click-through rate as well. In general, schema markup helps the search engines identify and display your content in the search outcomes. When you provide Google with accurate information about your page or website via schema markup, it might make you qualified for rich snippets.

Schema in SEO

8. Orphaned Page issues

Earlier above, I mentioned that as orphan pages have no links internally on your website from crawlable pages, the crawlers cannot find or mark them for search results.

Even most of the auditing tools are sometimes also unable to search these pages as they are more likely to work similarly to the search engines. Using CMS as a URL source in the ahrefs Site audit helps you to check these.

Read More:  How to install centos web panel on centos 7?

Conduct a crawl, and when done, look for the orphan pages in the Links Report. Important URLs must be incorporated in your website’s site structure, adding internal links in basic. Unimportant URLs can be ignored, deleted, or even redirected, depends on you.

9. Loading Speed

As confirmed in many reports, today’s’ generation’s attention span has decreased to 8 seconds only; they want everything quick and in one click. They get easily annoyed with slow loading websites, so page loading speed is a crucial factor for ranking since 2010 in PCs and 2018 in smartphones.

page loading speed

To resolve a complicated factor like this, you got to use advanced tools and metrics to boost speed. Google’s Pagespeed Insights can be a perfect, reasonable option for beginners that tell you about the loopholes and what improvements can be made. Further, it scores your page based on performance. However, here I have wrapped up some things that you can ensure for an improved page speed:

Installing a caching plug-in to help deliver the files to the visitors efficiently and in no time; WP Super Cache and WP Rocket are quite options to use in WordPress.

Start using a faster DNS provider like Cloudflare, which lets you create a free account as well. A Content Distribution Network, i.e., CDN, stores all your web page copies on servers globally via Cloudflare. What it will do is it will make the nearest server accessible to the visitor for faster file loading.

Minification of files (HTML, JavaScript, and CSS) via WP Rocket

Images are mostly the most massive files on a web page, making it essential to compress them for loading time reduction. Try using Shortpixel for image compression.

10. Schema for knowledge graph inclusion

Google has its database as a knowledge graph where it evaluates millions and billions of web searches for relevance (relationship of one entity to another). Use Yoast and RankMath like WordPress Plug-ins via Schema markup generator to add an organization markup.

11. Nofollow Internal Links

Nofollow links are meant to endorse other WebPages to get the pass along ranking credit. The Nofollow links flag those external links. If the internal links are nofollowed, then it would do more harm than good by making it an orphaned content that cannot be crawled and so not can be indexed. Ahrefs Webmaster Tools helps you find the related issued via its Links Report which is already mentioned above.

No Follow Internal Links

Final Verdicts

There is a lot much more to add to this article, which we could not conclude as Technical SEO is a vast and sophisticated topic. Thus, above, we have tried to squeeze down the significant mishaps and solutions to improve your website’s performance as much we could do.

 

How to host a website in Plesk panel

Here we host website in Plesk panel. Before hosting a website must require some details like having domain , hosting  require disk space etc. A web hosting control panel is a web-based interface provided by a web hosting service that allows users to manage their servers and Fully Manage VPS hosting services. Some web hosting control panels are: cPanel, DirectAdmin ,ISPConfig, PleskWebmin ,ServersSolusVM Virtualizor, Microsoft Hyper-V, Amazon AWS, Microsoft Azure, Digital Ocean, Google Cloud, Linode Server, Rackspace.

Step 1. Let’s start now click on Website and domains to add a domain in panel.

Step 2. Now click on add domain and fill domain name , root location , SSL certificate etc.

Step 3. If you want to add word press theme on your website so go to click on WordPress

Conclusion:

Then select domain and one click on install this will patch your domain with Word press theme. Go to check it’s working or not open your browser and type your domain name.

How to install and configure LAMP(Linux, Apache, Mysql/MariaDB, Php) with WordPress CMS on Ubuntu 16.04.

WordPress is a popular open source Content Management System (CMS), which allows you to build dynamic websites and blogs. WordPress is the most popular blogging system on the web and allows updating, customizing, and managing the website from its back-end CMS.

In this blog, we are going to configure WordPress with LAMP in Ubuntu 16.04 for that the Prerequisite is Ubuntu 16.04 server.

Contents

1. Prerequisite

2. Install Apache Server 2.4.18

3. Install MySQL 5.7 

4. Install Php 7.0

5. Install WordPress File

6. Creating a WordPress Database in MYSQL

7. Test WordPress

  1. Prerequisite

Firstly required Ubuntu 16.04 VPS along with root privileges or you can also use sudo in starting of the commands.

Several commands are used to check the system status for the installation of WordPress CMS on the server.

# df -h (To check the status of memory in the system.)

#cat /etc/os-release(To check the operating system of the server.)

# apt-get update(To update all the packages in server.)

  1. Install Apache Server 2.4.18

Firstly install Apache server i.e. a web server that helps to host websites and blogs.

Now the next step is to install the apache server by using the command:

# apt-get install apache2

Check the status with the following command:

# systemctl status apache2

  1. Install MySQL 5.7

MySQL is a software used to create databases, stores, and get data when requested. MySQL is used by WordPress to store a database of its users. 

Now the next step is to install MYSQL and link it with PHP.

# apt-get install mysql-server php7.0-mysql

One dialog box is prompted for MySQL password, give the root password.

Now complete the MYSQL installation,

# mysql_secure_installation

Here, we have to configure the basic details of MYSQL and it asked for a password, enter the MYSQL password.

Would you like to setup validate password plugin? N (Use to set up  password policy)

Change the root password? N

Remove anonymous users? Y

Disallow root login remotely? Y

Remove test database and access to it? Y

Reload privilege tables now? Y

  1. Install PHP 7.0

WordPress requires all the components of LAMP and the last PHP 7.0 to be installed.

# apt-get install php7.0 libapache2-mod-php7.0 php7.0-mcryptphp7.0-xml php7.0-curl php7.0-json php7.0-cgi

Check that php is installed correctly or not, For that remove default file from /var/www/html directory i.e. index.html and create new file i.e. info.php.

# cd /var/www/html

# nano info.php

And enter the sample code in info.php file,

<?php

phpinfo();

?>

Restart the apache server.

#systemctl restart apache2

After that open any browser and give IP i.ehttp://ip_address_server/

and here check the default page for PHP.

Now remove the index.php file,

# rm /var/www/html/index.html

  1. Install WordPress File

Once the configuration of the LAMP stack is completed, now go proceed with installing the WordPress file.

Go inside the html folder

# cd /var/www/html

And download the latest version of WordPress CMS from the internet,

#wget -c http://wordpress.org/latest.tar.gz

Now use tar to unzip the downloaded WordPress archive.

#tar -xzvf latest.tar.gz

After that set the appropriate file permissions,

# chown -R www-data:www-data /var/www/html

#chmod -R 755 /var/www/html

  1. Creating a WordPress Database in MYSQL

Before proceeding with the installation of WordPress we have to create Database for WordPress in MySQL console.

# mysql -u root -p

Enter the password of MySQL and after that create a new database for WordPress.

# mysql>CREATE DATABASE WordPress;

Now create a new user and grant all privileges to the WordPress database.

# mysql>GRANT ALL PRIVILEGES on WordPress.* to 

  ‘username’@’localhost’ IDENTIFIED BY ‘password’;

# mysql>FLUSH PRIVILEGES;

After that exit the MySQL console.

# mysql>exit

  1. Test WordPress

Now after all the configuration done successfully, Restart the Apache webserver.

# systemctl restart apache2

After the server is restarted go in any browser and type http://ip_address/

And then the installation page is open here i.ehttp://ip_address/wp-admin/

Now configure the basic details. And after the administrator prompt is open. Launch the website in its control panel and refresh the URL.

 

CONCLUSION – After the above installation you will we able to create a blog by using WordPress CMS in Ubuntu VPS.

How to install WordPress with LEMP stack on CentOS 7 VPS (Part2)

5. Install Nginx

Nginx, pronounced as “Engine X” and is a very fast and lightweight web server, that can be used to support static files, used as a reverse proxy and also for load balancing.

Firstlly, update all the software packages by typing the following command:

# yum -y update

After that install EPEL repository that is required for Nginx packages by using command:

# yum -y install epel-release

Now install Nginx by typing the command:

# yum -y install nginx

After the installation is completed you must Enable and Start Nginx server by typing command:

# systemctl start nginx

And enable it with the command:

# systemctl enable nginx
Also check its status with

# systemctl status nginx

6. Configure Firewall

After completed with installation part, configure the firewall settings with the following command:

Open HTTP port by typing command with:

# firewall-cmd –permanent –zone=public –add-service=http

If firewalld package is not available then you can install it with command:

# yum -y install firewalld

And start firewalld service with command:

# systemctl start firewalld

Now reload firewall configuration file by typing:

# firewall-cmd –reload

Now verify your installation of Nginx by visiting the following URL on any browser you like with http://ip_address

7. Configure Nginx File

An Nginx server configuration file plays an important role, So you should be more careful when setting up this file.

For configuring Nginx file go inside the following path with the following command:# cd /etc/nginx/conf.d

# vi default.conf

And write the following code in the above file i.e. default.conf.

Also change your domain in place of ip_address

server {

listen 80;

server_name 54.161.140.2;

root /usr/share/nginx/html/wordpress;

index index.php index.html index.htm;

location / {

try_files $uri $uri/ =404;

}

error_page 404 /404.html;

location = /40x.html {

root /usr/share/nginx/html/wordpress;

}

error_page 500 502 503 504 /50x.html;

location = /50x.html {

root /usr/share/nginx/html/wordpress;

}

location ~* \.php$ {

try_files $uri =404;

fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;

fastcgi_index index.php;

include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

}

}

And save it with :wq command, after that edit the configuration file of php-fpm with the following command:

# vi /etc/php-fpm.d/www.conf

Open the file with above command and edit the following lines i.e.

user = nginx

group = nginx

Add new listen under listen = 127.0.0.1:9000

listen = /var/run/php-fpm/php-fpm.sock

And also add

listen.owner = nginx

listen.group = nginx

Remove comment (;) from the above two lines and save it with :wq.

8. Install WordPress File

You can easily download WordPress archive file from the link I provided in this blog.
First go inside /tmp directory by typing below command:
# cd /tmp
Download the latest WordPress setup by using wget command
# wget https://wordpress.org/latest.tar.gz
And if wget command not work then you can download it with the following command
# yum -y install wget
Now extract the downloaded file using below command:
# tar xzvf latest.tar.gz
After that move wordpress directory in /var/www/html directory by using command:
# mv wordpress /usr/share/nginx/html
Also change the ownership of /var/www/html directory by using the following command
# sudo chown -R nginx: /usr/share/nginx/html
# chmod -R 755 /usr/share/nginx/html

9. Test WordPress

Now for testing the server of WordPress you should restart the server for that follow the command:
# nginx -t (If the command shows ‘successfully’ message then the changes in file are correct and else the changes are wrong in the nginx configuration file.)
# systemctl restart php-fpm
# systemctl restart nginx

Then open any browser and type inside URL i.e http://ip_address/

After then configuration page i.e. http://ip_address/wp-admin/ is open and select language.

 

 

 

CONCLUSION

After this installation, you will be able to create or manage blog in wordpress CMS in Centos VPS.

 

How to install WordPress with LEMP stack on CentOS 7 VPS (Part1).

WordPress is one of the most popular and widely used content management system, blogging platform in the world. It is popularly used as a Blog, Portfolio Website,  etc.

In this tutorial, you are going to learn how to install WordPress with LEMP(Linux,Nginx,MySQL,and PHP)  on CentOS 7 Linux VPS.


Table of Content

  1. Prerequisites
  2. Install MySQL 8.0
  3. Configure Database in MySQL
  4. Install & Configure PHP 7.2
  5. Install Nginx
  6. Configure Firewall
  7. Configure Nginx File
  8. Install WordPress File
  9. Test WordPress

1. Prerequisites


Before you start the installation of WordPress with (LEMP) stack on Centos 7 VPS, you must have one Centos 7 VPS with root privileges on it or you can use sudo for non-root user.  

 You should also run basis command on server to check the following things-:

# df -h (To check the disk space on the system.)

 

# cat /etc/os-release (To verify the version of the VPS.)

 

# yum -y update (To update all the packages of the VPS)

2. Install MySQL 8.0

WordPress uses a MySQL database for storage, MySQL is used in stack for storing user details in database.

For installing MySQL on Centos 7 first you need to enable MySQL repository and then you can install MySQL.

# yum localinstall    -y https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

The command used for installing MySQL in CentOS 7 VPS is as follows:

# yum install mysql-server -y

Then check the MySQL version by typing following command:

# mysql -V(‘V’ is in uppercase)

After the installation is completed MySQL will start automatically and you can check it’s status by typing:

# systemctl status mysqld

If MySQL is not start automatically you can write the following command:

# systemctl start mysqld

Before going for the next step you should generate a temporary password to access MySQL root user with the following command:

# grep ‘temporary password’ /var/log/mysqld.log
Now configure the MySQL secure installation to improve the security by typing the following commands.
#
mysql_secure_installation

Login with the temporary password and assign new password, after that in this configuration it ask several questions you can give Y or N according to your requirement.

Change the password for root ? N

Remove anonymous users? Y

Disallow root login remotely? Y

Remove test database and access to it? Y

                  Reload privilege tables now? Y

 

3. Configure Database in MySQL

Now create database for WordPress in MySQL for that first login with MySQL server by using the following command:

# mysql -u root -p

And give its password, after that create database in it with the command:
mysql> CREATE DATABASE wordpress;

You can also check that database is created or not with the command:

mysql> SHOW  DATABASES;

Now create user and assign him password by using command:

mysql> CREATE USER ‘wordpress’@’localhost’ IDENTIFIED 

BY ‘Password’;

After that grant all privileges to the user created under that database with the command:

mysql> GRANT ALL ON  wordpress.* TO ‘wordpress’@’localhost’;       

Then flush all privileges on MySQL server with the command:

mysql> FLUSH PRIVILEGES;

Now exit from the MySQL server you can use commands:

mysql> exit;

mysql> \q;

Note-: In MySQL you must end each command with a semicolon(;).

4. Install & Configure PHP 7.2

PHP is used by WordPress to do various functions done by PHP like calling plugin, calling theme, validating user permissions, checking option, grab from database, etc.

In this Blog we are using PHP 7.2 versionand install it with epel-release with remi repository.

Firstly, install yum-utils packages using the following command:

    # yum -y install yum-utils

After that, install epel-release package by using command:

# yum -y install epel-release

Then import remi repository from the command:

# yum -y install  http://rpms.remirepo.net/enterprise/

remi-release-7.rpm

Enable the remi repository by typing:
# yum-config-manager –enable remi-php72

After that install PHP and all required modules by using command:

# yum -y install php-fpm php-mysql php-mbstring php-xml      php-gd php-cli php-json php-opcache php-curl
Now after the installation completed you can check the PHP version with the command:
# php -v (‘v’ is in smallcase)

 

To be Continued………

Get started with CloudMinister Today