OpenVZ Forum


Home » General » Support » Install yum and lamp?
Install yum and lamp? [message #795] Thu, 12 January 2006 03:13 Go to next message
FaithInUnseenThings is currently offline  FaithInUnseenThings
Messages: 21
Registered: January 2006
Junior Member
I'm trying to install VHCS control panel on my VPS server (virtuozzo)

Yum is not installed by default and I cannot get it to install

[root@italkhost root]# rpm -ivh yum-2.4.0-1.src.rpm
warning: yum-2.4.0-1.src.rpm: V3 DSA signature: NOKEY, key ID 69886cc7
1:yum warning: user skvidal does not exist - using root
warning: group skvidal does not exist - using root
warning: user skvidal does not exist - using root)
warning: group skvidal does not exist - using root
########################################### [100%]


I got that after creating the redhat directory.

All I am basically trying to do is get the following installed for my virtuozzo vps server (the vps I created, not the entire actual server itself)

- yum
- lamp (apache 2x, mysql 5.x, php 5.x)

If you can seriously show me how to do this I would appreciate it. Its driving me nuts. I'm not a pro, but I learn fast

I tried another rpm I downloaded and got this:

[root@italkhost root]# rpm -Uvh yum-2.5.1-1.noarch.rpm
warning: yum-2.5.1-1.noarch.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
libxml2-python is needed by yum-2.5.1-1
python(abi) = 2.4 is needed by yum-2.5.1-1
python-elementtree is needed by yum-2.5.1-1
python-sqlite is needed by yum-2.5.1-1
rpm-python is needed by yum-2.5.1-1
urlgrabber is needed by yum-2.5.1-1

Can someone please explain a quick and proper way of installing lamp as well? Thanks.

Specs:
Virtuozzo VPS
Centos 3
Re: Install yum and lamp? [message #797 is a reply to message #795] Thu, 12 January 2006 09:34 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

First RPM you wanted to install is actually a source rpm. You need to get binary RPM, not source RPM, and this is what you tried to install later, but with a little luck since yum requires some other packages.

To solve it nicely, use vzyum from inside your host system, i.e.
vzyum NNN install yum

where NNN is you VPS id.

As for lamp, it is not an actual package, but just an acronym for Linux, Apache, MySQL and one of Perl/Python/PHP (or, probably, all of them). Sure you already have Linux and (in default OS template) Apache so you need to install MySQL (vzyum NNN install mysql-server) and one of perl/python/php.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Install yum and lamp? [message #800 is a reply to message #797] Thu, 12 January 2006 11:17 Go to previous messageGo to next message
FaithInUnseenThings is currently offline  FaithInUnseenThings
Messages: 21
Registered: January 2006
Junior Member
[root@server001 root]# vzyum 10001 install yum
-bash: vzyum: command not found
Re: Install yum and lamp? [message #801 is a reply to message #800] Thu, 12 January 2006 11:31 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You should do it in host system, not inside a VPS. /sbin and /usr/sbin should be in PATH.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Install yum and lamp? [message #802 is a reply to message #801] Thu, 12 January 2006 11:33 Go to previous messageGo to next message
FaithInUnseenThings is currently offline  FaithInUnseenThings
Messages: 21
Registered: January 2006
Junior Member
I did do it in host not vps and that is where I got the errors.
Re: Install yum and lamp? [message #803 is a reply to message #802] Thu, 12 January 2006 11:35 Go to previous messageGo to next message
FaithInUnseenThings is currently offline  FaithInUnseenThings
Messages: 21
Registered: January 2006
Junior Member
[root@server001 sbin]# locate vzyum
[root@server001 sbin]# updatedb
[root@server001 sbin]# locate vzyum
[root@server001 sbin]#
Re: Install yum and lamp? [message #804 is a reply to message #803] Thu, 12 January 2006 11:37 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Do you have vzpkg rpm installed?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Install yum and lamp? [message #805 is a reply to message #804] Thu, 12 January 2006 11:39 Go to previous messageGo to next message
FaithInUnseenThings is currently offline  FaithInUnseenThings
Messages: 21
Registered: January 2006
Junior Member
I have not done anything after the swsoft installed virtuozzo on this server

I did a locate and some showed

/usr/sbin/vzpkgrm
/usr/share/vzpkgtools
Re: Install yum and lamp? [message #806 is a reply to message #805] Thu, 12 January 2006 11:54 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

So it is Virtuozzo and not OpenVZ?

Sorry, we do not provide Virtuozzo support; please use official Virtuozzo support channel for that.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Install yum and lamp? [message #807 is a reply to message #806] Thu, 12 January 2006 11:56 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I'm sorry, I now see that you have mentioned virtuozzo in your first post.

Indeed, you should either try general linux support forums, or ask your virtuozzo provider (be it swsoft or any reseller) for support.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: can VPSes share same folder ?
Next Topic: cannot install anything on my VPS- DESPERATELY need some guidance
Goto Forum:
  


Current Time: Wed Jul 24 17:10:14 GMT 2024

Total time taken to generate the page: 0.02692 seconds