Hulo All, Linux newb here. I just ssh'ed into my first shiny new CentOS virtual server to install a LAMP stack. No yum, so I had to install yum. Yum needs gettext, so it got gettext. Gettext ./configure fails because gcc's not installed. All the directions I've found so far indicate that I should use yum to install GCC. Am I missing something here?
Apparently I got what I paid for when I asked for the minimal service. What's the approach here for getting things on track so that I can follow basic LAMP installation instructions?
Links to web pages are gladly accepted.
UPDATE: cat /etc/issue
replies:
CentOS release 5.3 (Final)
Kernel \r on an \m
But this site says that my VServer can't be CentOS if yum is missing. It might be a Plesk VServer.
The CentOS people have a solution for that.
You shouldn't be trying to build things from source for this environment (I mean, you can if you want to, it won't hurt, but there are easier solutions available). Grab the necessary packages from CentOS, and install them using the "rpm" command. If the "rpm" command isn't available, either, it suggests that your hosting provider really doesn't want you installing packages in your virtual server. There may or may not be a good reason for this, and you should probably follow up with your provider before spending too much time on this problem.
You can find CentOS 5.3 packages here:
You really want to get yum installed, and then use yum to install everything else.
The CentOS people have a solution for that.
You can check your CENTOS DVD for GCC or check for the below URL for GCC RPM.
http://rpm.pbone.net/index.php3/stat/4/idpl/5244776/dir//com/gcc-3.2.3-59.i386.rpm.html http://rpm.pbone.net/index.php3?stat=3&search=gcc&srodzaj=3
CentOS ISO and Mirror files
http://www.centos.org/modules/tinycontent/index.php?id=15
Refer to below URL for LAMP installation instruction on CENTOS
http://wiki.vpslink.com/HOWTO:_CentOS_5_setup_for_LAMP_and_ISPconfig
Check this for the RPM source:
HERE
It will tell you where to get it, what it depends on, and where to get those.
But I tend to think that something is messed up with your installation if "yum" isn't there and working.