Tableau Installation (Shared cPanel Servers)
Posted by Miraenda Sun, 18 Jun 2006 02:56:00 GMT
This version of Tableau requires FastCGI and Rails version 1.0 or greater as well as RMagick gem. The current servers that this will work on are Alcor, Gallifrey and Telos.
A. Creating your database for Tableau:
- Log into cPanel and click on MySQL Databases icon:
- As per the example below, enter tab in the "New Database" field under Current Databases area, then click "Create Database" button. Your full database name will then show as cPaneluser_tab.
- Under Current Users area as seen in the example below, enter tab for the "Username" field and enter a password that you write in your notes for the "Password" field, then click "Create User" button. Your full database user's name will then show as cPaneluser_tab.
- Under Add Users to Your Database area as shown below, select in the "User" dropdown cPaneluser_tab and select in the "Database" dropdown cPaneluser_tab, then click "Add User to Database" button.




B. Get a Copy of tableau.tar.gz
Download a copy of the current release (svn copy) from here. After obtaining a copy that you have saved to your system, you can then proceed with the next steps.
C. Upload Tableau Using cPanel:
- Log into cPanel.
- Click on "File Manager" icon:
- A new window will open. In that new window, click on "Upload File(s)" link toward the top:
- The page will load new content. Click one of the "Browse..." buttons:
- The Windows "File Upload" dialog prompt will open. Navigate to where you saved tableau.tar.gz on your system, highlight tableau.tar.gz, then click the "Open" button.
- Back at the File Manager screen where you have the "Browse..." button, click the "Upload" button:
- Tableau will begin uploading. Please note that it might take awhile for it to upload due to the size, usually around 3-15 minutes depending on your connection speed.





D. Upload Tableau via FTP:
If you prefer to use FTP to upload so you see the progress of the file upload, try the following instead
- Open your FTP client and access your account via FTP with most clients using the following to connect:
Host/Address: domain.com
Username: cPanelusername
Password: cPanelpassword - Highlight the file tableau.tar.gz on your system where you saved it and right click.
- Select upload (it needs to be uploaded to your main directory not inside public_html folder, so you should be at the level where you see public_html listed as a folder)
- Wait for the file to complete uploading.
- You can view an image of what Filezilla FTP client would look like for this process at this location.
E. Extracting Tableau:
- Log into cPanel if you aren't already logged into it.
- Click on "File Manager" icon if you aren't already in there:
- A new window will open for File Manager, then click on the tableau.tar.gz file name (not the icon):
- In the upper right hand corner, there are a list of links. Select "Extract File Contents" link in that list:
- A new window will open with the extracted files and folders listed as the extraction processes. Wait until this finishes (will say Done at the bottom left of most browsers once completed), then close the new window.
- In the File Manager window, refresh your browser. You should now see a folder called tableau there:




F. Changing the database.yml file for your database details:
- In File Manager, click on the folder icon to the left of the tableau folder:
- Click on the folder icon to the left of the config folder:
- Click on the database.yml file name (not the icon):
- In the upper right hand corner, click on "Edit File" link as shown below.
- A new window will open with the following in it:
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
development:
adapter: mysql
database: cPaneluser_tab
username: cPaneluser_tab
password: somepass
# socket: /tmp/mysql.sock
production:
adapter: mysql
database: cPaneluser_tab
username: cPaneluser_tab
password: somepass
# socket: /tmp/mysql.sock
- Replace cPaneluser with your cpanel username (there are 4 instances of this on lines 4, 5, 11 and 12). Do not remove the _tab part. For example, I would replace cPaneluser_tab with rubyasyl_tab for my rubyasylum.com account.
- In the password: line (lines 6 and 13), input the password you used when creating your database user earlier.
- Click the "Save" button, then close that window (keep the File Manager Window open though).


G. Symlinking your folder to tableau:
- In cPanel main area, click on "Cron Jobs" icon:
- Click "Advanced (Unix Style)" button:
- Enter the following as an example in the Advanced area:
Minute Hour Day Month Weekday 10 7 * * *
- This would run the cron at 7:10am Pacific time each day of the week. Change the 10 to a time 5 minutes from the current hour (so if it is currently 11:27am, change to 32 for the Minute). Change the hour to the current hour (so if it is currently 11:27am, change to 11).
- Enter the following for the Command field:
cd /home/username/public_html && ln -s ../tableau/public gallery
- Replace username in the command path with your cPanel username, then click "Commit changes" button. See the image below for an example of what the area might look like before you click that button:
- After you click "Commit changes" button, then click the Go Back link on the new screen:
- Wait for the cron job to process (around 10 minutes after you created it), then delete the cron using the "Delete" link to the far right of it in the "Advanced (Unix Style)" area:

Please note that it is very important that you perform this delete step so this cron does not keep running daily as you only want it to run this one time for the symlink creation. - You can check if the symlink actually worked by going into "File Manager" area, clicking on the folder icon next to public_html, then on the folder icon next to the new gallery folder that should now be in public_html folder. It should have the same contents that /home/username/tableau/public does.




H. Running rake migrate in cron:
- In cPanel main area, click on "Cron Jobs" icon again:
- Click "Advanced (Unix Style)" button:
- Enter the following as an example in the Advanced area:
Minute Hour Day Month Weekday 10 7 * * *
- As before, this would run the cron at 7:10am Pacific time each day of the week. Change the 10 to a time 5 minutes from the current hour (so if it is currently 11:27am, change to 32 for the Minute). Change the hour to the current hour (so if it is currently 11:27am, change to 11).
- Enter the following for the Command field:
cd /home/username/tableau && /usr/local/bin/rake migrate
- Replace username in the command path with your cPanel username, then click "Commit changes" button.
- After you click "Commit changes" button, then click the Go Back link on the new screen:
- Wait for the cron job to process (around 10 minutes after you created it), then delete the cron using the "Delete" link to the far right of it in the "Advanced (Unix Style)" area:

Please note that it is very important that you perform this delete step so this cron does not keep running daily as you only want it to run this one time for the database migration.



I. Loading up Tableau in a browser:
- Now you can load up your Tableau script in a browser using http://yourdomain.com/gallery/ (replace yourdomain.com with your actual domain name).
- You should a login link on the left hand side. Click this to sign up to the new gallery. For examples on administering your gallery, please see the tableau site. For a demo of Tableau, please see gallery.rubyasylum.com.
Have fun with your new gallery!

Lesen Sie alles über Internet Casino spielen und die Tücken des Spielens im Internet mit oder ohne Kreditkarte.
hi Danielle, i followed this tutorial to the T and i am getting 404 errors. my account is on the LP lasair server. Could it be that there's something wrong with rails on that server? None of my rails apps are working on this server. thanks, David
it's actually now a "Rails application failed to start properly" error.
Hi... that was great stuff.. I really like reading on this subject Could you tell me more on that... I love to explore
I thought your explation on the installation was the most thorough I have ever read. Thanks.
Great post, thank you for sharing,
Hi...Your post really got me thinking man..... an intelligent piece ,I must say.
It would be more interesting if you enlarge the font. That is a friendly criticism. (I had to wear my lens just to read it).
helpful information indeed. thanx for your sharing with all of us. continue your great job, and always gain my support!
I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.
Those polls members will confirm. These numbers come on top of record levels of participation by Black voters in the Democratic primaries, all of which indicate that Black turnout in the general election.
I really love to read articles that have good information and ideas to share to each reader.
We do appologise bout that. Realized after the fact that your character wuz not a companion. Like the concept that she follows much better, and I thiink that in the case of what I wuz able to glean that this must have been a good day.
thanks for the share