Web server

Run PostgreSQL in Docker

To Run PostgreSQL in Docker I use an official image ‘postgres’ from https://hub.docker.com/_/postgres. You can start it as it’s described in the documentation, but I prefer to use docker-compose. For me it’s more flexible and allows to avoid of errors when start form command line. Read more»

Web server

Execute Jenkins Docker image at Windows 11

Jenkins

I often use docker at my workstation. It’s very comfortable. It’s already too much written about it, I won’t repeat. And let everyone choose what he wants. Read more»

Web server

Vi shortcuts

I am tired to look for Vi shortcuts, let the copy of this content stay here. Press Esc to start waiting for the command and after that enter the action. Read more»

Web server

Git. How to add external repository to your project

If you work with external developers and you often have to get the code from them, it’s not very good to transfer it with dropbox or something like that. You want to achieve it, view changes, make tests and build it. It’s why CI/CD is made for. At first you should add external repository to […] Read more»

Web server

Main Git (Github, Gitlab) rules

I can’t imagine the development process without Git. It’s not only to store the source code, but to work and to live with it. If you can’t use Git, you can’t take part in modern development. It’s not very difficult, may be it’s even easy. But you should know some recommendations to avoid mistakes and […] Read more»

Web server

Http-server cannot be loaded in Windows 10

When I tried to execute http-server from nodejs (with command ‘http-server –o’), I had got the error. The solution requires to update execution policy. Read more»

Web server

Change text editor in Midnight Commander (MC)

MC internal editor

There are different ways to change text editor in Midnight Commander. You may choose between internal editor and external one, or you can choose one of external editors. Read more»

Web server

PowerShell script to remove old IIS log files

Application logs can stop your machine if you do not control their size. By default, webserver IIS doesn’t clean IIS logs and stores them in c:\inetpub\logs. If your server is high loaded, logs of IIS can get critical size in 2-3 weeks. Read more»

Web server

Truncate NGINX log files in Linux (Debian, Ubuntu, CentOs)

Midnight Commander in Putty looks fine

In Linux OS (Debian, Ubuntu, CentOs) log files of web server can grow and grow. According to web server activity, they can grow to a very big size. To remove files is a bad solution because they won’t be restored and you loose new logs. Read more»

Web server

Pack and unpack files in linux console using Tar

Figure 1. Directory tree

Some Linux-commands for work with archives from command line. In this tutorial we have this structure (Figure 1 and Figure 2): /home/alexey/Documents/mydir/ – is a directory for adding to archive. Read more»

Web server

Popular Posts