Yum install dependencies for a local RPM
Got an RPM laying about you need to install but it has a bunch of dependencies? well let yum do the heavy lifting.
yum --nogpgcheck localinstall SomeApp.noarch.rpm
PHP PDO MySQL Needed to make a simple php script with mysql in it, so I decided to use PDO because… well peer pressure 😐 so heres a basic PHP PDO MYsql script. The idea is I have a table called table with a field called field in a database called somedatabase. We have 1000…
What is Dirty Cow CVE-2016-5195 is a bug in the Copy On Write mechanism of the Kernel. Any user or user owned process can gain write access to memory mappings which should be read only for the end user. This allows them to interact with otherwise root only files. Should you worry about it? YES. you…
A client has a machine in a DC that has a raid controller and 4 hdd’s set to raid 10, that’s all I was told. I wanted to keep an eye on the hdds, so I needed to install a utility that can monitor and interact with the raid controller. In my case I have the hp…
WireGuard VPN is a newer protocol that offers faster speeds, better security, simpler configuration, and improved battery life compared to OpenVPN. It uses modern cryptographic techniques, which makes it more secure and efficient. However, it may not be as widely supported as OpenVPN by VPN providers and clients. This post shows you how to host your own in docker in under 10 minutes!
I have close to 3000 images in a folder and needed to know exactly how many for a stupid bet I made. I dont feel like counting them! there must be something in the linux world to make this easier…. well there is. simple extension of the ls command. my directory is called images but…
An introduction to the CLI (Command Line Interface) and Bash on Ubuntu Linux aka a bash tutorial The default shell that is installed on Ubuntu Linux is bash. Alternatives exist, but they’re beyond the scope of this tutorial (check our post here for more info on how to isntall a better alternative to bash called Zshell…