Saturday, May 9, 2009

Install, Configure Drupal on Suse Linux Enterprise Server (SLES10) with Linux, Apache, Mysql and Php (LAMP)

Finally Drupal is working in a newly created SLES server. Steps I followed [From scratch to get fully functional website running Drupal with php, mysql, apache on linux]

1. Install Suse Linux Enterprise Server with LAMP (Select from package), apache2-mod_auth_mysql, php5_mysql, ph5-gd, php5-mbstring (Select by searching mysql, gd, mbstring) ; start /etc/init.d/apache2
2. /etc/init.d/mysql start; mysqladmin -u root password 'blogp' ; mysqladmin -h localhost -u root -pblogp create ashish; [Here blogp is password for user root]
3. Untar drupal inside /srv/www/drupal6.11; copy htdocs to htdocs_default and rename drupal6.11 to htdocs; So no change required in Apache.
4. cd /srv/www/htdocs/sites/default/; cp default.settings.php settings.php; chmod 777 settings.php; mkdir files; chmod 777 files/;
4. start /etc/init.d/apache2 and Open in browser /install.php
5. Provide databasename as ashish, user as root and password as blogp.
6. chmod 644 settings.php;
7. Continue Configuration of Drupal, Provide admin user name and password. (This can be different from that from mysql root user).
8. Open your website , click "administration section"; You will see "Cron has not run. Please visit the status report for more information." Click "status report" and You should not get any errors except Cron question mark; Click "run cron manually" and then refresh. Finished.

Note: This installation is for Local Intranet; Please Change permissions in sites/default directory; (I do not have much idea on that). Also To configure mysql, You may use and other user other than root.
I had got this error: "Your web server does not appear to support any common database types". This was due to php5_mysql was not installed.

2 comments:

Sudarshan said...

I chanced upon your blog and found it very informative. The event blogs are striking enough to have a feel of the event, so, I would like to have a little chit-chat on your blogging interests. And even we are coming up with an event on startups on June 6th in Bangalore. So, can I have your contact details? Looking forward to hear from you.

TestWithUs said...

SWIFT Interview questions on

http://testwithus.blogspot.in/p/swift.htm

For selenium solution visit
http://testwithus.blogspot.in/p/blog-page.html


For QTP interview questions

http://testwithus.blogspot.in/p/qtp-questions.html


www.searchyourpolicy.com