Posted in How To..., Java, Linux, Open Source, Tomcat

How to Install Java in CentOS 6.3


Install Java in CentOS

Create a Local Repository for CentOS by using existing packages on Distribution Media or make sure that Internet is accessible from the virtual machine

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

List of all available JDK on the system

[root@localhost ~]# yum search java | grep -i –color JDK
ldapjdk-javadoc.x86_64 : Javadoc for ldapjdk
icedtea-web.x86_64 : Additional Java components for OpenJDK – Java browser
java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation
java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle
java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation
java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle
ldapjdk.x86_64 : The Mozilla LDAP Java SDK

[root@localhost ~]# yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centosmirror.go4hosting.in
* extras: centosmirror.go4hosting.in
* updates: centosmirror.go4hosting.in
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package java-1.7.0-openjdk.x86_64 1:1.7.0.55-2.4.7.1.el6_5 will be installe                                                                                        d
–> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: 1:java-1.                                                                                        7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64
–> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.7.0-openjd                                                                                        k-1.7.0.55-2.4.7.1.el6_5.x86_64
–> Processing Dependency: tzdata-java for package: 1:java-1.7.0-openjdk-1.7.0.5                                                                                        5-2.4.7.1.el6_5.x86_64
–> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: 1:java                                                                                        -1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64
–> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.7.0-openjd                                                                                        k-1.7.0.55-2.4.7.1.el6_5.x86_64
—> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.55-2.4.7.1.el6_5 will be in                                                                                        stalled
–> Running transaction check
—> Package giflib.x86_64 0:4.1.6-3.1.el6 will be installed
—> Package jpackage-utils.noarch 0:1.7.5-3.12.el6 will be installed
—> Package libjpeg.x86_64 0:6b-46.el6 will be obsoleted
—> Package libjpeg-turbo.x86_64 0:1.2.1-3.el6_5 will be obsoleting
—> Package tzdata-java.noarch 0:2014b-1.el6 will be installed
—> Package xorg-x11-fonts-Type1.noarch 0:7.2-9.1.el6 will be installed
–> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el                                                                                        6.noarch
–> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el                                                                                        6.noarch
–> Running transaction check
—> Package ttmkfdir.x86_64 0:3.0.9-32.1.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package                    Arch     Version                    Repository
Size
================================================================================
Installing:
java-1.7.0-openjdk         x86_64   1:1.7.0.55-2.4.7.1.el6_5   updates    26 M
java-1.7.0-openjdk-devel   x86_64   1:1.7.0.55-2.4.7.1.el6_5   updates   9.4 M
libjpeg-turbo              x86_64   1.2.1-3.el6_5              updates   174 k
replacing  libjpeg.x86_64 6b-46.el6
Installing for dependencies:
giflib                     x86_64   4.1.6-3.1.el6              base       37 k
jpackage-utils             noarch   1.7.5-3.12.el6             base       59 k
ttmkfdir                   x86_64   3.0.9-32.1.el6             base       43 k
tzdata-java                noarch   2014b-1.el6                updates   147 k
xorg-x11-fonts-Type1       noarch   7.2-9.1.el6                base      520 k

Transaction Summary
================================================================================
Install       8 Package(s)

Total download size: 36 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): giflib-4.1.6-3.1.el6.x86_64.rpm                   |  37 kB     00:01
(2/8): java-1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64. |  26 MB     18:30
(3/8): java-1.7.0-openjdk-devel-1.7.0.55-2.4.7.1.el6_5.x86_64.rpm                                                                                | 9.4 MB     07:02
(4/8): jpackage-utils-1.7.5-3.12.el6.noarch.rpm                                                                                                  |  59 kB     00:00
(5/8): libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm                                                                                                    | 174 kB     00:09
(6/8): ttmkfdir-3.0.9-32.1.el6.x86_64.rpm                                                                                                        |  43 kB     00:01
(7/8): tzdata-java-2014b-1.el6.noarch.rpm                                                                                                        | 147 kB     00:05
(8/8): xorg-x11-fonts-Type1-7.2-9.1.el6.noarch.rpm                                                                                               | 520 kB     00:16
————————————————————————————————————————————————————————
Total                                                                                                                                    23 kB/s |  36 MB     26:19
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : jpackage-utils-1.7.5-3.12.el6.noarch                                                                                                                 1/9
Installing : giflib-4.1.6-3.1.el6.x86_64                                                                                                                          2/9
Installing : libjpeg-turbo-1.2.1-3.el6_5.x86_64                                                                                                                   3/9
Installing : tzdata-java-2014b-1.el6.noarch                                                                                                                       4/9
Installing : ttmkfdir-3.0.9-32.1.el6.x86_64                                                                                                                       5/9
Installing : xorg-x11-fonts-Type1-7.2-9.1.el6.noarch                                                                                                              6/9
Installing : 1:java-1.7.0-openjdk-devel-1.7.0.55-2.4.7.1.el6_5.x86_64                                                                                             7/9
Installing : 1:java-1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64                                                                                                   8/9
Erasing    : libjpeg-6b-46.el6.x86_64                                                                                                                             9/9
Verifying  : ttmkfdir-3.0.9-32.1.el6.x86_64                                                                                                                       1/9
Verifying  : xorg-x11-fonts-Type1-7.2-9.1.el6.noarch                                                                                                              2/9
Verifying  : 1:java-1.7.0-openjdk-devel-1.7.0.55-2.4.7.1.el6_5.x86_64                                                                                             3/9
Verifying  : tzdata-java-2014b-1.el6.noarch                                                                                                                       4/9
Verifying  : libjpeg-turbo-1.2.1-3.el6_5.x86_64                                                                                                                   5/9
Verifying  : giflib-4.1.6-3.1.el6.x86_64                                                                                                                          6/9
Verifying  : 1:java-1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64                                                                                                   7/9
Verifying  : jpackage-utils-1.7.5-3.12.el6.noarch                                                                                                                 8/9
Verifying  : libjpeg-6b-46.el6.x86_64                                                                                                                             9/9

Installed:
java-1.7.0-openjdk.x86_64 1:1.7.0.55-2.4.7.1.el6_5        java-1.7.0-openjdk-devel.x86_64 1:1.7.0.55-2.4.7.1.el6_5        libjpeg-turbo.x86_64 0:1.2.1-3.el6_5

Dependency Installed:
giflib.x86_64 0:4.1.6-3.1.el6                  jpackage-utils.noarch 0:1.7.5-3.12.el6      ttmkfdir.x86_64 0:3.0.9-32.1.el6      tzdata-java.noarch 0:2014b-1.el6
xorg-x11-fonts-Type1.noarch 0:7.2-9.1.el6

Replaced:
libjpeg.x86_64 0:6b-46.el6

Complete!
You have mail in /var/spool/mail/root
[root@localhost ~]#

RHEL and CentOS Linux install OpenJDK into /usr/lib/jvm/ directory

Set the JAVA_HOME class path variable

export JAVA_HOME="/usr/lib/jvm/jre-1.7.0-openjdk.x86_64

 

Advertisements
Posted in Linux, Open Source, Windows

What is Alfresco


Alfresco

Alfresco is an enterprise content management system available in different flavours. Alfresco One provides hybrid ECM that includes on premise and on cloud deployment of Alfresco with robust synchronization capabilities in between two of them. It has capabilities of Document management, Web content management, Repository-level versioning, Records management, Image management, content management support for learning management systems. It supported the concept of an open source ECM since 2005. Alfresco continues to be the only vendor with an open-source ECM offering in this Magic Quadrant released by Gartner. Alfresco remains in the Visionaries quadrant section. It supports open standards such as Content Management Interoperability Services (CMIS).  It offers interoperability with other CMSs such as Joomla, Google Docs, Liferay, salesforce.com, Drupal, Jive, and IBM Connections. Alfresco has increased its presence on a world map by its partner ecosystem that includes Systems Integrators, Distributors, OEM partners embed Alfresco directly into their products, and Technology Partners.

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers
Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Some of the highlighted features of Alfresco are Multi-platform support such as  Windows, GNU/Linux and Solaris; support to multiple database products such as MySQL, IBM DB2, Microsoft SQL Server (Enterprise Edition), PostgreSQL (Community Edition), Oracle Database; Lucene search, Activities workflow, Learning Object Repository, Auto-generated XForms with AJAX support, Multi-language support, Browser-based GUI that supports Google chrome, Firefox, and Internet Explorer; Desktop integration with Microsoft Office, OpenOffice.org and LibreOffice, Pluggable authentication such as NTLM, LDAP, Kerberos, CAS etc.

Website: http://www.alfresco.com/

Posted in Cloud Computing, Cloud Security, Linux, Windows

The Definitive Firewall Buyers Guide 2014 – Next Generation Firewall


How effectively your business operates is heavily dependent upon the applications your employees use and the content that the applications themselves carry. Merely allowing some, then blocking others, may inhibit your business. If your security team is looking at next-generation firewall features and capabilities; the most important consideration is whether or not the next-generation firewall will empower your security team to safely enable applications to the benefit of the organization.

Firewall Buyers Guide: The Definitive Guide for Evaluating Enterprise Network Firewalls
Firewall Buyers Guide: The Definitive Guide for Evaluating Enterprise Network Firewalls

Enabling Your Business In today’s always connected world, controlling applications is more than merely allowing or denying; it is about safely enabling applications to the betterment of the business.

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Assessment Questions Evaluation for Next Generation Firewall to take care for following categories:

  • Application Visibility and Control
  • Controlling Evasive Applications, SSL and SSH
  • Policy-based Application Enablement
  • Systematically Managing Unknown Applications
  • Threat Prevention
  • Securing Remote Users
  • Management
  • Performance

To download this 25 Page Guide Click Here

Posted in Cloud Security, Linux, Windows

10 Things Your Next Firewall Must Do are


The next-generation firewall is well defined by Gartner as something new and enterprise-focused. It is “incorporating full-stack inspection to support intrusion prevention, application-level inspection and granular policy control.”
Most network security vendors are now offering application visibility and control. They do it by either adding application signatures to their IPS engine, or offering you an add-on license for an application control module. In either case, these options are additive to a port-based firewall. They do little to help you focus on the fundamental tasks your firewall is designed to execute.

10 Things Your Next Firewall Must Do are:

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

10 Things Your Next Firewall Must Do
10 Things Your Next Firewall Must Do
1. Identify and control applications on any port
2. Identify and control circumventors
3. Decrypt outbound SSL and control SSH
4. Provide application function control
5. Systematically manage unknown traffic
6. Scan for viruses and malware in all applications, on all ports
7. Enable the same application visibility and control for all users and devices
8. Make network security simpler, not more complex, with the addition of application control
9. Deliver the same throughput and performance with application control fully activated
10. Support the exact same firewall functions in both a hardware and virtualized form factor

To find Business Case and Requirements for “Each and Every” requirements mentioned above Download detailed report

Posted in How To..., Linux

How to install C/C++ development libraries on openSUSE 12.2


Insert openSUSE 12.2 installation media which contains various packages and execute following command to install C/C++ development library.

zypper install kernel-source make gcc gcc-c++

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Verify the installation:

linux-5vhd:/home/nagios # gcc –version

gcc (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]

Copyright (C) 2012 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

linux-5vhd:/home/nagios # which gcc

/usr/bin/gcc

linux-5vhd:/home/nagios #

 

Posted in How To..., Linux

openSUSE 12.2 – Configure: error: no acceptable C compiler found in $PATH


openSUSE is an operating system built on top of the Linux kernel. It is sponsored by SUSE and a number of other companies and developed by the community-supported openSUSE Project. Novell decided to release the SUSE Linux Professional product as a 100% open source project the current stable release is openSUSE 13.1. It comes in several editions for the x86 and x86-64 architectures such as Download Edition, Retail Edition or Box, FTP, Factory, and Tumbleweed.

Features:

  • YaST Control Center:  installation and administration program
  • AutoYaST: for automatic installation
  • ZYpp package management: Linux software management engine
  • Build Service: tool to compile, release and publish their software
  • Desktop innovation
  • Xgl and Compiz: for graphics
  • KDE Desktop innovations

While installing any package or while installing any product on SUSE operation system, when you get the error

Configure: error: no acceptable C compiler found in $PATH

you need to install C/C++ development libraries to solve the issue.

Solution:

insert openSUSE 12.2 installation media which contains various packages and execute following command to install C/C++ development library.

zypper install kernel-source make gcc gcc-c++

openSUSE
openSUSE