Damn Admin

Category: CentOS

Load Balancer with HAProxy

Lets get installing Assuming you have a new CentOS 7 server ready to gothe following should show you the current (or horrorably outdated) version available in the YUM repository After deciding the version…

Wget

Wget with login Wget download to a specified filename Wget download to a specified directory

Using wget to directly download from SourceForge

wget follows web redirects. Simply pass the URL as a parameter. https://unix.stackexchange.com/questions/86971/how-do-i-download-from-sourceforge-with-wget

Linux search for a filename

Find a file called “FileName” anywhere Find a file called “FileName” in /usr/share

Setting up CentOS, nginX & PHP

This is the base config I start with when building a CentOS 7 Server for development testing. (You might want to pick a better ‘password’, just saying) I’ll assume you have set up…

CentOS list groups a user belongs to

Documented as better then using grep

CentOS get group membership

Documented as better then using grep

List all Groups on Linux System

In the ramblings of Linux forums I came across this. It is documented as a better alternative to using grep on the /etc/groups file.

SED compatible online escape character tool

It just works. http://dwaves.de/tools/escape/

CentOS List Users