LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 68 of 106
0 votes
1 ans
3 views
sudo: docker-compose: command not found

I am trying to run docker-compose using sudo. I have both docker and docker-compose installed on Ubuntu 16.01. Due to an error while trying to download co...

server-admin Solved
MA
asked 1 month ago by Magick
0 votes
1 ans
3 views
Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04

I have installed Laravel many times on Windows OS but never had this problem. However, on Ubuntu 14.04 I am getting a 500 Internal Server Error, and messages...

server-admin Solved
DP
asked 1 month ago by DpEN
0 votes
1 ans
3 views
How to run wget inside Ubuntu Docker image?

I'm trying to download a Debian package inside a Ubuntu container as follows: sudo docker run ubuntu:14.04 wget https://downloads-packages.s3.amazona...

server-admin Solved
MA
asked 1 month ago by Marian Klühspies
0 votes
1 ans
3 views
Make docker use IPv4 for port binding

I have docker host and inside I have one container. The docker host is binding the port on IPv6 interface only, not on IPv4. This is the output tcp...

server-admin Solved
US
asked 1 month ago by user3214546
0 votes
1 ans
3 views
The authenticity of host 'github.com (192.30.252.128)' can't be established

I am trying to use sudo npm install to install all my dependencies for an application written in nodejs. My OS is Ubuntu 13.04 However, I keep getti...

general-dev Solved
LE
asked 1 month ago by led
0 votes
1 ans
3 views
Setting environment variables for accessing in PHP when using Apache

I have a Linux environment and I have a PHP Web Application that conditionally runs based on environment variables using `getenv` in PHP. I need to know how the...

server-admin Solved
AB
asked 1 month ago by Abishek
0 votes
1 ans
3 views
docker ubuntu /bin/sh: 1: locale-gen: not found

I put the locale setting codes below into my dockerfile, FROM node:4-onbuild # Set the locale RUN locale-gen en_US.UTF-8 ENV LAN...

server-admin Solved
HA
asked 1 month ago by Hammer
0 votes
1 ans
3 views
How to get the name of the current git branch into a variable in a shell script?

I am new to shell scripting and can't figure this out. If you are unfamiliar, the command git branch returns something like * develop master...

general-dev Solved
BE
asked 1 month ago by Ben
0 votes
1 ans
3 views
using pip3: module "importlib._bootstrap" has no attribute "SourceFileLoader"

I have installed pip for python 3.6 on Ubuntu 14. After I run sudo apt-get install python3-pip to install pip3, it works very well. However, after ins...

general-dev Solved
AR
asked 1 month ago by Arsenal591
0 votes
1 ans
3 views
Redis - Connect to Remote Server

I've just install Redis succesfully using the instructions on the Quick Start guide on http://redis.io/topics/quickstart on my Ubuntu 10.10 server. I'm...

server-admin Solved
GR
asked 1 month ago by gregavola
0 votes
1 ans
3 views
How to redirect the output of an application in background to /dev/null

I would like to redirect the output generated from a background application in Linux to /dev/null. I am using kate text editor and it prints all the debug me...

general-dev Solved
KI
asked 1 month ago by Kiran
0 votes
1 ans
3 views
What is the difference between MySQL Server and MySQL Client

In Ubuntu I normally install both but what are the differences between the client and server for MySQL. As a bonus, when a new statement mentions that it ne...

server-admin Solved
LU
asked 1 month ago by Luis Alvarado
0 votes
1 ans
3 views
How can I install distutils for Python on Ubuntu?

I just got some space on a VPS server(running on Ubuntu 8.04), and I'm trying to install Django on it. The server has python 2.5 installed. When I run the D...

server-admin Solved
NE
asked 1 month ago by Neo
0 votes
1 ans
3 views
Failed to start mongod.service: Unit mongod.service not found

I follow all the steps mention in MongoDB installation [documents][1] for `Ubuntu 16.04`. [1]: https://docs.mongodb.com/getting-started/shell/tutorial/insta...

general-dev Solved
RA
asked 1 month ago by Rahul
0 votes
1 ans
3 views
django.db.utils.ProgrammingError: relation already exists

I'm trying to set up the tables for a new django project (that is, the tables do NOT already exist in the database); the django version is 1.7 and the db ba...

general-dev Solved
QU
asked 1 month ago by quindraco
0 votes
1 ans
3 views
Is it possible to run selenium (Firefox) web driver without a GUI?

We are considering upgrading our production server from Ubuntu-**desktop** 10.04 to Ubuntu-**server** 12.04. We have various services running on our current...

general-dev Solved
NO
asked 1 month ago by nonshatter
0 votes
1 ans
3 views
How to close this ssh tunnel?

I opened a ssh tunnel as described in this post: https://stackoverflow.com/questions/2807118/zend-db-how-to-connect-to-a-mysql-database-over-ssh-tunnel But n...

server-admin Solved
JA
asked 1 month ago by Jacob
0 votes
1 ans
3 views
How to change the default GCC compiler in Ubuntu?

I have installed gcc-3.3/g++-3.3 on ubuntu 11.04 which already has gcc/g++-4.4. So in my system both gcc-3.3 and 4.4 are available. I am able to call both compi...

server-admin Solved
RO
asked 1 month ago by RoboAlex
0 votes
1 ans
3 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 1 month ago by Poonam Anthony
0 votes
1 ans
3 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 1 month ago by Ben