LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 58 of 106
0 votes
1 ans
3 views
How do I install ruby 2.0.0 correctly on Ubuntu 12.04?

I have successfully installed `rvm`, but when I run the following commands sudo apt-get update Or: rvm install 2.0.0 I have the following er...

server-admin Solved
MU
asked 1 month ago by Muhammad Kashif Ali
0 votes
1 ans
3 views
Unknown encoder 'libx264'

I installed ffmpeg 0.8.9 on ubuntu11 by > ./configure --enable-gpl --enable-nonfree --enable-pthreads > --enable-libfaac --enable-libmp3lame --enable...

general-dev Solved
WH
asked 1 month ago by why
0 votes
1 ans
3 views
"g++" and "c++" compiler

I just found on my Ubuntu, there are two different C++ compilers: `/usr/bin/g++` and `/usr/bin/c++`. I am not familiar with the latter, but `man c++` just jumps...

general-dev Solved
TI
asked 1 month ago by Tim
0 votes
1 ans
3 views
Difference between Systemctl and service command

I always run my Apache server in this way: sudo service apache2 start But in many guides I saw commands like this: sudo systemctl start apache2...

general-dev Solved
RO
asked 1 month ago by Roman Romanov
0 votes
1 ans
3 views
libsass bindings not found when using node-sass in nodejs

I want to use the `node-sass` module in my `node.js v0.12` application to benefit from the performance of `libsass`.<br> I executed `npm i node-sass` to...

general-dev Solved
TO
asked 1 month ago by TorbenJ
0 votes
1 ans
3 views
How do I specify a label/path with spaces in /etc/fstab?

I am having trouble trying to get theh permissions for some of my external drives set up. I believe the probem is due to how I am dealing with spaces in th...

general-dev Solved
CH
asked 1 month ago by chase
0 votes
1 ans
3 views
MongoDB won't start after server crash

My Ubuntu computer had crashed, and when I restarted it MongoDB wasn't working. I tried the following commands, and got the following output: $ mongo...

server-admin Solved
HO
asked 1 month ago by Hosam Aly
0 votes
1 ans
3 views
ssh-keygen - how to set an rsa key with a certain username

I just installed ubuntu and would like to set its rsa keys up with bitbucket/github. When I ssh-keygen the keys are generated as they should be ssh-rsa A...

server-admin Solved
GE
asked 1 month ago by George Mauer
0 votes
1 ans
3 views
"E: Unable to locate package python-pip" on Ubuntu 18.04

I am trying to install virtualenv on Ubuntu. First it said `command 'pip' not found`, so I typed sudo apt install python-pip then it said...

server-admin Solved
AI
asked 1 month ago by Aiki
0 votes
1 ans
3 views
Upgrade PostgreSQL from 9.6 to 10.0 on Ubuntu 16.10

My database is over 600 GB and my current volume is only 1 TB, so that probably limits my options. My config files are here: /etc/postgresql/9.6/main...

server-admin Solved
TR
asked 1 month ago by trench
0 votes
1 ans
3 views
No module named 'pymysql'

I'm trying to use PyMySQL on Ubuntu. I've installed `pymysql` using both `pip` and `pip3` but every time I use `import pymysql`, it returns `ImportEr...

database Solved
TR
asked 1 month ago by troyz
0 votes
1 ans
3 views
Docker image error: "/bin/sh: 1: [python,: not found"

I'm building a new Docker image based on the standard Ubuntu 14.04 image. Here's my *Dockerfile*: FROM ubuntu:14.04 RUN apt-get update -...

server-admin Solved
JO
asked 1 month ago by Joe Mornin
0 votes
1 ans
3 views
Git push takes forever

When I am trying to push to my remote git repository, but it is taking forever and nothing happens. I waited for so long, but push is never getting finished. My...

general-dev Solved
CO
asked 1 month ago by Codeformer
0 votes
1 ans
3 views
How to stop a Daemon Server in Rails?

I am running my rails application using the following $script/server -d webrick on my Ubuntu system , above command run the webrick se...

server-admin Solved
SR
asked 1 month ago by Srinivas M.V.
0 votes
1 ans
3 views
How do I use gems with Ubuntu?

I recently upgraded to Ubuntu 9.04 and I have issues using gems. I installed Ruby, Rubygems and Rails using apt-get. The `rails` command does work. I then...

server-admin Solved
0X
asked 1 month ago by 0x26res
0 votes
1 ans
3 views
Listen error: unable to monitor directories for changes

I am getting the following error while running my rails app in Ubuntu server > FATAL: Listen error: unable to monitor directories for changes. Visit >...

general-dev Solved
CU
asked 1 month ago by current_user
0 votes
1 ans
3 views
How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS?

How to know if I have both php5.3 and php5.5 installed in my system? How to delete php5.3 if it is there and configuring Apache2 to work with php5.5?

server-admin Solved
SU
asked 1 month ago by Sujata
0 votes
1 ans
3 views
Append line to /etc/hosts file with shell script

I have a new Ubuntu 12.04 VPS. I am trying to write a setup script that completes an entire LAMP installation. Where I am having trouble is appending a line to...

general-dev Solved
ST
asked 1 month ago by Stephen Howells
0 votes
1 ans
3 views
Remove privileges from MySQL database

Before you think this is a duplicate question, I believe I have a unique, even if it is somewhat dim-witted, case. A few days ago, I upgraded the version of...

database Solved
CY
asked 1 month ago by Cyntech
0 votes
1 ans
3 views
I have Python on my Ubuntu system, but gcc can't find Python.h

I am on a school computer, so I can't install anything. I am trying to create C code which can be run in Python. It seems all the articles I am finding...

server-admin Solved
US
asked 1 month ago by user979344