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.
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
By default user “postgres” have full access on PostgreSQL. To create a user, run
su postgres
createuser -P USERNAME
To create a database, run
createdb -T template0 -E UTF8 -O USERNAME DBNAME
You can see help with
postgres@ok-vm:~$ createdb --help
createdb creates a PostgreSQL database.
Usage:
createdb [OPTION]... [DBNAME] [DESCRIPTION]
Options:
-D, --tablespace=TABLESPACE default tablespace for the database
-e, --echo show the commands being sent to the server
-E, --encoding=ENCODING encoding for the database
-l, --locale=LOCALE locale settings for the database
--lc-collate=LOCALE LC_COLLATE setting for the database
--lc-ctype=LOCALE LC_CTYPE setting for the database
-O, --owner=OWNER database user to own the new database
-T, --template=TEMPLATE template database to copy
-V, --version output version information, then exit
-?, --help show this help, then exit
Connection options:
-h, --host=HOSTNAME database server host or socket directory
-p, --port=PORT database server port
-U, --username=USERNAME user name to connect as
-w, --no-password never prompt for password
-W, --password force password prompt
--maintenance-db=DBNAME alternate maintenance database
By default, a database with the same name as the current user is created.
Report bugs to <pgsql-bugs@postgresql.org>.
postgres@ok-vm:~$
root@ok:~# ssh n1eb4141@50.62.71.1
Unable to negotiate with 50.62.71.1 port 22: no matching host key type found. Their offer: ssh-dss
root@ok:~#
Same happens with scp
root@ok:~# scp n1eb4141@50.62.71.1:/var/chroot/home/content/83/13319983/html.tar .
Unable to negotiate with 50.62.71.1 port 22: no matching host key type found. Their offer: ssh-dss
root@ok:~#
To fix this, add -oHostKeyAlgorithms=+ssh-dss to the command.
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 5.6 is ioncube_loader_lin_5.6.so
You need to copy this file to PHP extension directory. To find this, run