Saturday, November 21, 2015

Install Lamp & Perl on Redhat 5.5



I need to install LAMP (including Perl) on a Redhat 5.5 machine. (Note: I am fairly new to Linux, but did do a similar project with ubuntu.) A good tutorial might suffice. Clients need to access a cgi-bin to run perl scripts (I don't yet know a lot about running perl scripts on the server side).



I found two tutorials that specifically mention RedHat (and are less then a year old according to Google). One seems simple and the other seems complicated:





  1. https://help.databarracks.com/index.php?/Knowledgebase/Article/View/1/1/installing-a-basic-lamp-stack-on-centos-or-redhat-enterprise-mysql-apache-php

  2. http://www.lamphowto.com/



Other suggestions (as a replacement or supplemental) are appreciated.


Answer



# yum -y install httpd mysql-server perl mod_perl
# service mysqld start

# service httpd start

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...