How to Configure and Deploy CloudLinux’s Node.js Selector

Reading Time: 5 minutes

Why Node.js for CloudLinux?

In the last few years, the stability and ease of use of Node.js has lead to heavy adoption in application development.  However, deploying and configuring a Node.js application to work with cPanel presents a number of hurdles. CloudLinux’s recently released Node.js Selector is a great solution that includes a graphical interface to make deployment go more smoothly. To use this utility, you will need to have CloudLinux installed along with the LVE Manager plugin. In this configuration, your Node.js application will also benefit from the resource usage monitoring that comes with the CloudLinux LVE Manager. Continue reading “How to Configure and Deploy CloudLinux’s Node.js Selector”

Install and Configure Git on Ubuntu 18.04

Reading Time: 1 minute

What is the purpose of Git?

Git gives you a way to not only track changes in source code, but it can also be used to track changes in files.  It then stores the data in what is called a repository, also known as a repo. Continue reading “Install and Configure Git on Ubuntu 18.04”

How To Install Git on Ubuntu 16.04 LTS

Reading Time: 2 minutes

Git is one of the most popular tools used as a distributed version control system(VCS). Git is commonly used for source code management (SCM) and has become more used than old VCS systems like SVN.

Installing Git on Ubuntu 16.04 LTS

Pre-Flight Check
  • You should be running a server with any Ubuntu 16.04 LTS release.
  • You will need to log in to SSH via the root user.

First, as always, we should start out by running general OS and package updates. On Ubuntu we’ll do this by running:apt-get update

After you have run the general updates on the server you can get started with installing Git.

  1. Install Git
    apt-get install git-coreYou may be asked to confirm the download and installation; simply enter y to confirm. It’s that simple, Git should be installed and ready to use!
  2. Confirm Git the installation
    With the main installation done, first check to ensure the executable file is set up and accessible. The best way to do this is simply to run Git with the version command.
    git --version

    git version 2.7.4
  3. Configure Git’s settings (for the root user)
    It’s a good idea to setup your user for git now, to prevent any commit errors later. We’ll setup the user testuser with the e-mail address testuser@example.com.

    git config --global user.name "testuser"
    git config --global user.email "testuser@example.com"
    Note:
    It’s important to know that git configs work on a user by user basis. For example, if you have a ‘david’ Linux user and they will be working with git then David should run the same commands from his user account. By doing this the commits made by the ‘david’ Linux user will be done under his details in Git.
  4. Verify the Config changes
    Now we’ll verify the configuration changes by viewing the .gitconfig file. You can do this a few ways, we’ll show you both methods here.

    1. View the config file using cat with the following command:
      cat ~/.gitconfig
    2. Or, you can also view the same details using the git config command:
      git config --list

And that’s it! You have now installed Git on your Ubuntu 16.04 LTS server and have it configured on your root user. You can get rolling with your code changes from here, or you can repeat Steps 3 and 4 for the other system user accounts.

When a standard Cloud VPS is not enough, Liquid Web’s Dedicated Servers are a dream come true.  Liquid Web’s server outmatches the competition on performance and support. Check out how our Dedicated Servers can skyrocket your site’s performance.

 

Git & Continuous Deployment on Cloud Sites

Reading Time: 2 minutes

If you’re used to using services such as GitHub or Bitbucket for continuous integration, chances are you’re wondering how you can setup continuous deployment for your website on Cloud Sites. Since Cloud Sites doesn’t have git or SSH access, you might think it’s impossible. Luckily, with a service like DeployBot and their SFTP deployment tools, it is actually very simple to deploy your code from your repository to Cloud Sites with a simple click. Here’s a quick tour on how to get up and running with DeployBot and Cloud Sites.

Creating a new site on Cloud Sites

If you haven’t done so already, you’ll first want to create your website on Cloud Sites. Once logged into your Cloud Sites dashboard, simply click on Create Website, input your domain name, choose your Framework, and then click on Create New Website. Continue reading “Git & Continuous Deployment on Cloud Sites”

How To Install and Configure Git on Fedora 23

Reading Time: 1 minute

Git is an open-source version control system used for source code management.

Pre-Flight Check

  • These instructions are specifically intended for installing Git on Fedora 23.
  • For this tutorial, we’ll be logged in as root using a Liquid Web Self Managed Fedora 23 server.
  • If you’re using CentOS 7, you will want to use this tutorial to install git. For Ubuntu 15.04, use this tutorial.

Installation

As always, you’ll first want to ensure that the existing packages are up to date before proceeding with the installation:

dnf -y update

Then, you can install git with this command:

dnf -y install git

Once complete, git will be installed and ready to use!

As of the writing of this tutorial, the current version of Git available in the Liquid Web dnf repositories is version 2.5.0. You can check the version of git that was installed by running the following command:

git --version

Configuration

To prevent any commit errors, it’s a good idea to set up your user for git (use the –global option to specify global configuration settings).

git config --global user.name "sampleuser"
git config --global user.email "sampleuser@example.com"

You can verify the configuration changes by viewing the .gitconfig:

git config --list

That should produce output similar to the following:

[root@host ~]# git config --list
user.name=sampleuser
user.email=sampleuser@example.com

 

How to Install Git on Ubuntu 15.04

Reading Time: 1 minute

Introduction

Git is an open source, distributed version control system (VCS). It’s commonly used for source code management (SCM), with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

Pre-Flight Check

  • These instructions are intended for installing Git on Ubuntu 15.04.
  • I’ll be working from a Liquid Web Core Managed Ubuntu 15.04 server, and I’ll be logged in as root.

Continue reading “How to Install Git on Ubuntu 15.04”

How to Install and Configure Git on Fedora 22

Reading Time: 1 minute

Introduction

Git is a widely adopted, distributed version control system (VCS) and open source. It’s commonly used for source code management (SCM), with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

Pre-Flight Check

  • These instructions are intended for installing Git on Fedora 22.
  • I’ll be working from a Liquid Web Self Managed Fedora 22 server, and I’ll be logged in as root.

Continue reading “How to Install and Configure Git on Fedora 22”

How to Install and Configure Git on Fedora 21

Reading Time: 1 minute

Introduction

Git is an open source, distributed version control system (VCS). It’s commonly used for source code management (SCM), with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

Pre-Flight Check

  • These instructions are intended for installing Git on Fedora 21.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Continue reading “How to Install and Configure Git on Fedora 21”

How to Install and Configure Git on Fedora 20

Reading Time: 1 minute
Introduction

Git is an open source, distributed version control system (VCS). It’s commonly used for source code management (SCM), with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

Pre-Flight Check
  • These instructions are intended for installing Git on Fedora 20.
  • I’ll be working from a Liquid Web Self Managed Fedora 20 server, and I’ll be logged in as root.

Continue reading “How to Install and Configure Git on Fedora 20”

How to Install and Configure Git on CentOS 7

Reading Time: 1 minute
Introduction

Git is an open source, distributed version control system (VCS). It’s commonly used for source code management (SCM), with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

Pre-Flight Check
  • These instructions are intended for installing Git on CentOS 7.
  • I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.

Continue reading “How to Install and Configure Git on CentOS 7”