When you use a docker container, it could be interresting to be with root user.
It can be necessary to install some temporary tools for instance.
To simply you connect to the container with root user (id = 0), type the following command :
docker exec -u 0 -it mycontainer /bin/sh
Sometimes when you install manually some packages, they are broken and the command
sudo apt --fix-broken install
does not works !
In this case, 2 steps to correct:
- Soft correction
sudo apt-get update --fix-missing sudo dpkg --configure -a sudo apt-get install -f
If the problem of a bro...
Sometimes, you can have an internal server error (500) but you don't have any information in logs on it.
To determine and resolve this type of problem, the simplier way is to display directly the error on screen.
Be careful, this solution is not secured
When you administrate a server, it could be interresting to list all crontab from all users declare on it.
Naturally you will not connect with each user (if you can...) to check crontab.
To simply list crontabs, connect to server iwth root user and type the following command :
for user in $(cu...
Since June 2017, Debian 9 Stretch is available in stable branch. Consequently, Debian 8 (Jessie) is tagged now
oldtable and Debian 7 (Wheezy) is tagged
What's new ?
After 26 months of development the Debian project is proud to present its new stable version 9 (code name Stret...