Google+ Followers

Apr 10, 2014

RabbitMQ 3.3.0 SSL

If you want the rabbitmq manager to work with ssl only put this in the rabbitmq.config

{rabbitmq_management,
  [{listener, [{port,     15672},
                  {ssl,      true},
                 {ssl_opts, [{cacertfile, "/home/me/testca/cacert.pem"},
                            {certfile,   "/home/me/testca/server/cert.pem"},
                              {keyfile,    "/home/me/testca/server/key.pem"},
                              {verify, verify_peer},
                              {fail_if_no_peer_cert, false }]}]}]},


Before doing so, you need to use the openssl to create the necessary certificates.
Beware to use the latest patch to the openssl that includes the bug fix for heartbeat bug.
Where ? you can read here, it's one possible example.


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.