I will give examples of setting logging for nginx.
To change the log settings, open the nginx configuration file in any text editor:
Vyacheslav Gapon – personal blog, manuals, articles, notes, development
I will give examples of setting logging for nginx.
To change the log settings, open the nginx configuration file in any text editor:
Below is an example of some commands for viewing information about a computer in Linux.
Continue reading “Check hardware information on Linux”I will give examples of commands for viewing information about a network adapter in Linux.
Continue reading “How to view information about the network adapter in Linux”Once I noticed problems with a link on different Mimosa B5.
The link rose and fell at 1000Mbps every 5-10 seconds, respectively, the customers had a degradation of traffic, pings fell out.
Continue reading “Solving the problem with a link to Mimosa B5”
Once after installing Ubuntu Server 18.04, when trying to install Midnight Commander, a message was displayed that the package for installation was not found.
To solve the problem, you need to add the Universe repository:
Continue reading “How to install Midnight Commander (MC) on Ubuntu 18.04”
To install Midnight Commander in Ubuntu/Debian, just run:
Continue reading “Installation and information about Midnight Commander on Linux”For the test, I will update the TP-Link TL-WR941N 300Mb/s V2 router with firmware 3.12.5 Build 100929 Rel.57776n.
1) Let’s look at the revision of the router, in my case it is V2, and just for it we download the archive with the new firmware from the official site, the first link for the 300Mb/c model, and the second for 450Mb/c.
Continue reading “TP-Link TL-WR941N Firmware Update”
I will give an example of a speed limit of up to 3.3 Gb/s on a network interface on Ubuntu Server 16.04:
/sbin/tc qdisc del dev ens2f0 parent ffff: /sbin/tc qdisc add dev ens2f0 handle ffff: ingress /sbin/tc filter add dev ens2f0 parent ffff: protocol ip prio 50 u32 match ip dst 0.0.0.0/0 police rate 3300mbit burst 330k mtu 30000 drop flowid 1:0
Continue reading “Speed limit on network interface using TC”
nload – network interface bandwidth monitoring tool with graphical display in the terminal.
Continue reading “nload – monitoring network interface bandwidth”I will give an example of creating dummy interfaces in Linux.
On the test I use Ubuntu Server 16.04.
The first thing you need to load the module “dummy”, you can also add the option “numdummies = 2” to immediately create two dummyX interfaces:
Continue reading “Creating dummy interfaces on Linux”