How do I add a remote Git repository to an Ubuntu Server?

git remote add origin jonas@192.168.1.10/home/jonas/code/myproject.git When using SSH, remote repository addresses can be expressed in two ways. One using absolute paths and one using relative paths from the users home directory. You’ve mixed them up. The corrected command would be one of the following. git remote add origin jonas@192.168.1.10:code/myproject.git git remote add origin ssh://jonas@192.168.1.10/home/jonas/code/myproject.git

Silent install Qt run installer on ubuntu server

Updated Answer: Newer Qt installers have a proper CLI that allows you to do something like: qt-unified-windows-x86-4.2.0-online.exe ^ –accept-licenses ^ –default-answer ^ –confirm-command install ^ qt.qt5.5158.win64_msvc2019_64 ^ qt.qt5.5158.qtcharts ^ qt.qt5.5158.debug_info ^ qt.qt5.5158.src ^ qt.tools.qtcreator See –help for all options. To figure out package names, go through a graphical install but stop at the final confirmation … Read more

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

first, as the log, your problem is… you dont have the sock! the sock (php7.2-fpm—-) is made when you start php. check the location to make the sock. go to /etc/php/7.2/fpm/pool.d/ -> www.conf you can see the listen = “something something” <– this is the location address. if it is not /var/run/php/php7.2-fpm.sock, replace it. run … Read more

docker login fails on a server with no X11 installed

Looks like this is because it defaults to use the secretservice executable which seems to have some sort of X11 dependency for some reason. If you install and configure pass docker will use that instead which seems to solve the problem. In a nutshell (from https://github.com/docker/compose/issues/6023) sudo apt install gnupg2 pass gpg2 –full-generate-key This generates … Read more

Not able to use systemd on ubuntu docker container [closed]

This is by design. Docker should be running a process in the foreground in your container and it will be spawned as PID 1 within the container’s pid namespace. Docker is designed for process isolation, not for OS virtualization, so there are no other OS processes and daemons running inside the container (like systemd, cron, … Read more