CentOS - Knowledge Base Archives - Hivelocity Hosting https://www.hivelocity.net/kb/tag/centos/ Dedicated Servers, Private Cloud & Colocation Thu, 11 Jan 2024 21:33:13 +0000 en-US hourly 1 https://wordpress.org/?v=6.6 How to Install PIP on CentOS 7 https://www.hivelocity.net/kb/how-to-install-pip-on-centos-7/ Wed, 22 May 2019 19:42:39 +0000 https://www.hivelocity.net/?post_type=hv_knowledgebase&p=11881 In this guide we’ll be covering the process to install PIP on CentOS 7 using the command line. By following these 7 simple steps, you can install PIP quickly and easily. What is PIP? PIP stands for Pip Installs Packages. It is a package manager for the Python programming language that allows you to download …

How to Install PIP on CentOS 7 Read More »

The post How to Install PIP on CentOS 7 appeared first on Hivelocity Hosting.

]]>
In this guide we’ll be covering the process to install PIP on CentOS 7 using the command line. By following these 7 simple steps, you can install PIP quickly and easily.

What is PIP?

PIP stands for Pip Installs Packages. It is a package manager for the Python programming language that allows you to download and install Python packages and their dependencies on a Linux system. It is similar to a Linux distribution’s package manager, but it is specifically designed for Python packages. PIP can be installed on any major Linux distribution and is available for both Python 2 and Python 3. Once installed, PIP can be used on the command line to download and install Python packages and their dependencies.

 

Installing PIP on CentOS 7

To begin, you first need to log in and connect to your server via SSH. See here for common SSH clients:

SSH client utilities (Free):

PuTTY:

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Bitvise SSH client:
https://www.bitvise.com/ssh-client-download

KiTTY:
https://www.9bis.net/kitty/

MobaXterm (Free with available Paid Pro version):
https://mobaxterm.mobatek.net/

SmarTTY:
https://sysprogs.com/SmarTTY/

Solar-PuTTY (Free with available paid versions):
https://www.solarwinds.com/free-tools/solar-putty

There are many others available out there as well.

  1. Next, log in to your CentOS 7 server with root user using your favorite SSH client
  2. Once logged in, add/install the EPEL repository with the command:

    yum install epel-release

    The image below shows what the command and its results should look like.
    Terminal window highlighting the "yum install epel-release" command
    Terminal window highlighting the result of "yum install epel-release" command

  3. Update the packages to ensure all recently added repos software is pulled and installed, as well as updating any other out of date software. Use the command below which will update all installed packages without prompting you for approval.

    yum –y update

    Terminal window highlighting the "yum -y update" command

  4. The last step is to install python-PIP and any other required packages using the command:

    yum -y install python-pip

    Terminal window highlighting the command "yum -y install python-pip"

  5. Now, verify the installation has been completed successfully with the command:
    pip –V

    Terminal window showing the results of the "pip -V" command confirming PIP has been installed

If all went well and you are seeing the above output, then you should now be ready to use PIP.

And there you have it! Now that you’ve successfully installed PIP on CentOS, you’re ready to start using python-based software.

 

Looking for more information on CentOS? Search our Knowledge Base!

 

The post How to Install PIP on CentOS 7 appeared first on Hivelocity Hosting.

]]>
Install Direct Admin on Linux systems https://www.hivelocity.net/kb/how-do-i-install-direct-admin-on-linux-systems-2/ https://www.hivelocity.net/kb/how-do-i-install-direct-admin-on-linux-systems-2/#respond Sun, 14 Nov 2010 09:45:26 +0000 https://kb.hivelocity.net/?p=2294 Step 1) Do you meet the system requirements? – Clean OS install: Redhat 7.2, 7.3, 8.0, 9.0, Fedora (any version), CentOS (any version). PS :- The setup file for Redhat also works for Fedora and CentOS (any version). – At least one external IP address (NAT/LAN-based systems will NOT work). – SSH installed, gcc installed …

Install Direct Admin on Linux systems Read More »

The post Install Direct Admin on Linux systems appeared first on Hivelocity Hosting.

]]>
Step 1)
Do you meet the system requirements?

– Clean OS install: Redhat 7.2, 7.3, 8.0, 9.0, Fedora (any version), CentOS (any version).

PS :- The setup file for Redhat also works for Fedora and CentOS (any version).

– At least one external IP address (NAT/LAN-based systems will NOT work).

– SSH installed, gcc installed (these are usually standard with 99% of systems).

Step 2: Make sure your license information is correct.

Sign into your client account at

*** https://www.directadmin.com/clients ***

and click the “view” link next to your license.

Verify that the server IP address and operating system is correct. Also make sure that the license is Active and Verified (if it isn’t, then the DA billing system hasn’t processed your order yet).

Step3) Login as root and download the setup.sh file

Command

# wget https://www.directadmin.com/setup.sh

Step4) Change permissions on the setup.sh file

Command

# chmod 755 setup.sh

Step5) Run the setup script!

Command

# ./setup.sh

You will be prompted for a client ID number, license ID number, and hostname.

Important: The hostname should not be the same as the primary domain name. e.g. gary.com is not a good hostname, where server.gary.com is good. Having the same host/main domain name will cause e-mail and FTP problems. Also, please make sure the hostname resolves once you setup DNS.

The post Install Direct Admin on Linux systems appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-do-i-install-direct-admin-on-linux-systems-2/feed/ 0
Install Fantastico on cpanel server https://www.hivelocity.net/kb/how-to-install-fantastico-on-cpanel-server/ Sun, 14 Nov 2010 04:42:55 +0000 https://kb.hivelocity.net/?p=1927 Install Fantastico on Linux cpanel server Before installing Fantastico you must replace the buggy version of wget that ships with your OS or Fantastico will not install. After you fix this you can continue with the installation process: If you have Fedora Core 5/6 or CentOS 5 or Red Hat Enterprise Linux 5 on your …

Install Fantastico on cpanel server Read More »

The post Install Fantastico on cpanel server appeared first on Hivelocity Hosting.

]]>
Install Fantastico on Linux cpanel server

Before installing Fantastico you must replace the buggy version of wget that ships with your OS or Fantastico will not install.

After you fix this you can continue with the installation process:

If you have Fedora Core 5/6 or CentOS 5 or Red Hat Enterprise Linux 5 on your server and are experiencing troubles with respect to upgrades (forced or otherwise) of Click Be! or Fantastico or Universina, please check the wget version that you have on your server.

If it is wget-1.10.2-3.3.fc5 or wget-1.10.2-7.el5 or wget-1.10.2-8.fc6.1, we suggest that you replace it immediately with an older and/or stabler version. This version does not honor the “-P” switch.

An alternate version that we suggest is wget-1.10.2-3.2.1

Fire the following commands from command line:

# rpm -qa wget ;
# wget ftp://fr2.rpmfind.net/linux/fedora/core/5/i386/os/Fedora/RPMS/
wget-1.10.2-3.2.1.i386.rpm;
# rpm -e wget ;
# rpm -ivh –force wget-1.10.2-3.2.1.i386.rpm ;
# rpm -qa wget ;

Note: version of wget included with Fedora Core 7 does not have this problem, so that may be a better option for some people.

Installation process : SSH to your server(s) and enter following commands:

# cd /usr/local/cpanel/whostmgr/docroot/cgi
# wget -N https://files.betaservant.com/files/free/fantastico_whm_admin.tgz
# tar -xzpf fantastico_whm_admin.tgz
# rm -rf fantastico_whm_admin.tgz

Note: if you have problems contacting this server, please try this alternate location:

wget -N https://files.netenberg.com/files/free/fantastico_whm_admin.tgz

Now go to WHM, login as root and follow the link

WHM -> Add-Ons (Plugins on v11.x or higher) -> Fantastico De Luxe WHM Admin (scroll down the left menu).

Upon loading, Fantastico De Luxe WHM Admin

The post Install Fantastico on cpanel server appeared first on Hivelocity Hosting.

]]>
How do I add additional alias IP addresses in CentOS or Fedora? https://www.hivelocity.net/kb/how-do-i-add-additional-alias-ip-addresses-in-centos-or-fedora/ https://www.hivelocity.net/kb/how-do-i-add-additional-alias-ip-addresses-in-centos-or-fedora/#respond Sat, 13 Nov 2010 12:36:56 +0000 https://kb.hivelocity.net/?p=1445 The steps to add additional IP’s are: Login into the server as the root user: Change to /etc/sysconfig/network-scripts directory cd /etc/sysconfig/network-scripts Assuming that the network interface name is eth0 cp ifcfg-eth0 as ifcfg-eth0:1 Edit the ifcfg-eth0:1 file and change the DEVICE parameter to DEVICE=eth0:1 Change the other parameters in the file such as IPADDR to …

How do I add additional alias IP addresses in CentOS or Fedora? Read More »

The post How do I add additional alias IP addresses in CentOS or Fedora? appeared first on Hivelocity Hosting.

]]>
The steps to add additional IP’s are:

Login into the server as the root user:

Change to /etc/sysconfig/network-scripts directory
cd /etc/sysconfig/network-scripts

Assuming that the network interface name is eth0

cp ifcfg-eth0 as ifcfg-eth0:1

Edit the ifcfg-eth0:1 file and change the DEVICE parameter to DEVICE=eth0:1

Change the other parameters in the file such as IPADDR to the new IP address.

After this restart the network service:
service network restart

The post How do I add additional alias IP addresses in CentOS or Fedora? appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-do-i-add-additional-alias-ip-addresses-in-centos-or-fedora/feed/ 0