Showing posts with label linux. Show all posts
Showing posts with label linux. 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

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

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


Nov 23, 2010

opensymphony quartz cronexpression example

Several Quartz cron expressions:
This should be familiar for UNIX/Linux users.
1) "0 0/2 * * * ?" will run every 2 minutes.
2) "0/10 0 * * * ?" will run every 10 seconds.
3) "0 22 11 * * ? 2009" will run every day during 2009 on 11:22am
Hopefully it helps,
Dor