• Home
  • Technology
    • Ebullientech
    • Entrepreneurship
    • Video Technology
    • Cloud Computing
    • Business Analysis
  • Healthcare
    • Pharmacology
  • Thoughts
    • Food
    • General
    • Stories
    • Places
    • Workplace
    • Social Issues
    • Reviews
  • Quotes
  • Ebullientech News and Events
  • About

Kamalika's Notebook

thinking nothing...............!!

How To Deploy Ruby on Rails in Godaddy?

February 1, 2013 By Kamalika Leave a Comment

ruby on rails on godaddy

  1. Login to Godaddy Control Panel
  2.  Click on My Account
  3.  Click on Hosting
  4.  This page will display active domains that are hosted within that Godaddy hosting space
  5. Click on Manage (on whichever domain you want to deploy Ruby on Rails application/project)
  6. In the hosting manager click on CGI-Admin under Content section
  7. Login to CGI-Admin using your hosting account user name and password
  8. From Ruby tab create your Ruby/Ruby on Rails application directory
  9.  Above step will create a folder under hosting space and one .htaccess file under that folder
  10. Edit .htaccess file and change the file from despatch.cgi to despatch.fcgi
  11. Open a FTP client
  12. Download their demo application
  13. Create our controller, model, view in that demo application using ruby script generator
  14. Check it locally
  15. Upload the whole application (along with the rails distribution in the vendor folder) to the folder that created from CGI-Admin
  16. From browser the path will be http://www.mysite.com/<myapplication-folder>/public/<controller>/<action>

Filed Under: Networking, Server Administration Tagged With: How To Deploy Ruby on Rails in Godaddy?, Ruby on Rails Deployment in Godaddy

Creating Backup Schedule in RHEL 5

January 13, 2013 By Kamalika Leave a Comment

Creating Backup Schedule in RHEL 5

Creating Backup Schedule in RHEL 5:

  1. Open Putty
  2.  Login to the server (entering server IP)
  3. Login to server using user name and password from the Putty SSH Console
  4.  To create a CRON schedule type:crontab –e <enter>
  5. VI text editor will open as a blank file for the “crontab entries” to be entered; each line represents a separate crontab entry (hereafter referred to as “CRON JOBS”).
  6.  Each CRON JOB has at least 6 sections. Each section is delimited by a single blank space, but the final section may have spaces within it. No spaces are allowed within Sections 1-5, blank spaces are allowed only between those sections. Sections 1-5 are to indicate when and how often you want the task (the sixth position) to be executed and it uses the system time for execution.
  7.  Here is how positions 1-5 are laid out:

1 Minute 0-59
2 Hour 0-23 (0 = midnight)
3 Day 1-31
4 Month 1-12
5 Weekday 0-6 (0 = Sunday)
An asterisk (*) is used to indicate that every instance (i.e. every hour, every weekday, etc.) of the particular time period will be used.

  1. Backup script within the crontab entry is

 * 14 * * 5 root tar czpvf /home/user/backup-$(date +%Y-%m-%d).tar.gz /opt/lampp

 

  1. The CRON is set to 1400 hour (2:00 p.m.) 5th day of week (Friday)
  2. The command that will execute is
    tar czpvf /home/user/backup-$(date +%Y-%m-%d).tar.gz /opt/lamppThis above command will tar the entire content of the directory /opt/lampp and put the tar file into  /home/user/
    The name of the tar file will be backup-$(date +%Y-%m-%d).tar.gz (backup-YYYY-MM-DD.tar.gz)

Filed Under: Networking Tagged With: Creating Backup Schedule in RHEL 5

Let’s connect…

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Hello There…

I'm Kamalika, a techpreneur & startup mentor, blogger, hobbyist photographer, Netflix & Kindle indulgent, food connoisseur, Starbucks aficionado and former Disney employee ...next

Looking for something?

Tags

All in One SEO Pack AWS Banaras Blogger Blogging Blogs Dasaswamedh Ghat Ebullientech Ebullientech Interactive LLP Facebook Facebook Developers father's day father's day wishes father's day wishes for dad fathers day love Fathers Day Special Fathers Day wishes from daughter Father’s day memories GeoTech GeoTech Informatics HipHop for PHP Kamalika Guha Roy Kashi Ganga LAMP MySQL Nabaneeta Guha Roy Online Marketing PayPal PayPal's suspension of Indian bank transactions PHP PHP & MySQL Saraswati Puja Search Engine Optimization SEO Startup The Ganges TypePad UCO HUT Varanasi Web 2.0 Web 2.0 Design Web Design Web Marketing WordPress WordPress.COM

Timeline

  • 2024 (1)
  • 2021 (3)
  • 2020 (7)
  • 2019 (4)
  • 2018 (1)
  • 2015 (6)
  • 2014 (13)
  • 2013 (9)
  • 2010 (7)
  • 2009 (2)

Topics

Copyright © 2021 · Kamalika Guha Roy, Powered by: Ebullientech