wave
Uncategorized

How to Install Git on Ubuntu.

Mohammed Naser

Mohammed Naser

Git is an open source, distributed version control system. It’s all the rage right now with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

The preferred way to install Git on Ubuntu is to use the packages which are distributed with your operating system. They are often very well tested and they are pre-compiled, removing the need for installing and compiling everything from source.

We will start by updating the repositories on the server from the latest ones online, as well as upgrade the server if there are any old packages. This is good practice in general, you can do this by running the following command:

# apt-get update
# apt-get upgrade

Once we’re done with that, we can go ahead and install Git with all of it’s requirements. The following command will ask for a confirmation before it installs everything, you can type y and press enter afterwards to start the installation:

# apt-get install git-core

Once this process is done, you should be ready to configure git. There are plenty of resources which explain how to do it, but you can start by doing the basic configuration by running the following command:

# git config --global user.name "John Appleseed"
# git config --global user.email john@appleseed.com

You would replace the name and email above with your own information. You should now be ready to use Git on Ubuntu with no problems.

 

A little bit more about us, VEXXHOST is a high performance cloud solutions that is secure & reliable OpenStack based solutions for Developers & Enterprises. Solutions to support your demanding requirements and workloads used by active customers in over 70 different countries. VEXXHOST was created in 2006 and opened it’s virtual doors as web hosting provider. VEXXHOST now offers Public, Private and Hybrid cloud all powered by OpenStack.

If you are interested in reading more blog posts, you can always check out the VEXXHOST blog located on our website which includes many more interesting blogs and tutorials! If you have any questions concerning this blog or in general, feel free to communicate with us through our Contact Us page. One of our support team member will be more than happy to assist you and answer all your questions.

Don’t forget to follow us on Twitter for announcements, updates and news regarding VEXXHOST and cloud computing in general – @vexxhost.

Would you like to know about Zuul, a CI/CD project gating tool? Download our white paper and get reading!

How to up your DevOps game with Project Gating

Share on Social Media:

OpenStack

Cluster API driver for OpenStack Magnum

Mohammed Naser

Public Cloud

9000 MTUs (jumbo frames) in all Public Cloud Regions

Mohammed Naser

Uncategorized

OpenInfra Summit Berlin 2022 VEXXHOST Recap

Mohammed Naser

Go to Top