Using an example, I will downgrade PHP in Ubuntu 18.04, in which version 7.2 is installed by default. I do not recommend downgrading PHP, since newer versions are more productive and close vulnerabilities, but there are times when you need to run an old script or engine that does not work on newer versions of PHP, and it is very difficult to fix the code due to the fact that there are a lot of files.
Continue reading “How to downgrade PHP”Author Archives: Vyacheslav
Configuring PPTP (VPN) server on Mikrotik
First, I will describe the first simple option for setting up a PPTP (VPN) server on Mikrotik via the web interface or Winbox. In this embodiment, only one client can connect to the server.
Continue reading “Configuring PPTP (VPN) server on Mikrotik”Installing and configuring PPTPd server
Below I will describe how pptpd is installed and configured. On the test I will install in Ubuntu Server 18.04.
Continue reading “Installing and configuring PPTPd server”Sula River. Four days on a boat in 2019
Asterisk Call Forwarding
Let me give you an example of setting call forwarding in Asterisk.
For example, on Grandstream IP phones, you can enable redirection by the functions of the phone itself, but if the phone is far away and there is no way to do it on it, but it is possible to log in using the SIP number of this phone, then to activate call forwarding, you can make a voice menu when dialing a certain number, for example, *21 to activate call forwarding and enter the phone number to which calls will be forwarded, and *22 to cancel call forwarding.
Installing and configuring fprobe
On the test, I will install the fprobe sensor, which will collect statistics from network interfaces and transmit it to the collector.
Continue reading “Installing and configuring fprobe”UBIQUITI (UBNT) OID’s & MIB’s
Below is a list of possible OIDs and MIBs:
Continue reading “UBIQUITI (UBNT) OID’s & MIB’s”MySQL Error Solution: Can’t create table ‘tablename’ (errno: 150)
MySQL error: Can’t create table ‘tablename’ (errno: 150) can occur when you, for example, upload a backup and MySQL is powered to create table 1 which refers to table 2, which essentially does not exist yet. You can solve by inserting the lines at the beginning in the backup:
Continue reading “MySQL Error Solution: Can’t create table ‘tablename’ (errno: 150)”How to change user login in WordPress
To change the WordPress user login, you need to execute an SQL query to the database, since this cannot be done through the admin panel menu.
Continue reading “How to change user login in WordPress”How to Prevent WordPress Theme Updates
Once upon a time a free theme was activated on one site and a lot of changes were made in it, so that someone would not accidentally update it and not overwrite the changes, I did the following:
Continue reading “How to Prevent WordPress Theme Updates”