I also, usually, add the apache group to my user, then give the appropriate permissions to the group on my directories to allow the webserver to access the files. During development, I usually install it under a "projects" directory under my user account. Download the latest tarball of Drupal from. Mysql>GRANT USAGE ON *.* TO ALL ON drupalDev.* TO now we can begin the Drupal install. Mysql>CREATE USER IDENTIFIED BY 'drupal' You can follow similar steps for production, but you should be doing things like locking down access to the database in MySQL, potentially splitting the web server from the database server, etc. Mind you, I am really trying to show how to set this up for development with these new software collections, not a proper, hardened production box. You also need to make sure that the apache webserver is running but this is no different than you would without software collections. Pretty straightforward, you just do it normally but put in the "correct" name for MySQL. #yum install httpd php54 mysql55 gd php54-php-gd php54-php-mbstring php54-php-mysqlnd php54-php Now for all of you that want to just have one line to install: As a result, you need to install php54-php (which you can also install by using the name php_mod) which includes the correct httpd module to support php. Well, the interesting thing is, in RHEL mod_php is just a shorthand for the name of the real library (in the software collection, libphp54-php5.so). Now, I call this one outīecause I always hear this referred to as mod_php. Last but not least, we need to install the php "driver" for httpd. #yum install php54-php-gd php54-php-mbstring php54-php-mysqlnd Finally, we need to connect to mysql so we install php54-php-mysqlnd. php54-php-mbstring is a library for unicode, technically not a "driver" but an optional library. php54-php-gd is the connection from php to the gd library. All the ones we need are included in the "php54 Software Collection" but are not installed by the simple install of the php54 package as they are not required for basic php. Next, we need the "driver" libraries for php to various other things. Very simple, just install gd from the normal RHEL repositories. ![]() I also tend to install some of the semi-optional components because I think Drupal works better that way.įirst off, the easiest thing to install, which is also not really related to software collections, is gd (not called "GIF Draw" :) ). You could also just install all the dependencies in the same line, but I wanted to pull them out to be able to comment on them a little bit more. After that, you need to install the software collections. ![]() The name of the channel (for the beta) is rhel-server-rhscl-6-beta-rpms. MySQL) before, the service setup is also a little different than the native versions.įirst and foremost, add the channels for RHSCL either via subscription manager or rhn. ![]() Also, if you haven't used a software collection for a "service" (e.g. However, to use software collections you have to do a few things differently. Overall, the activity was pretty much like a normal Drupal install. In order to test out the new Red Hat Software Collections (RHSCL, announcement) version of PHP 5.4, I decided to build out a Drupal 7 install using the php54 collection and the mysql55 collection.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |