Javatpoint Logo
Javatpoint Logo

How to Install WordPress in Ubuntu 16.04?

Wordpress is an open source CMS (Content Management System). It is used to create dynamic websites using PHP and MySQL database.

It works on cross-platform and can be installed on any operating system.

WordPress was originally designed as a tool to release blogs. Still, it has derived to support releasing other web content, such as more classic websites, Internet forums and mailing lists, membership sites, media galleries, online stores, and learning management systems. WordPress is surrounded by the most famous content management systems, and it was utilized by 48% of the excellent 10 million sites as of October 2021.

This content management system is specified in PHP (hypertext preprocessor) language and paired with a MariaDB or MySQL database. Some features are a template system and a plugin architecture called "Themes" within WordPress.

WordPress needs to be installed to function on a web server, either as an Internet hosting service or executing the WordPress application package on a computer. WordPress was published on 27 May 2003 by Mike Little (an English developer) and Matt Mullenweg (an American developer). WordPress Foundation has WordPress Projects, WordPress, and other associated trademarks.

Multi-blogging and multi-user in WordPress

WordPress supported a single blog/installation prior to version 3, although two or more concurrent copies might be executed from distinct directories if set up to use different tables of the databases. WordPress Multisites (referred to as WPMU, WordPress MU, or WordPress Multi-User previously) was a WordPress fork designed to permit two or more blogs to be available in a single installation. Still, it could be commanded by a centralized manager.

It can be possible with WordPress MU for those using websites to manage their blogging communities, as well as moderate and control every blog from one dashboard. WordPress MU includes eight new tables of data for all blogs.
WordPress MU has combined with WordPress as of the WordPress 3 release.

History of WordPress

b2/cafelog, more generally called catalog or b2, was WordPress precursor. As of May 2003, it was supposed to have been installed on around 2,000 blogs. It was specified in PHP to utilize with MySQL via Michael Valdrighi, a WordPress contributing developer. Another project, i.e., b2evolution, is under active development; however, WordPress is an official successor.

Matt Mullenweg started pondering the plan of forking b2/cafelog and many new aspects that he wished for in the new CMS as b2/cafelog development slowed down in a blog post written on 24 January 2003. A professional developer, Mike Little, was the first one to comment on this post blog showing interest in contribution. These two worked together to make the first WordPress version, i.e., version 0.70, which was published on 27 May 2003. A friend of Mullenweg, Christine Selleck Tremoulet, recommended the title WordPress.

  • The licensing terms of the competing package, i.e., Movable Type, were modified by Six Apart in 2004, resulting in several most important users shifting to WordPress.
  • The Open Source CMS MarketShare Report assured that WordPress enjoyed the biggest brand power of any open-source content management system by October 2009.
  • WordPress is utilized by 64.8% of every website where a content management system is well-known as of May 2021, and 41.4% of the leading 10 million websites.

Recognition and awards

  • Winner of the "Best of open-source software awards: Collaboration" of InfoWorld, rewarded in 2008.
  • Winner of the "Overall Best open-source CMS" of Open Source CMS Award, rewarded in 2009.
  • Winner of the "Hall of Fame CMS category in 2010 Open Source" of digital synergy, rewarded in 2010.
  • Winner of the "Bossie award for Best of Open Source Software" of InfoWorld, rewarded in 2011.
  • WordPress includes a five-star rating for privacy through the Electronic Frontier Foundation.

WordPress release history

Primary WordPress releases have been codenamed after acclaimed jazz musicians, initiating from the 1.0 version. Security updates are supported "as a courtesy" to every release as far back as the 4.0 version, although only the latest version is supported officially.

  • WordPress "Bebo" 5.0

The 5.0 "Bebo" version of WordPress was published in December 2018. It is named in tribute to Bebo Valdes, the pioneering Cuban jazz musician.

It added the new default "Gutenburg" block-based editor. It permits users to change their visible content in a user-friendly way as compared to the previous iterations.

Blocks are philosophical markup units that form the layout or content of a web page. Content that was made on WordPress pages is mentioned under what's called a Classic Block. Many block-based editors are available before Gutenburg as WordPress plugins, such as Elementor. Comparisons were enabled between it and those plugins following the Gutenberg release.

  • Classic Editor plugin

It was made as an output of User preferences and aided website developers in managing their past plugins only suitable with the 4.9 version of WordPress, providing the time for plugin developers to get their plugins compatible and updated with the 5.0 version.

If we install the Classic Editor plugin, it can bring back the "classic" editing practice that WordPress had up prior to the 5.0 version of WordPress. Until 2024, the support of the Classic Editor plugin will be available. It is active on 5+ million WordPress installations as of November 2022.

Vulnerabilities of WordPress

Several security problems have been found in the software, specifically in 2007, 2008, and 2015. In April 2009, WordPress had seven security advisories (unpatched), according to Secunia, with a "Less Critical" rating. Secunia manages an up-to-date list of the vulnerabilities of WordPress.

Various high-profile SEO (search engine optimization) blogs, as well as various low-profile commercial blogs providing AdSense, were attacked and targeted with a WordPress exploit in January 2007. A different vulnerability on one of the web servers of the project site permitted an attacker to address exploitable code within the pattern of a back door to a few downloads of the 2.1.1 version of WordPress. This version introduced this problem; an advisory published during advised every user for upgrading immediately.

  • A study showed that 98% of WordPress blogs being executed were exploitable as they were executing unsupported and outdated releases of the software in May 2007.
  • To aid in mitigating this issue, WordPress updated the software in a much simpler automated process, i.e., "one-click", in the 2.7 version (published in December 2008). But, the settings of the filesystem security needed to activate the update process could be an extra risk.
  • The PHP Security Response Team founder, Stefan Esser, spoke critically of the security track record of WordPress in an interview in June 2007, citing issues with the architecture of the application that made it uselessly difficult to specify code that's secure from the vulnerabilities of SQL injection, as well as a few other issues.
  • It was detected that a few of the 50 most downloaded plugins of WordPress were susceptible to basic Web attacks, like XSS and SQL injection, in June 2013.
  • A different inspection of the ten leading e-commerce plugins represented that seven of them were susceptible.
  • The updates of automatic background were addressed in the 3.7 version of WordPress to streamline the overall update experience and develop better security.

Support and Development

  • Key developers

Mike Little and Matt Mullenweg were the project co-founders. The main lead developers are Andrew Nacin, Andrew Ozz, Matt Mullenweg, Mark Jaquith, Dion Hulse, and Helen Hou-Sandi. Also, WordPress is improved by its community, such as WP tester, an association of volunteers who check all releases.

Early, they have access to release candidates, beta versions, and nightly builds. Bugs are documented in a unique mailing list or the Trac tool of the project. WordPress is nearly related to Automattic, the community discovered by Matt Mullenweg though largely improved by the community neighboring it.

  • WordPress Foundation

It is a non-profit enterprise that was founded for supporting WordPress projects. The goal of the enterprise is to ensure open access to the software projects of WordPress forever. The enterprise manages and owns WordCamp, WordPress, and associated trademarks.

Matt Mullenweg structured the enterprise in January 2010 to manage and own the WordPress project trademarks. From 2006 onwards, Automattic previously pretended as a short-term WordPress trademark owner. From the start, he wanted later for placing the trademarks of WordPress with the WordPress Foundation, which didn't available in 2006 and finally took longer to begin than expected.

  • WordCamp user and developer conferences

WordCamp is usual, organized conferences to cover everything associated with WordPress. The initial such event was organized, i.e., WordCamp 2006, in San Francisco in August 2006, which had 500+ attendees. Outside San Francisco, the initial WordCamp was held in September 2007 in Beijing. There have been 1022+ WordCamps since then in 75+ cities in 65 countries worldwide.

  • WordPress Photo Directory

At the event, i.e., the State of Word 2021, Matt Mullenweg introduced the WordPress Photo Directory on 14 December 2021. It's an open-source directory of images for open images managed by the WordPress project. It aims to facilitate an open replacement to closed image banks, including Adobe Stock, Pixbaby, and Unsplash, whose licensing conditions have become limited in recent years.

  • Support

WordPress.org is the main support website for WordPress. This website introduces both WordPress Forums, which is a running online association of WordPress users, and WordPress Codex, which is an online WordPress manual, and a living archive for WordPress documentation and information.

Installation of WordPress

In this tutorial, we are installing wordpress in the Ubuntu 16.04. This whole process includes the following steps.

Prerequisites

  • Ubuntu 16.04
  • LAMP (Linux Apache MySQL PHP)
  • Login as root user, to the terminal

1) Download Wordpress

Change current working directory to the /var/www/html/ and run the following command.

Software WordPress 1

It will download a zip folder that contains wordpress template. Extract the folder by using the following command.

Software WordPress 2

2) Create a Database

We are creating a database wordpress in MySQL as given in the following screen-shot.

Software WordPress 3

3) Access Wordpress From Localhost

Software WordPress 4

Click on let's go!

4) Provide Database Details

Software WordPress 5

Provide database name, database username and password. Specify database host, if database is located at the localhost, enter localhost.

Click on submit, it shows php code.

Software WordPress 6

Create a file wp-config.php inside the wordpress folder. Copy that code and paste into the created file.

After this, click Run the install.

5) Provide Login Details

Fill login details into the following form.

Software WordPress 7

After providing all details. Click on the button Install WordPress and it will show a success message after doing some internal configuration and installation.

Software WordPress 8

6) Login into Wordpress

Login into the wordpress by providing login details.

Software WordPress 9

After login, it shows a dashboard that looks like below.

Software WordPress 10

Now, we have installed wordpress in Ubuntu 16.04 successfully.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA