api

Testing API https://extendsclass.com/rest-client-online.html https://insomnia.rest/ https://www.getpostman.com/

DDoS

DDoS Protection ServiceApache Website not loading – DDoS To check if your server is getting DDoS, you can use netstat command. Or Instead of netstat, you can also use ss command Once you find the offending IP address, you can block it in the firewall. To Verify if an IP is blocked Block Attack with … Read more

Supervisord

supervisord is a program that allows you to monitor and control processes. supervisord runs processes as its sub-process and can restart a process if it crashes. supervisord is the server. supervisorctl is the client program. You can find more info at supervisorctl How to Install Supervisord on CentOS 7 To install on CentOS run yum … Read more

Dedicated Server Providers

Here are some dedicated server providers. If you need any recommendations or found a service provider that you think useful, contact me at admin@serverok.in Value For Money Dedicated Servers Cheap Dedicated Servers These servers are very cheap. You can’t get a decent VPS for this price. Only use them for personal sites. Also make sure … Read more

PostgreSQL

psql commands \l List databases \l+ List databases \c DB_NAME connect to a database \du list users \dt list tables \d TABLE_NAME describe a table \dn+ List of schemas To install PostgreSQL on Ubuntu/Debian, run Start it with By default user “postgres” have full access on PostgreSQL. To create a user, run To create a … Read more

ioncube

How To Install ionCube on Ubuntu 20.04 Install ionCube on Ubuntu 18.04 Install ionCube on Debian 8 Install ionCube on Debian 9 Install ionCube Loader on CentOS 7 Install ioncube on CentOS Plesk Server

Install ioncube on Debian 8

To install ioncube Debian 8, first download the ioncube loader from http://www.ioncube.com/loaders.php cd /usr/local/src wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube/ This folder have loader for several PHP versions, find the PHP version you have with command php -v By default Debian 8 come with PHP 5.6. The file you need to use for PHP … Read more

pip

Install pip On CentOS wget https://bootstrap.pypa.io/get-pip.py python get-pip.py On Ubuntu apt install python-pip On Ubuntu, python3 apt install python3-pip Install a python module from github using pip cd /opt/bench git clone https://github.com/frappe/bench bench-repo Now run pip install -e bench-repo Install modules from requirments.txt pip install -r requirements.txt To create requirements.txt file, run pip freeze > … Read more

usermod

On CentOS, the wheel group allows users in this group to run commands as user root with sudo. To add a user to the wheel group, run On Ubuntu/Debian, use Remove a User from Group Example Here we remove user designware from group sudo. To remove a user from all secondary groups, run Change user … Read more