Minimal Installation does not contain the ps command. Actually, there is no ps package in apt. ps is part of the procps package.
This command will install the package:
apt-get update && apt-get install procps
java. magnolia. apache. spring. hibernate. mobile.
Minimal Installation does not contain the ps command. Actually, there is no ps package in apt. ps is part of the procps package.
This command will install the package:
apt-get update && apt-get install procps
Wie bekomme ich eigentlich eine Datei per Console vom Server zu einem Owncloud oder Nextcloud hochgeladen?
curl hilft dabei, es geht z.B. so:
curl -X PUT -u username:password "http://myserver/remote.php/webdav/filename.type" --data-binary @"filename.type"
Docker Installation per yum:
yum install docker
Bei dem Setup habe ich eine Partition für Docker Images erstellt und unter „/data“ eingehangen. Hierfür muss das Default-Installationverzeichnis von Docker angepasst werden:
vi /etc/sysconfig/docker
Für CentOS lautet die Zeile zum Anpassen des Verzeichnisses:
other_args="-g /data/docker"
Anschließend wird der Docker Daemon neu (bzw erstmals) gestartet:
# systemctl stop docker.service -> oder alternativ mit "service docker stop"
# systemctl start docker.service -> oder alternativ mit "service docker start"
Die Installation kann mit dem Kommando
docker run hello-world
geprüft werden, und mit „docker images“ werden alle installierten Docker Images aufgelistet.
Um die Tests wieder wegzuräumen und die Docker Umgebung wieder in Ausgangslage zurückzusetzen, sind folgende Kommandos hilfreich:
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)