Author Archives: Daniel Sobrinho

What is Jailed Shell?

Jailed Shell is a viable and secure alternative that we provide so that our customers can access their hosting accounts via SSH protocol.
What differs from jailed shell from normal Shell access are the accesses provided for linux kernel library and file tree libraries. The hosting account owner will have, upon accessing the service, determined their root folder in the base directory of their account. This makes it easy to manage files, backups of files and emails, etc.
The expertise required are basic Linux commands and perhaps Shell Script.
To have released access to Jailed Shell it is necessary to send email to the Support sector, in "suporte@dock.inf.br" with the data below:

– Main account domain;
– CPanel user;
– CPanel password;
– Current contracted plan;
– Email the account owner who is registered in our systems;
– CPF/CNPJ of the Client who owns the account;
– Date of Birth of the Customer who owns the account.

Migrating MySQL / MariaDB database through the files

Hello, if you are needing to migrate your MySQL or MariaDB databases between Linux servers, being the new void, without databases other than the mysql settings themselves, this through the data files (.frm, .ibd, .opt) Follow the tips:
– Files are contained in the /var/lib/mysql path;
– The owner user should be mysql and mysql group, attention to this, as it will possibly copy the files through root. The command to setar the new user and group is: sudo chown -R mysql:mysql /var/lib/mysql
– Copied all folders you will already be able to see the databases in MySQL.
– The databases will be unaccessable, because the new databases are not part of the SDBG dictionary. To resolve this you will need to copy another file from the "old" server. Again I point out that this process should be done only for copying the data to a new server, which does not yet have databases created. The continuity of this step may leave the old foundations, if any, inaccessible. Then watch out.
– – The file to be replaced is ibdata1, it is in the /var/lib/mysql path. Then make a copy or change its name: sudo mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1_bkp
– –
Now copy the ibdata1 file from the old server to the new one, then try to access the tables.

I emphasize that all responsibility of this process is the one who executes it and here we only leave instructions for its own use, with the sole purpose of assisting. If you are not sure of this process, call anyone who can execute.

In need of support I left your comment!

Resolving absence of ppa-purge in Debian and derivatives

With the use of Deepin as a day-to-day distro, I felt the absence of many repositories that are kept especially for Ubuntu. All this would be bad if Deepin Linux was not a large distribution, as well as if it did not force me to practice commands in the Terminal.

In place of one of my sanitized repositories in Ubuntu, ppa-purge, I had to think of an output and created ppa-control.

With ppa-control you can add and remove repositories without always having to remember the add-apt-repository command. It is certain that ppa-control is nothing more than a function, but breaks the branch.

Your repository is on github on the way: https://github.com/danielsobrinho/ppa-control

With the commands: ppa-control add and ppa-control removes you solve your life.

Add a repository:

ppa-control add ppa:respositorio/repositorio

Remove a repository

ppa-control removes ppa:repositorio/repositorio