ssh

Basic commands for Docker

I will write some useful commands to work with Docker. If I use them often, I will remember them, otherwise I will remember them quickly if I read this post. Read more»

Linux

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

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

How to reset MySQL root password in Linux console (SSH)

To reset MySQL root password you should log in as root to your Linux server, stop MySQL service, start it without password and permission checks, log in as root without authorization, update password and restart MySQL server. Now more info. Read more»

SQL and databases

Characters in Midnight commander via Putty from Windows 8

Midnight Commander with unreadable characters

When I first started Putty on my Windows 8.1 x64, connected to my server and ran Midnight Commander, I saw picture like this (see drawing 1). Instead of separating lines there were unreadable characters. It wasn’t what I expected to see and the first thing came in my mind is to fix it.  Read more»

Windows

Popular Posts