Unable to install mongodb properly on ubuntu 18.04 LTS
Question I am trying to install mongodb on my Ubuntu 18.04 LTS, but it has the following error saying
You might want to run 'apt --fix-broken install' to correct these. The
following packages have unmet dependencies: mongodb-org : Depends:
mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
Depends: mongodb-org-tools but it is not going to be installed E: Unmet dependencies.…
Read more ⟶Can't access Oracle Cloud Always Free Compute http port
Question Yesterday, I was set up my first always free compute VM. I installed ubuntu 18.04 minimal on my VM. For my web service need, I installed Nginx. I'm confused because when I tried to access my public IP via a web browser, the Nginx welcome page didn't load. I think that is because port 80 didn't open. So, I tried to open that with set Ingress Rules in Security List Details menu as the picture below.…
Read more ⟶Ruby gem permission denied /var/lib/gems using Ubuntu
Question I'm trying to install Rails using Gem and did the following from the terminal:
sudo apt-get install ruby-full build-essential
sudo apt-get install rubygems
export PATH=/var/lib/gems/1.8/bin:$PATH
gem install rails
Then I get the following message:
ERROR: While executing gem ... (Errno:EACCES)
Permission denied - /var/lib/gems
I've followed the instruction from Ubuntu Help Guide & I'm using Oracle VM VirtualBox to run Ubuntu under Windows 7 and have RubyGems v1.8.15.
Answer You need to prefix the gem command with sudo because /var/lib/gems is owned by root.…
Read more ⟶how to change port number for Jenkins installation In Ubuntu 12.04
Question I am trying to install jenkins in ubuntu. I have followed the commands below:
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list then apt-get update
and apt-get install jenkins
but It shows Starting Jenkins Continuous Integration Server Jenkins The selected http port (8080) seems to be in use by another program Please select another port to use for jenkins
Need help on how to set a different port for Jenkins to run.…
Read more ⟶How to start using and developing on Ubuntu Linux? [closed]
Question Closed. This question needs to be more focused. It is not currently accepting answers.
</div>
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am a newbie Linux user who came from 10 years using windows OS, and developing in Microsoft languages.
I want to have a good experience in Linux world and developing on it.…
Read more ⟶How would I build python myself from source code on Ubuntu?
Question Ubuntu comes with Python 2.7.2+ pre-installed. (I also downloaded the python dev packages.) Because of another issue I'm having (Explained in extreme depth in How do I replace/update the version of the expat library used by Apache? ), Graham Dumpleton told me my distro had explicitly built Python in a way to use an external pyexpat implementation, so causing my issue. He also said I could build Python myself from source code to resolve the issue.…
Read more ⟶Can't read my environment variable in my Node.js app
Question I am on Ubuntu 12.04 and I'm just learning about environment variables. I am trying to read a custom variable from within my application but it always shows up as undefined. Here is the code of my test app:
// app.js
console.log(‘Value: ’ + process.env.NODE_ENV); If I run the following commands you will see that the variable has a value:
$ NODE_ENV=production
$ echo $NODE_ENV
production
I can echo $NODE_ENV all day and it will continue to show me "…
Read more ⟶