Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-08-11 06:12:17

Designers Top Ten
New Member
Registered: 2011-08-07
Posts: 5

Install TXP on an already existing/popular site

Hi,

I’m planning on revamping a website that is already popular and frequently visited, a fresh new look with a fresh new CMS.
I’m concerned however, that going through the installation procedure on a site that is likely to be visited during the operation would cause a security risk?

This might not be a Textpattern specific question, but is there a way to install Textpattern from behind closed doors, but in the root directory ?

Thanks!

Offline

#2 2011-08-11 06:59:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Install TXP on an already existing/popular site

Designers Top Ten wrote:

install Textpattern from behind closed doors, but in the root directory ?

The easiest way is to install Txp in a (password protected) subdirectory, and move it when it’s finished.

Offline

#3 2011-08-11 07:17:17

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 596
Website

Re: Install TXP on an already existing/popular site

Step #3 in detail…err, one way to do it:

cd testing_site

tar cvf backup.tar .

mv ./backup.tar ../backup.tar

cd ..

tar xvf backup.tar

rm -rf ./testing_site

That would move your junk out of a testing folder, into root, and then get rid of the testing folder.

Mind your /images folder :D

Last edited by maruchan (2011-08-11 07:18:12)

Offline

#4 2011-08-11 09:00:37

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Install TXP on an already existing/popular site

maruchan wrote:

That would move your junk out of a testing folder, into root, and then get rid of the testing folder.

Why tar? Doing a tar of the files is really good if you want do an backup before moving, but it isn’t needed for copying a directory.

Your normal cp can copy directories recursively.

cp -r /home/user/path/to/sub/install* /home/user/path/to/root

Offline

#5 2011-08-11 16:43:55

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 596
Website

Re: Install TXP on an already existing/popular site

Mmmhhh, yeah, the tar bits are just artifacts now…I will roll cp -r into my habits sometime in the near future :-)

Last edited by maruchan (2011-08-11 16:45:03)

Offline

#6 2011-08-11 23:37:28

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Install TXP on an already existing/popular site

I just installed textpattern on my sites, then slowly moved the html pages to textpattern. Noted what had been moved on my ‘What’s New page’.

Offline

Board footer

Powered by FluxBB