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 […]