By arulkandan
In our company, apt-get command is not supported, getting below error.
$ apt-get install haproxy -nologin: apt-get: not found [No such file or directory] $
So please guide me how to install HAProxy in linux machine without apt-get cmd. and also pls provide the link to get the HAProxy binaries.
Thanks,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
apt is the package manager used by Debian, Ubuntu and other Linux distributions based on them. If apt-get does not exist you are likely using a different Linux distribution.
You can usually find out what distribution you are running by checking the issue file, you can do this with the command:
cat /etc/issue
If this is CentOS, RedHat or Fedora then you will have to use the yum package manager instead.
Instead of the command you listed, you could possibly use
yum install haproxy
There are likely to be other differences so I would recommend finding a tutorial specifically for your distribution. This guide on HowtoForge covers installation in CentOS 7.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.