LMSouq

Knowledge Base

Browse Moodle Solutions

2110 solutions found

Page 69 of 106
0 votes
3 ans
35 views
"psql: could not connect to server: Connection refused" Error when connecting to remote database

I am trying to connect to a Postgres database installed in a remote server using the following command: psql -h `host_ip` -U `db_username` -d `db_name` Th...

server-admin Solved
PO
asked 5 months ago by Poonam Anthony
0 votes
3 ans
30 views
How do I set up curl to permanently use a proxy?

How can I set up "curl" to permanently use a proxy server in the terminal?

php-dev Solved
BE
asked 5 months ago by Ben
0 votes
2 ans
29 views
Removing MySQL 5.7 Completely

I am trying to uninstall mysql from my ubuntu 12.04 completely. But not able to. I tried a lot of commands. But nothing is working. Can anyone help out here!...

database Solved
US
asked 5 months ago by user1411472
0 votes
3 ans
28 views
apt-get update' returned a non-zero code: 100

I am trying to create a docker image from my docker file which has the following content: FROM ubuntu:14.04.4 RUN echo 'deb http://private-...

general-dev Solved
RP
asked 5 months ago by rp346
0 votes
3 ans
28 views
Merge multiple JPGs into single PDF in Linux

I used the following command to convert and merge all the JPG files in a directory to a single PDF file: convert *.jpg file.pdf The files in the direc...

server-admin Solved
HA
asked 5 months ago by Harikrishnan
0 votes
2 ans
31 views
How to build a Debian/Ubuntu package from source?

I have the source of a program (taken from cvs/svn/git/...) and I'd like to build a Debian/Ubuntu package for it. The package is present in the repositories...

server-admin Solved
RY
asked 5 months ago by Ryszard Szopa
0 votes
3 ans
28 views
How do I add a CA root certificate inside a docker image?

I am running an ASP.NET Core 1.1 Web API in a Docker 1.13.1 container on Ubuntu 14.04. When the code attempts to retrieve some data from an HTTPS server, I g...

server-admin Solved
PE
asked 5 months ago by Peter
0 votes
3 ans
30 views
How to install Ruby 2.1.4 on Ubuntu 14.04

I dont know how to install the latest Ruby on Ubuntu. First I installed the default Ruby 1.9.3, using sudo apt-get install ruby Then I tried to in...

server-admin Solved
AL
asked 5 months ago by Alek
0 votes
2 ans
21 views
Visual Studio Code formatting for "{ }"

I'm on Ubuntu. C++ in Visual Studio Code automatically lints like if (condition == true) { DoStuff(); } Instead I want to do :...

general-dev Solved
RA
asked 5 months ago by radbrawler
0 votes
3 ans
22 views
PHP Fatal error: Call to undefined function json_decode()

Apache is logging `PHP Fatal error: Call to undefined function json_decode()`. After some googling, it seems this problem is a result of not having the latest...

php-dev Solved
MI
asked 5 months ago by MirroredFate
0 votes
3 ans
34 views
Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?

I have applied every solution available on internet but still I cannot run Docker. I want to use Scrapy Splash on my server. Here is `history` of commands...

server-admin Solved
UM
asked 5 months ago by Umair Ayub
0 votes
3 ans
28 views
How to kill a process on a port on Ubuntu

I am trying to kill a process in the command line for a specific port in Ubuntu. If I run this command, I get the port: ```lang-none sudo lsof -t -i:9001...

server-admin Solved
TA
asked 5 months ago by Tampa
0 votes
3 ans
27 views
ImageMagick security policy 'PDF' blocking conversion

The Imagemagick security policy seems to be not allowing me perform this conversion from pdf to png. Converting other extensions seem to be working, just not fr...

general-dev Solved
T.
asked 5 months ago by T. Zack Crawford
0 votes
3 ans
32 views
Docker - Ubuntu - bash: ping: command not found

I've got a Docker container running Ubuntu which I did as follows: docker run -it ubuntu /bin/bash however it doesn't seem to have `ping`. E.g...

server-admin Solved
SN
asked 5 months ago by Snowcrash
0 votes
2 ans
27 views
Delete all local Git branches

I follow a development process where I create a new local branch for every new feature or story card. When finished I merge the branch into *master* and then pu...

general-dev Solved
LO
asked 5 months ago by Louth
0 votes
3 ans
28 views
Docker complains about "no space left on device", how to clean up?

I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.lis...

server-admin Solved
US
asked 5 months ago by user_mda
0 votes
2 ans
26 views
How to install Boost on Ubuntu

I'm on Ubuntu, and I want to install Boost. I tried with sudo apt-get install boost But there was no such package. What is the best way to install...

server-admin Solved
K5
asked 5 months ago by k53sc
0 votes
3 ans
29 views
How to permanently add a private key with ssh-add on Ubuntu?

I have a private key protected with a password to access a server via SSH. I have 2 linux (ubuntu 10.04) machines and the behavior of ssh-add command is dif...

server-admin Solved
DU
asked 5 months ago by duduklein
0 votes
1 ans
27 views
Where does PostgreSQL store configuration/conf files?

I have recently installed PostgreSQL on Ubuntu with the EnterpriseDB package. I can connect to the database locally, but I can't configure it because I can&...

database Solved
TI
asked 5 months ago by Timur Sadykov
0 votes
3 ans
31 views
How to install the JDK on Ubuntu Linux

Note: This is an old question and the answers reflect the world as it was then. Modern Ubuntu distributions have OpenJDK available which can be installed with...

server-admin Solved
US
asked 5 months ago by user2057084