Setting up a server with the WHM panel is pretty easy, since most of that is done for you by your hosting company. But it's not so intuative to setup the cPanel account itself (for the first time installation). So here are some instructions:
Here is a video: http://www.namecheap.com/support/knowledgebase/article.aspx/1091/97/web-hosting-tutorials-how-to-create-a-cpanel-account-in-whm
First you need a domain:
1) Purchase one from godaddy.
Or create a subdomain:
http://support.godaddy.com/help/article/4080/managing-a-domain-names-subdomains?pc_split_value=1&countrysite=in
1) From Account manager, click on the "Domains" section to open it up. Select the domain you want and click on the "Launch" button.
2) Click on the "DNS Zone File" tab
3) Click on the "Edit" button.
4) Now you should be inside the DNS Manager section. At the very top of the page, there should be a tool bar with icons. Click on the "Add Record" icon.
5) From the drop-down box, choose the option called "A (Host)."
6) Inside the box called "Host Name", enter the subdomain you want to use. (For example, dev.mydomain.com)
7) Enter the IP it should point to.
8) Click Okay. Now you will return to the DNS Manager page.
9) Remember to now click on the "SAVE FILE" button at the top of the page.
10) You'll probably need to wait a couple hours before it takes affect.
Then setup WHM:
1) Login to your WHM panel and go to: Home -> Account Functions -> Add new account
2) Fill in all the information with your domain.
3) Create a default package with manual settings. Leave everything as is.
4) Click save!
Now you have an account that will access cPanel. From the WHM manager, you can go to: Accouts -> List Accounts. Then click on the cPanel icon to login.
Or you can login to your cPanel directly: http://myip:2083
===========================
Now setup a database in cPanel:
1) Inside of cPanel, go to the section called "msqyl databases". You need to create a new database with collation utf8_unicode. Remember the name.
2) Create a new user for your database
3) Finally assign the user you just made, to the new database you just created. Give the user all privileges.
Additions to moodle install:
http://docs.moodle.org/24/en/CentOS_Linux_installation
http://docs.moodle.org/24/en/PHP
- Enabled XCache for php
- Enable IonCube Loader if necessary for custom licensing tools
- Make sure you have mysqli installed for the database (done through WHM->software->easyapache)
- Make sure you have curl installed
Now to setup moodle inside of cpanel:
1) Go to the Filemanager.
2) Create a folder named "moodledata" at the same level as the "public_html" item. Or simply remember to install it at a higher level than the moodle code. It needs to be one level higher in a folder hierarchy.
3) Go inside the "public_html" item. Upload a zip file of the latest moodle release. Upack the zip file. (Note: the zip file might extract to a folder called "moodle." For our purposes, make sure that all files are not within a separate folder, but extracted directly inside of "public_html."
4) Access the website via url to start the moodle installation process.
During installation:
1) Make sure the "unix socket" check box is on.
2) Make sure your database was set with the utf8_unicode option
After installation:
1) Make sure you set the cron for the moodle site and server.
http://docs.moodle.org/24/en/Cron_with_web_hosting_services
2) Go into cPanel for your server. Scroll down to the "Advanced" section and click on the "Cron Jobs" button.
3) Choose the timing for your cron job (normal is to every 30 minutes)
4) Enter the cron command like this example: /usr/local/bin/php -q /home/username/public_html/moodle/admin/cli/cron.php
This is what I was looking for from last week. Great work done. :) cpanel hosting
ReplyDeleteAmazing Blog! You share really very useful information about Cpanel hosting. Thanks for sharing such good information with us.
ReplyDeleteThank you very much for the kind response! Glad I could help.
DeleteNice Post! informative and useful... Thanks for sharing. I really like your post want to came back so keep posting... Thanks again!
ReplyDeleteHow to change the Cpanel Password
I simply created AN account. however after I attempt to login to the Cpanel using the username and password of the new account i purchase authentication error locution the login is invalid. i attempted ever-changing the word however I still get a similar error.
ReplyDeleteGreat blog on Setting up cPanel account from WHM, and thanks for your time on explaining these steps. cPanel hosting India , cPanel hosting comparison
ReplyDeleteGreat article, thank you very much for sharing such a good article. I am providing web hosting in pakistan, its quality is great.
ReplyDeleteLearnerScript | Learning Analytics Plugin for Moodle LMS.
ReplyDeleteOn LearnerScript which is an advanced analytics plugin for Moodle, you can create role-wise multiple dashboards for multiple roles
https://www.learnerscript.com/
LearnerScript | learning analytics tools for moodle LMS.
ReplyDeleteA learning analytics plugin from eAbyas for Moodle LMS. Now, make engaging reports for Moodle users without sharing your data to a third-party tool.
LearnerScript converts real-time data from your Moodle platform into
comprehensive reports for better and faster decision-making.
thanks for sharing this information
ReplyDeleteaws training center in chennai
aws training in chennai
aws training in omr
aws training in sholinganallur
aws training institute in chennai
best aws training in sholinganallur
Offshore Hosting By #1 Trusted Offshore Host Provider. Visit Website
ReplyDeletePeople say GoDaddy.com is the #1 hosting service in the world but I beg to differ. I think other services are providing better performance and facilities than GoDaddy and they deserve more recognition. Can you do a comparison post and If you have done one already then share it again.
ReplyDeleteI just upload…. Bluehost Reviews
Iam so thrilled because of finding your alluring website here.Actually i was searching for Manage Web Hosting & C-Panel.Your blog is so astounding and informative too..Iam very happy to find such a creative blog. Iam also find another one by mistake while am searching the same topicMobile Marketing.Thank you soo much.
ReplyDeletePlay free slots or practice for free at Lucky Club
ReplyDeleteLucky Club is the place to play unique online slots or casino games for free. Enjoy a great experience playing free slots luckyclub and practice for fun! We offer free