ubuntu-14.04

Mongodb installation in Ubuntu 14.04 Failed

老子叫甜甜 提交于 2019-12-03 10:07:43
I followed the steps as mentioned in the official site of mongodb. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list sudo apt-get update sudo apt-get install -y mongodb-org Running the last command I get an error: E: Unable to locate package mongodb-org Please help. Just try sudo apt-get install -y mongodb For proper installation of MongoDB, follow these steps : Note: According to ubuntu 12.06 ,14.04 , 16.04 there is

Installing Android Studio in Ubuntu 14.04 64-Bit .android/repositories.cfg could not be loaded

假如想象 提交于 2019-12-03 09:38:57
问题 When i'm installing Android Studio 2.1 It shows me error ./studio.sh Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0 log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Looking in classpath from com.intellij.util.lang.UrlClassLoader@28c97a5 for

no target device found android studio 2.1.1

旧街凉风 提交于 2019-12-03 09:18:27
i'm using android studio 2.1.1 in ubuntu 14.04.Now my question is,i want to run the program through my phone without emulator. so i chose the target as usb device but whenever i run this,below mentioned error is rasing. Error running app : No target device found. i checked my device by using adb devices command in terminal. adithya@adithya-Lenovo-B460e:~$ adb devices List of devices attached 59V8I7HEJJWGGMK7 device i also tried with selecting of MTP & PTP.but nothing worked out. kindly anyone help me to solve this problem.. Jeremie I already had this problem before. Choose "Run" then "Edit

Why Icecast2 does not want to give the stream through https?

落花浮王杯 提交于 2019-12-03 08:35:56
On a server with Ubuntu 14.04 LTS installed Icecast2 2.4.1 with SSL support. Also on this server work HTTPS website. I want insert on the page HTML5-player that will also take the stream through the SSL (otherwise - mixed content error). The site has a commercial SSL certificate, Icecast - a self-signed. Icecast config file: <icecast> <location>****</location> <admin>admin@*************</admin> <limits> <clients>1000</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288</queue-size> <source-timeout>10</source-timeout> <burst-on-connect>0</burst-on-connect> <burst-size

Unable to install vim or nano inside docker container

爷,独闯天下 提交于 2019-12-03 08:29:55
问题 Trying to install inside a docker, either vim or nano but I only get this: 0% [Connecting to archive.ubuntu.com (91.189.88.152)] Exit docker and do ping archive.ubuntu.com and I get reply, do the same time inside docker it does not respond. What could be the problem? 回答1: First I create the docker: sudo docker run -t -i ubuntu /bin/bash Instead of this you can enter in a running docker with his number or name: sudo docker exec -it be8aa338d656 bash Then inside the docker run this code: apt

Ubuntu: Using curl to download an image

家住魔仙堡 提交于 2019-12-03 07:21:14
问题 I want to download an image accessible from this link: https://www.python.org/static/apple-touch-icon-144x144-precomposed.png into my local system. Now, I'm aware that the curl command can be used to download remote files through the terminal. So, I entered the following in my terminal in order to download the image into my local system: curl https://www.python.org/static/apple-touch-icon-144x144-precomposed.png However, this doesn't seem to work, so obviously there is some other way to

Ubuntu 14.04 + iOS 8.0.2 unhandled lockdown error

大憨熊 提交于 2019-12-03 06:17:25
I have Ubuntu 14.04 on my 4 laptops and IOS 8.0.2 on my 2 apple devices but cannot mount the Iphone Documents drive anymore since the 8.0.2 update on ANY laptop. I have spent 4 hours researching this issue and trying every amalgamation of: 'idevicepair unpair && idevicepair pair' and 'unplug + unlock + plugin your phone' sequence all to no avail. When I try to mount it I get the 'unhandled lockdown error (-256)', then a trust this computer prompt, I confirm the trust message, then I get an 'unhandled lockdown error (-3)' error. I am convinced that this is a true bug that there is not

How to enable port 5000 on AWS ubuntu [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-03 06:08:06
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I have a flask app running on AWS Ubuntu server on port 5000 (flask runs default on port 5000). But when I try to access the server on that port, it never connects. I added a security group on AWS console as Custom TCP on port 5000 for any ip address 0.0.0.0/0 , but still I cannot access it. Do I have to restart the server? Or am I missing anything? Let me know any additional information to provide. In addition to

Installing PHP 5.3.29 from Sources on Ubuntu 14 with Apache 2 Module

橙三吉。 提交于 2019-12-03 05:49:49
I successfully installed PHP 5.3.29 on Ubuntu 14 with Apache 2 separately. I installed PHP with the following method: sudo -i wget http://in1.php.net/distributions/php-5.3.29.tar.bz2 tar -xvf php-5.3.29.tar.bz2 cd php-5.3.29 ./configure make make install However, PHP and Apache do not seem to have any linkage. That means I have installed both Apache and PHP, but Apache does not run PHP. What I have tried: From this site: https://docs.moodle.org/28/en/Compiling_PHP_from_source "Configuring Apache and PHP", it asked me to add this in the Apache configuration file: LoadModule php5_module modules

How to use systemctl in Ubuntu 14.04

别等时光非礼了梦想. 提交于 2019-12-03 05:42:04
问题 I try to perform the following command in Ubuntu 14.04: systemctl enable --now docker-cleanup-dangling-images.timer I also tried it with sudo, I tried to replace systemctl with service and systemd but nothing works sudo: systemd: command not found systemd: command not found sudo: service: command not foud How can I execute this command in Ubuntu 14.04 or is there another way to execute the same command? 回答1: I just encountered this problem myself and found that Ubuntu 14.04 uses Upstart