There are a few commands which will help us determine any information about running system. lscpu CPU architecture lshw hardware information hwinfo hardware information (grouped)
use COPY, not ADD (if you do not have good reason to). COPY only supports the basic copying of local files into the container, while
Docker was created to isolate your development environment to suppress any possible issues with different local OSes and configurations. So the idea is that everything
There is one issue with Node when it is started by the npm process – it does not respond to termination signals by default. This
Simple configuration which will allow to handle more than one domain by server using NGINX. Edit config files as following: /etc/nginx/sites-available/first-domain.com /etc/nginx/sites-available/second-domain.com It is possible
Nginx allows to utilize FastCGI module which enables processing *.php files. When you serve site like this blog, caching may be useful tool, especially when
In terms of searching files in Linux, two the most popular tools are find and locate. Although there are significant differences between them. According to
After accessing your brand new server it is highly recommended to change a few things to increase security. Firstly, change the root password Secondly, we
Save message to file: /etc/motd And then restart sshd $ sudo systemctl restart sshd $ ssh [email protected] Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 2.6.32-042stab141.3 x86_64)
Whenever you want to upload some files to your server and do it securely, use SCP (which stands for “secure copy protocol”). The transfer is