Page 1 of 2

CentOS 5, Plesk 8.4, can I use the repo?

Posted: Fri Jun 20, 2008 11:20 am
by Fenice
Hello,

I wanted simply to know if I can use ART's repository if I have a CentOs (32 bit) 5 machine with Plesk 8.4. I need the repository mostly to update php and mysql, as I did in the past.

Thanks!

Posted: Fri Jun 20, 2008 12:04 pm
by BerArt
Yes you can! :) we have several machines with CentOS / Plesk 8.4 and ART repo running fine...

Posted: Fri Jun 20, 2008 4:52 pm
by laughingbuddha
Does ART support CentOS 5.1 64bit?

Also has Plesk 8.4 been added to the channel yet. I'm planning on doing a new server install over the weekend, and was hoping to put the latest and greatest on it.


Matt

Posted: Sat Jun 21, 2008 10:10 am
by scott
Ive got a 8.4 repo on the 3es box here: http://3es.atomicrocketturtle.com/channels/plesk/8.4.0/, I reckon 8.4 is quiet enough now to retire the 8.3 archive.

Posted: Thu Jun 26, 2008 4:36 pm
by laughingbuddha
Cool, whats the command line to install 8.4 on the box from your yum?

Matt

Posted: Thu Jun 26, 2008 6:04 pm
by laughingbuddha
Hi Scott, Just wanted to check something.

I did a min install of CentOS 5.1 on my server (32bit) and used the hard partioning you sugested in another thread. Then shut the firewall off, and put SELinux in passive mode.

After a restart I added the ART channel to yum using the following:-

# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

and hit Y for the Plesk repo. Then I did:-

# yum install psa

This (from what I read) installed 8.3 on the server and not 8.4 which I had hoped. I will do an update instead to get 8.4 latest.

Once that had finished I ran yum update downloaded about 194 updates (hopefully only updates and not apps I didn't want).

I then restarted......

Ok what did I do wrong, I haven't fired up Plesk yet but I have a feeling something isn't right.

Matt

Posted: Fri Jun 27, 2008 7:58 am
by scott
I hadn't activated the 8.4 repo yet, I do have a copy here if you want to add it to your config:

http://3es.atomicrocketturtle.com/channels/plesk/

Posted: Fri Jun 27, 2008 8:01 am
by laughingbuddha
Oh righty. How do I do that? Sorry I'm a bit of a newbie at linux, and not all clued up yet.

Also, if I ad that to the config and run the update, will it replace the Plesk 8.3 that it installed?

Oh and yum has updated CentOS to 5.2, is this going to cause me issues?

Thanks,

Matt

Posted: Fri Jun 27, 2008 9:54 am
by scott
change the baseurl line in /etc/yum.repos.d/plesk.repo to point to the 3es server. Yes, and No.

Posted: Tue Jul 01, 2008 6:05 am
by laughingbuddha
Hi Scot,

I used vi to add this line under PUT YOUR REPOS HERE in the /etc/yum.conf file.

http://3es.atomicrocketturtle.com/channels/plesk/8.4.0/

I then saved it, and tried and ran yum update but it didn't update, and it didn't seem to check that url.

Matt

Posted: Tue Jul 01, 2008 7:59 am
by scott
you have to modify the baseurl in plesk.repo

Posted: Tue Jul 01, 2008 8:33 am
by laughingbuddha
I changed the plesk.repo as you said to this:-

Code: Select all

[plesk]
name=Plesk Server Administrator
baseurl=http://3es.atomicrocketturtle.com/channels/plesk/8.4.0/
gpgcheck=0
enabled=1
But I get the following error when I run yum update:-
http://3es.atomicrocketturtle.com/chann ... repomd.xml : [Err no 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: plesk. Please verify its path and try again
Not sure what I'm doing wrong.

Matt

Posted: Tue Jul 01, 2008 9:47 am
by scott
You have to specify the rest of the data, distro, release version, and architecture.

Posted: Tue Jul 01, 2008 3:17 pm
by laughingbuddha
had to add /centos/$releasever/$basearch to get it to work.

Only issue I have now is that it can't determin the version I have to upgrade, so it has failed it.

I'm going to re-install the box now, as I had some issues with network connectivity during its installation.

Has the repo's been updated to include Plesk 8.4.0 now, or do I have to go through the same steps to get it on the server?

Matt

Posted: Tue Jul 01, 2008 3:43 pm
by laughingbuddha
Right, just got the box installed again and online.

This time, instead of using this line to install ART yum channel:-

# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

I used this one:-

# wget http://3es.atomicrocketturtle.com/installers/atomic.sh
# sh ./atomic.sh

Granted it didn't ask me if I wanted to install Plesk repo, is that right though?

Matt