LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2016, 09:10 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Wordpress: Install from apt or by downloading from the website?


Recently, I've been interested in downloading and running Wordpress locally, just to see how it works and what it can do.
As of now, I currently see two ways to install it.
The (seemingly) simplest method is to download a zip file or tarball from https://wordpress.org/download/ and unzip it into a directory like /var/www/html/wordpress/ (or any other directory in the web server)
However, I've also noticed that there are wordpress packages in Debian's repos:
Code:
wordpress - weblog manager
wordpress-l10n - weblog manager - language files
wordpress-theme-twentyfifteen - weblog manager - twentytfifteen theme files
wordpress-theme-twentyfourteen - weblog manager - twentyfourteen theme files
wordpress-theme-twentythirteen - weblog manager - twentythirteen theme files
wordpress-openid - OpenID plugin for WordPress
wordpress-shibboleth - Shibboleth plugin for WordPress
wordpress-xrds-simple - XRDS-Simple plugin for WordPress
wordpress-civicrm - CiviCRM plugin for WordPress
wordpress-theme-twentysixteen - weblog manager - twentysixteen theme files
Is there a "right" way to do it? Or are both options equally "OK"?
 
Old 04-14-2016, 09:46 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,978
Blog Entries: 28

Rep: Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067
Are you installing this to a hosting service or are you running a local LAMPP server to which to install it? In order to run Wordpress, you need a LAMPP server. (Looking at your first post, I'm guessing you have a LAMPP server.)

I would suggest following the instructions from the Wordpress website. Doing so will ensure that you get the latest and most secure version:

https://codex.wordpress.org/Installing_WordPress

I do respect Debian, but "latest" is not necessarily a Debian thing.

By the way, I started with Linux so I could self-host my website and run a Wordpress blog. I did my first Slackware install just about 11 years ago this month. I'm still using Slackware, as well as some other distros, and the blog is still going, but I no longer self-host my website. But it was a great way to start learning about Linux.

Last edited by frankbell; 04-14-2016 at 09:57 PM.
 
Old 04-15-2016, 01:11 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051
if you run it locally, you'll still need to install a full LAMP stack, as was already pointed out (some other cms' might be able to get by with less, though).
i do not recommend that on your day-to-day machine.

so, maybe in a vm?

as to installing wordpress from debian stable repos - most likely outdated!
in this particular case (installing a CMS) i recommend installing the newest version from the wild web.
 
Old 04-15-2016, 01:42 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,873

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
While the Debian stable version may be "old", it gets the love of the Debian Security team and is compatible with the rest of the shipped LAMP stack.

Using the download, YOU need to keep up with the security issues and updates and integration.

What do you do when the new version (for example) depends on a later php component than you have? (which may have further foreign dependencies ... which you will also then need to manage yourself)

This can get very messy very quickly if you start upgrading random bits of an integrated stable release like Debian.

I'm not familiar with wordpress or their release policies, so this may or may not be an issue, but if you plan on using it in production, you should definitely find out.

Last edited by descendant_command; 04-15-2016 at 01:46 AM.
 
Old 04-15-2016, 06:06 AM   #5
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
Thanks for all the insights!

I did know that I was going to need LAMP installed, but thanks for making sure. I wasn't sure if I was going to put it in a VM or just run it on my desktop, but it sounds like VM is a better idea.

The Wordpress requirements ask for PHP 5.6 and MariaDB 10.0. Debian Jessie currently has both of these.

It sounds like the only reason that there is a package is to make sure that the requirements are met, but the reqirements are fairly simple.

I think I'm going to just download from wordpress.org.

Thanks!
 
Old 04-15-2016, 09:04 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by maples View Post
Is there a "right" way to do it? Or are both options equally "OK"?
I always
Code:
wget www.wordpress.org/latest.zip
and do it manually.
Trivial.
 
Old 04-15-2016, 07:34 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,978
Blog Entries: 28

Rep: Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067
If you want to set up a LAMPP stack the easy way, take a look at XAMPP. It's not designed to be public-facing, but, for testing and learning, it works quite nicely.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: WordPress Plugin Tutorial — How To Install WordPress Plugins LXer Syndicated Linux News 0 12-09-2015 09:10 AM
LXer: How to upgrade a WordPress website via SSH LXer Syndicated Linux News 0 08-27-2015 12:12 AM
[SOLVED] LAMPP, Wordpress & Website Ztcoracat CentOS 15 11-19-2014 07:24 PM
my WordPress website not shown Horus1 Linux - Server 6 06-28-2014 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration