Red Hat is offering a few official docker images for RHEL8. One can now use or build images based on the latest operating system from Red Hat. Here is how to do it in 3 simple steps
![]()
Red Hat is offering a few official docker images for RHEL8. One can now use or build images based on the latest operating system from Red Hat. Here is how to do it in 3 simple steps
![]()
Red Hat EL8 is available now since May 7th. It’s not particularly exciting IMO. Many “new” features have been available on other distros quite a while ago. Here, I want to evaluate how easy it is to adopt my existing ansible playbooks on this new version of Red Hat.
![]()
There are plenty of backup tools in the community but I still prefer rsync for desktop backup. It only copies the changes and it does not require any catalog. I’ve been using that for years, rsync-ing my files to a USB drive. While it works fine and it saved my day a couple times, my…
![]()
From thehackernews, it was said when the UID is larger than INT_MAX, which is 2147483647, privilege validation is improperly handled and that gives the user right to run systemctl commands as if he/she is a privileged user. What is my INT_MAX? Though it’s hard to imagine who would use such an UID when they usually starts…
![]()
The new AMD-based instance types are made available in Nov 2018. It’s damn impressive. Here is a quick benchmark using openssl. The first is from EPYC, second from ARM, third from Intel.
![]()
I don’t think I’ve ever said anything good about Azure, but I’ve finally ran into one today. Someone screwed up sshd_config and the service would not start anymore. With the run script tool, I was able to revert the config to the original version and restart the service. Fortunately, the changes were checked into RCS,…
![]()
Run tmux and have it split into 2 panes, each running a separate process, and send input to all panes. Here I start up one container in each pane, then turn on input broadcast. One can easily modify the commands and have tmux gives control over a cluster of servers. Or ssh to different servers…
![]()
If you ever need to take over management of an AWS farm, it’s very likely you will need to attach SG to all instances. Be that for monitoring or access. Here is a bash script to add 1 SG to all instances. You will need to first setup a profile on awscli. Then run the…
![]()
Let’s take a look at how to build a really simple Linux package. The most common package formats are definitely .deb and .rpm. One will find them on Debian-variants and Redhat-variants respectively. In the following examples, a package will be created and it will contain 1 script.The script depends on Python so I want the…
![]()
There are a couple ways to debug php applications. We can enable core dump and/or install Xdebug. Enable php core dump on php-fpm First instruct the kernel to write core dumps to /tmp. On some system, dumps are fed to abrtd. echo ‘/tmp/core-%e.%p’ > /proc/sys/kernel/core_pattern In php-fpm.conf, add the following rlimit_core = unlimited Restart php-fpm…
![]()