Damn Admin

Archives

RPI RTSP Player

This assumes you are installing on a RPI 4 with 4GB of memory If not you need to modify the video memory split to suite your needs in both the ‘raspi-config’ step as…

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…

SELinux output custom module

So you can use it later Run the thing that is broken Now get the module output If everything looks well send it to a file This is the file to transfer around…

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

Update Cisco 3560 IOS

For the WS-C3560X series switches we use the builtin archive tool.This tool uses the .tar images to update software.If you don’t want the web gui, remember to use the /imageonly switch Save your…

Notepad++ RegEx

Delete (or replace) from the beginning of a line to [word]in this case: ‘used: ‘ Delete (or replace) from [word] to the end or the linein this case: ‘Gb’

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…

ASCII Art Generator

Simple but effective http://patorjk.com/software/taag/

Older Posts »
Page 1 of 2