Академический Документы
Профессиональный Документы
Культура Документы
This example assumes youll run the web and database servers on the same
machine. This is often the case for studentsanddevelopers alike.
1 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Enable the web and database services to start at boot time, then start them
immediately:
If this is your rst use of MariaDB, you should createa password for yourroot
user. Store it somewhere secure and safe, in case you forget it. Dont use the
systems ownroot (administrator) password.
Next, create a database. You canhost more than one WordPress site on a
machine. Therefore, you may want to choose a distinctivename for yours. For
instance, this example usesmywpsite. The-p switch prompts you for a password.
Youll need that, since youve added a password forroot.
Your input is shown in boldfacein the example below. Make sure to use a strong
password and notpassword itself.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
2 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Next, tune the SELinux parameters so the web server can perform necessary
functions.
Next, edit the conguration le for the web server to allow connections. The le to
edit is/etc/httpd/conf.d/wordpress.conf. Change the following line:
Require local
Congure WordPress
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');
3 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Next, youre ready to congure the web app itself. Open a web browser on the
system, or a connected system. Then browse to the IP address of your
WordPresshost, followed by/wordpress. For instance, your URL might
behttp://192.168.122.210/wordpress.If youre on the same box, you can
usehttp://localhost/wordpress. This step beginsthe setup process:
4 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Fill out the information required. Remember to use a strong password forthis
account, since it has administrator access to the entire WordPress blog. Once
done, selectInstall WordPress at the bottom.
Alogin screen appears so you can verify the WordPress username and password
you just entered. Login, and the following screen appears:
Youre now ready to create content. There are thousands of themes and plugins
available to customize your site.For more information on how to proceed, visit
the WordPress website.
Share:
Like this:
Like
8 bloggers like this.
Paul W. Frields
5 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Paul W. Frields has been a Linux user and Fedora Project community
enthusiast since 1997, and joined the Fedora
Project in 2003, shortly after launch. He was a
founding member of the Fedora Project Board, Previous post
and has worked on documentation, website
publishing, advocacy, toolchain development, and
maintaining software. He joined Red Hat as
Fedora Project Leader from February 2008 to July
2010, and remains with Red Hat as an engineering
manager. He currently lives with his wife and two
children in Virginia.
Adam Williamson
February 20, 2017 at 16:39
Please also consider not installing WordPress, unless you really need a
big dynamic CMS. If all you want to to do is run a simple blog, strongly
consider using a static site generator like Pelican instead, as its less
maintenance work and much, much less prone to security issues than a
big complex PHP app.
linuxmodder
February 20, 2017 at 19:51
6 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Leave a Reply
Your email address will not be published.
Name
Website
Post Comment
7 of 8 02/21/2017 03:26 PM
How to install WordPress on Fedora - Fedora Mag... https://fedoramagazine.org/howto-install-wordpre...
Email Address
Subscribe
The opinions expressed on this website are those of each author, not of the author's employer or of Red Hat. Fedora
Magazine aspires to publish all content under a Creative Commons license but may not be able to do so in all cases.
You are responsible for ensuring that you have the necessary permission to reuse any work on this site. The Fedora
logo is a trademark of Red Hat, Inc. Terms and Conditions
8 of 8 02/21/2017 03:26 PM