You are not logged in.

#1 2012-06-28 21:27:08

twall
Member
Registered: 2011-04-26
Posts: 14

Installing wordpress using pacman, and then what?

I have a server running arch linux and I installed wordpress using pacman.

But the problem is, that I want to be able to use this package, update it, as updates arrive, and at the same time, modify it to my will (e.g. using a custom theme, upload files etc.)

How should I solve this? Symlinking all files doesn't work, because there are subfolders i want to put stuff inside (e.g. wp-content). Also mod_rewrite doesn't cut it, because that wouldn't help for the php includes. Just to make it clear: copying the package is not an option: then I would have to care about the following updates myself, etc.

So how do I keep my wordpress install versioned by my package manager, but also have one or multiple sites online?
Or in other words: how do I merge two folders transparent to php?

Last edited by twall (2012-06-28 21:28:08)

Offline

#2 2012-06-30 08:52:33

funkypotatoe
Member
Registered: 2012-03-23
Posts: 47

Re: Installing wordpress using pacman, and then what?

Why would you install wordpress using pacman ?
p.s. Wordpress update function from Wordpress admin panel works fine.

Last edited by funkypotatoe (2012-06-30 08:55:18)

Offline

#3 2012-07-01 14:18:13

twall
Member
Registered: 2011-04-26
Posts: 14

Re: Installing wordpress using pacman, and then what?

funkypotatoe wrote:

Why would you install wordpress using pacman ?

If I was to run multiple blogs, why should I keep the same files multiple times?
Why would there be a wordpress-package in Community, if it's no use?

funkypotatoe wrote:

p.s. Wordpress update function from Wordpress admin panel works fine.

I know. But I want to use pacman to keep my server up to date. Imagine having 20 or even 3000 wordpress blogs on your sever. I wouldn't want to be the one to update them all inside the admin panel...

Offline

#4 2012-07-01 18:20:37

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Installing wordpress using pacman, and then what?

There are fine reasons to install it using pacman and fine reasons to install it manually. Either way, I think the original question still stands.

I install themes manually by downloading them, switching user, and copying the files to where they need to be. I'm sure there's a better way to do it. tongue

I've had a slightly similar question: recently, pacman started installing WordPress in "/usr/share/webapps/wordpress", and to get in onto my website I created a softlink to it at "/home/www/wordpress". Is there a more normal or "official" way to serve WordPress?

Offline

#5 2012-07-01 20:57:09

funkypotatoe
Member
Registered: 2012-03-23
Posts: 47

Re: Installing wordpress using pacman, and then what?

twall wrote:

If I was to run multiple blogs, why should I keep the same files multiple times?
I know. But I want to use pacman to keep my server up to date. Imagine having 20 or even 3000 wordpress blogs on your sever. I wouldn't want to be the one to update them all inside the admin panel...

Ok. Why would you need to copy files for another blog ? All you have to do - change prefix in database & upload another theme.

Offline

#6 2012-07-10 07:43:16

santodelaespada
Member
Registered: 2009-04-15
Posts: 50

Re: Installing wordpress using pacman, and then what?

If you choose to install wordpress manually, do it in /srv/http.
Do not forget to chown to http:http all files and the plugins update is done without further config if you have a ssh server running.

Offline

#7 2012-07-11 12:48:51

twall
Member
Registered: 2011-04-26
Posts: 14

Re: Installing wordpress using pacman, and then what?

funkypotatoe wrote:
twall wrote:

If I was to run multiple blogs, why should I keep the same files multiple times?
I know. But I want to use pacman to keep my server up to date. Imagine having 20 or even 3000 wordpress blogs on your sever. I wouldn't want to be the one to update them all inside the admin panel...

Ok. Why would you need to copy files for another blog ? All you have to do - change prefix in database & upload another theme.

But that means that all blogs share the same plugins and themes: But I'd like to have them separated.

I have a almost working solution now. I will post it as soon as everything works as expected (there are still some problems with certain plugins...)

Offline

Board footer

Powered by FluxBB