Monday, February 10, 2014

how to release a port in windows 7

ref: http://stackoverflow.com/questions/788348/how-do-i-free-my-port-80-on-localhost-windows

netstat -ano
That will show you the PID of the process that is listening on port 80. After that, open the Task Manager -> Processes tab. From the View -> Select Columns menu, enable the "PID" column, and you will see the name of the process listening on port 80.

apache-tomcat-6.0.35 SEVERE: Failed to initialize connector [Connector[HTTP/1.1-443]] LifecycleException: Protocol handler initialization failed: java.lang.Exception: No Certificate file specified or invalid file format

reference: http://tomcat.10.x6.nabble.com/SSL-No-Certificate-file-specified-or-invalid-file-format-td2087714.html

Feb 10, 2014 2:38:32 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
Feb 10, 2014 2:38:32 PM org.apache.catalina.core.AprLifecycleListener init
Feb 10, 2014 2:38:33 PM org.apache.coyote.http11.Http11AprProtocol init

As mentioned in the docs, there are two SSL implementations that can
be used by Tomcat:
- one provided by Java runtime,
- another provided by OpenSSL library (called through APR/Tomcat-Native).

Their configurations are very different.

The above log fragment shows that you are using the APR one.

To configure it correctly: 

I disabled APR by following these steps:
 a) remove bin\tcnative-1.dll
 b) remove  className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" /> line from server.xml.

c) remove 'protocol="http11.Http11AprProtocol"' from server.xml's Connector
,
   changed as follow:
                    maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="conf/server.keystore" keystorePass="test"
     truststoreFile ="conf/client.keystore" truststorePass="test"/>

Saturday, February 1, 2014

How to install VLC on Fedora 20

http://sayaksarkar.wordpress.com/2013/06/04/installing-vlc-player-on-fedora-19-schrodingers-cat/

  1. Login as Super User:
    • $su
  2. Setup rpmfusion:
  3. Install vlc using the default yum package manager:
    • #yum install vlc mozilla-vlc

How to install skype 4.2 on Fedora 20

http://www.if-not-true-then-false.com/2012/install-skype-on-fedora-centos-red-hat-rhel-scientific-linux-sl/

http://sayaksarkar.wordpress.com/2013/11/18/installing-skype-on-fedora-19/

First I've followed instructions from the above two websites and have run the below commands.

  1. su
  2. yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 qtwebkit.i686 zlib.i686

Next I found another website https://ask.fedoraproject.org/en/question/8738/how-to-install-skype/ and did the below steps:

  1. Download the skype package from its official website, downloads section. Choose Fedora as your distribution. Fedora 16 32 bit is fine for Fedora 18 installs or later.
  2. Double-click on the downloaded package.
  3. The system will ask if you'd like to install the package. Confirm.
 I could find skype icon in the Activities menu bar and is running well.

Followers