Bluehost India Web Hosting Help
VPS or Dedicated Hosting - Installing Git
Git is a great open-source application to help you track the versions of files and projects that you work on.
You will need to make sure that you have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so.
Here is how you install Git,
- Open an SSH client and login.
- Then type:
sudo yum install git
Note: If you are logging in as root you do not need to type
This will install the Git functions for you.
Note: If you encounter an error regarding perl, try using:
yum install git --disableexcludes=main --skip-broken
- Make a directory for the repository.
Note: The use of .git is for the conformity with the other .git folders that are created in the repository. You can name the folder whatever you would like.
- Change to the new directory.
- Then type:
git --bare init
Note: The reason for using the
--bareis to mark it as the primary repository for this git project.
initstands for initialize.
To learn more on how to use Git, please go to Git - Documentation.
Recommended Help Content
VPS or Dedicated Hosting - Installing Java
How to install Java in a dedicated server.
VPS and Dedicated Hosting: Restore or Transfer cPanel
If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
VPS Dedicated Installing SSL
To help with installing an SSL certificate for an account on a dedicated server through the WHM
Related Help Content
VPS or Dedicated Hosting - Manage Login SSL Certificates
How to manage the SSL used for cPanel login through the WHM
VPS and Dedicated Hosting: Third Party Applications
VPS and Dedicated servers come with all applications necessary to run a standard web and email server. The applications that come with the VPS and Dedicated servers are generally supported as-is by our support technicians.
VPS or Dedicated Hosting - Install ClamAV
How to install ClamAV to help with virus protection.
VPS or Dedicated Hosting - Installing PHP APC
This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)
CentOS 7 and cPanel Upgrades
VPS and Dedicated customers with servers running the CentOS 6 operating system will not be able to upgrade cPanel past version 86. The cPanel team will still support CentOS 6 with cPanel 86 until March 31st, 2021.
VPS or Dedicated Hosting - Install a Minecraft Server
How to install a Minecraft Server.
VPS or Dedicated Hosting - Installing NginX
How to install NginX for reverse proxy and web performance enhancing.
VPS or Dedicated Hosting - Using Multiple cPanel Accounts To Set Custom Nameservers
How to setup name servers for multiple cPanel accounts.