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 allow all outgoing ports in CSF

Once on the same server running cPanel, CSF (Config Server Firewall) and LFD (Login Failure Daemon) I wanted to run the Speedtest CLI, but it did not start because it could not connect to the servers, I opened the CSF settings through the WHM panel (at the very bottom menu “ConfigServer Security & Firewall” – “Firewall Configuration”), where he discovered that only a few outgoing ports were open:

Continue reading “How to allow all outgoing ports in CSF”

Nginx. Parameter default_server

The default_server parameter defines the default server to which a client request will be sent in which the host field is empty or an unknown domain is specified in it. For example, when a client opens the server IP address in a browser, or when the server has several domains, for example, ixnfo.com, test1.ixnfo.com, test2.ixnfo.com, but not all domains are specified in the ngixn configuration.

Continue reading “Nginx. Parameter default_server”