Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Jun 6, 2017

Openstack using DevStack - Failed to fetch cdrom

Hi,

While going over all the configuration needed with devstack for open stack and during the installation - after running ./stack.sh i received an error
"failed to fetch cdrom ...."

To solve this, go into /etc/apt
do 'sudo nano sources.list' and remove by using '#" the cd rom line.

Then start again the ./stack.sh and it will work

you just removed / disabled the cd rom



Hoped i helped,
Dor

Jul 25, 2016

ODroid c2 LibreElec

Hi All,

I bought the Odroid c2, wonderful piece of electronic. I bought it with ubuntu.
But once it came and after it requested to update and upgrade --> nothing works.
Then i tried manualy to install the ubuntu again it requested updates --> nothing works.
Then i tried the parallel version to the open elec i have on my pi 2, named also as Libre Elec.
This works good.


Dor

Jun 24, 2014

Jun 19, 2014

Set up gradle to build with alternative java

I am using ubuntu 14.04 LTS

Having java 7 and 8 installed from oracle.

Using alternative and working with java 7 but one of my projects use java 8.

gradle build --version

returns that it works with java 7 -> since most of my projects use this version, i don't want to change this.

Solution: creating in the java 8 project, in the root directory, file named gradle.properties

inside it for example in my case :
org.gradle.java.home=/usr/lib/jvm/java-8-oracle/


this way, when you will do gradle build in this project, gradle will use this version instead of the one defined for him.


Hoped it helped,

Dor

May 19, 2014

Create blocking connection with pika

Hi,

That what i did, watch that the port is not a string but integer parameter.

 pika.BlockingConnection(pika.ConnectionParameters(host='localhost',port=6672))



Dor

Apr 2, 2014

Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages

I am using Ubuntu 12.04 LTS 64bit , Must say that i am having a lot of error issues.

Got this error above when i tried to update.

This solved that :

sudo rm -vf /var/lib/apt/lists/*

Mar 25, 2014

ubuntu 12.10 lenovo e540 no wifi (wireless)

Go here http://askubuntu.com/questions/331667/no-wireless-for-intel-corporation-7260-version-63

In the middle there is a good solution with many votes +50

I tried that and it solved me on 12.10 with e540 lenovo. 


Dor

Fortinet or Foriclient for ubuntu >= 12.10

You can either run the regular executable or using the cli.

Download it from here : Latest Fortinet/Forticlient ftp download

You will need also to run this before
"sudo apt-get install libgtk2.0-0:i386"

That's it , for me it worked both ubuntu 12.10 and 13.10

Hope it helped
Dor

Mar 19, 2014

Debug in eclipse with remote web application on tomcat

First ,

Solution is for ubuntu 13.10 but it's the same for all linux as well as windows.
(On windows you just need to change the export)

export JPDA_ADDRESS=8888

Next, run the catalina.sh

./catalina.sh jpda run



That's it.


From eclipse, go to Run->Debug configuration -> select the Remote Java Application -> Add new
don't change anything except the port with the above port.
Select the web project in my case.

And debug.

Dor


Mar 9, 2014

Ubuntu , When Trying to execute rabbitmq-server failed due to "line 85: erl: command not found"

If you get this, you need to install the latest stable (preferred) version of erlang


Download the deb from here : https://www.erlang-solutions.com/downloads/download-erlang-otp

Execute by "dpkg -i filename.deb"


Dor

Mar 6, 2014

Forticlient SSL VPN

At Least at the moment when i am writing this post, after upgrading ubuntu from 12.XX to 13.10

The UI app of Forticlient SSL VPN stopped working and only the CLI is available.

Btw, for my opinion the CLI works better and easy to use.


Jul 12, 2012

CDH4 Hadoop Ubuntu precise server

I got this error "JAVA_HOME "
When trying to install CDH4 of Cloudera Hadoop standalone version.
Although i did all the needed configuration + echo $JAVA_HOME is fine.
+ writing "java" works + writing "java -version" works ok .
Nothing really helped except
1. go to /etc/hadoop/conf
2. edit hadoop-env.sh
add export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_32
then try again, i was trying to format the namenode.

Hoped it helped.
Dor