PDA

View Full Version : Use of yum -- will if conflict with cpanel, webmin plesk etc?


joyjit
04-26-2005, 08:41 PM
Hi,

On my current server, running Fedora Core 2 linux ( not hosted at PowerVPS; there is no GUI based "panel"), I use yum to keep all my software up-to-date.

If I use a PoweVPS hosted server, will I still be able to use yum?

Will it somehow conflict with cPanel or plesk or webmin etc?

Thanks

esc
04-27-2005, 11:49 AM
I’m using yum since a few days. You might definitely invoke conflicts with Plesk, etc. and you should be very carefully. Here is my present configuration file. I’ve done several updates with it meanwhile without trashing anything. I have a Plesk VPS (PLESK POWER-1) and the PSA repository is especially for this.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
showdupesfromrepos=1
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

# very important for VPS
exclude=kernel* initscripts
exclude=spamassassin* # Problems with version 3.0

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

# PowerVPS PSA COMPATIBLE LOCAL FEDORA REPOSITORIES
[PVPS-BASE]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://yum.powervps.com/fedora-linux-core/$releasever/$basearch/
http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#enabled=0

[PVPS-UPDATES]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://yum.powervps.com/fedora-linux-core/updates/$releasever/$basearch/
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#enabled=0

# ATOMICROCKETTURTLE's PSA COMPATIBLE RPMS (php, mysql, qmail-scanner, etc)
[ART-COMPAT]
name=Atomic Rocket Turtle - $releasever - PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
http://www.atomicrocketturtle.com/atomic/art/$releasever/
#enabled=0

[ART-PSA-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
#enabled=0

[ART-BASE]
name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/
#enabled=0

[ART-UPDATES]
name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/
#enabled=0

# Fedora.US - RPMS of the old (RH8 - FC2) Fedora Extra project
[FUS-OS]
name=Fedora.us $releasever - $basearch - OS
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.os
enabled=0

[FUS-STABLE]
name=Fedora.us $releasever - $basearch - Stable
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
enabled=0

[FUS-UPDATES]
name=Fedora.us $releasever - $basearch - Released Updates
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.updates
enabled=0

# This repository is faulty for FC2. repomd.xml is missing
[DAG]
name=Dag Wieers RPM Apt/Yum RPM repository
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
enabled=0
#gpgcheck=1


The Fedora.US and the DAG repositories are disabled in my yum.conf just now, as I cannot and don't want to download core components from them. This will break Plesk very likely. Beside this, Dag Wieers’ repository and all the mirrors and assoziated repositories are flawed for FC2. I complained twice using the site’s mail-form without any effect so far. I just had them in the list, because they are mentioned as authoritative for Awstats on the Awstats site. But the yum-downloads do not work for Dag. I had to download directly with wget and install with rpm.

I’m not sure, if the excludes at the top of the file suffice. Probably one should do this more aggressively. Upgrading to the latest spamassassin (version 3.0) just now gives me problems.

And then there’s a further point to mention. When using additional repositories you have to consider that they do not always mix without problems, as they sometimes have the same files (libraries, etc.) under different names. This might get you into trouble with dependences.

Erich

joyjit
04-27-2005, 01:20 PM
I’m using yum since a few days. You might definitely invoke conflicts with Plesk, etc. and you should be very carefully. Here is my present configuration file. I’ve done several updates with it meanwhile without trashing anything. I have a Plesk VPS (PLESK POWER-1) and the PSA repository is especially for this.
...
Erich
Erich,
Thanks for your response. This is very useful.

I have never used Plesk so my question may be stupid.

When you run "yum upgrade" and upgrade a whole bunch of software, and then later on if you run Plesk, does Plesk automagically figure out that all of those software have been upgraded? Or do you have to somehow "tell" Plesk that you have done an upgrade and it needs a sync.

esc
04-27-2005, 02:30 PM
When you run "yum upgrade" and upgrade a whole bunch of software, and then later on if you run Plesk, does Plesk automagically figure out that all of those software have been upgraded? Or do you have to somehow "tell" Plesk that you have done an upgrade and it needs a sync.

Some times it seems to be necessary to reboot (shutdown -r now).

Please take my replies with a grain of salt, as I understand only very rudimentary how Plesk and Virtuozzo work.

On your VPS will be software which is integrated into and handled by Plesk when you get it, software which is in the ApplicationVault and may be installed by Plesk on demand and software which is totally independent from Plesk which you install by your own. I’ve updated a bunch of system-software meanwhile – that means everything which is suggested when you do a “yum upgrade”, but only against the local PowerVPS (PVPS) repositories and against the ART repositories which are maintained by Scott R. Shinn who is a a founder and former director of Plesk before it was sold to SW-Soft. So the packages should be adapted for use with Plesk and the integration process should be painless. As I realized so far this indeed works for all local (PVPS) repositories and for most software form ART. Just Spamassassin 3.0 gave me a problem. It vanished from Plesk after upgrade but reappeard when I did a rollback to the previous version.

Obviously it’s possible to integrate external software into Plesk. SW-Soft has a developer program and there are companies which offer this service for $$$. There’s a link-list on sw-soft.com (Partners).

I think there are a couple of PSA command-line administration tools which can be used for this. But I had no time to investigate into. The software I installed so far runs outside of Plesk - that means I cannot start, stop, reload, etc. and configure it with Plesk. I just do it from the shell. Beside some minor tools for this and that I installed a Subversion server, Awstats and the Typo3 CMS. Typo3 is in the ApplicationVault too, but I prefer to handle the installation myself. I tried the automagical one and concluded that this was not what I really wanted.

You probably can learn more about those things by looking into the Plesk manuals. Have a look at the Plesk Docs (http://www.sw-soft.com/en/products/plesk75reloaded/docs/). I think there’s some information about configuring third party software for use with Plesk, especially in the Plesk SDK documentation.

You wrote in your first post you are no customer of PowerVPS just now. I can really recommend this host. I started my VPS experience here about 10 month ago and I’m very pleased. As you can read in the forum, the service is excellent, the staff is technically very competent and beside the routing trouble this weekend I had no complaints for the last 10 month.

I forgot to mention that when editing configuration files which are under control of Plesk there is usually a mechanism to integrate custom modifications too. This holds at least for Apache. Here are some comments added to httpd.conf and httpd.include which tell you how to extend those files and what you should avoid to touch.

Erich