You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages. While checking the status of packages using dpkg, you may come across the state rc.
Memory you have hot added in Linux guest virtual machines is not registered using the free or top commands.
This issue occurs when Linux requires manual intervention to expose the newly added memory in the guest. The process is called setting the memory to online.
To resolve this issue, set the memory online in RHEL/CentOS, and Ubuntu/Debian.
This guide will explain how to migrate and dockerize an existing WordPress installation without running Apache. Most other tutorials I’ve seen combine multiple services inside of one container, while this article tries to maintain the standard of one service per container for easier isolation, troubleshooting, performance, and scale-out. This consists of configuring multiple Docker containers with docker-compose on Ubuntu 16.04 Xenial to run MariaDB 10.0.31 or MySQL, Nginx 1.13, PHP7.1-FPM and WordPress 4.8. There are many tutorials for creating new WordPress sites with Docker containers such as this one, however there aren’t many for those who already have a site and want to migrate existing […]
Shell script to move the Docker Root directory on Ubuntu 16.04 Xenial. Get this script on GitHub or download directly.
To use this script simply edit the line /dockerdir_new=’/docker/var/’ to reflect your intended new Docker Root location and chmod +x move-docker-root.sh, then run with ./move-docker-root.sh.
Linux Screen allows you to:
Use multiple shell windows from a single SSH session.
Keep a shell active even through network disruptions.
Disconnect and re-connect to shell sessions from multiple locations.
Run a long running process without maintaining an active shell session.
ubuntu server show all tcp connections This post will show you how the netstat command displays active connections in Linux and Ubuntu Server. A majority of the time you’ll probably be using this to troubleshoot HTTP connections. Keep it mind that HTTP is a stateless protocol. Each line can represent one client opening multiple sockets to grab different files (css, images, etc) that will hang out for awhile in a timewait state. If that’s the case you could use something like this: watch -n 0.5 “netstat -ano | grep -v unix | grep ESTABLISHED | grep :80” It’s a useful tool for checking your network configuration […]