LOW COST JAVA PHP MYSQL CGI PERL
HOSTING SERVICE
LINUX WINDOWS CPANEL WHM PLESK
HOSTING PACKAGES
ECOMMERCE HOSTING ASP JSP MSSQL
FRONTPAGE HOSTING
CPANEL WHM RESELLER DEDICATED
SERVER WEB HOSTING

Archive for September, 2006

FreeNX

NX is an exciting new technology for remote display. It provides near local speed application responsiveness over high latency, low bandwidth links. The core libraries for NX are provided by NOMachine under the GPL. FreeNX is a GPL implementation of the NX Server. NX allows usage of X-connections over real slow links like a Modem or ISDN.

FreeNX is a set of Bash scripts (about 3000 lines of code altogether) and comes with no support other than that which you may or may not gain by participating in this mailing list. For FreeNX to work, you not only need the FreeNX scripts, but you also need the compiled NX sources from NoMachine.com installed.

Site: http://freenx.berlios.de

Comments (1) Bookmark on del.icio.us

Dependencies

What are dependencies ?

In terms of linux, dependency is to understand the open nature of open source.

Libraries and frameworks are developed by people & companies, that allow other developers to create software without having to write additional code, but in order to install XYZ program it may or depend on an “abc” library or framework in order to function.

Why does only Linux has dependencies ? Nothing in Windows.

Linux uses “shared libraries”. Shared libraries and software are such that when you “compile” or “build” a program from its source code that it can find the library and use it without having to build the additional library code into the program itself which allows the program to run faster with less overhead as it dynamically loads the libraries when they are needed, a good reference for windows users is the “dll” its essrnetially the same concept but on a much larger scale amongst alot of programs and libraries.

Comments Bookmark on del.icio.us

Apache Tomcat

Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. Apache Tomcat is developed in an open and participatory environment and released under the Apache Software License.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

INSTALLING TOMCAT

cd /root

wget http://www.visionexcomm.com/downloads/tc5-install.tar.gz

tar -zxvf tc5-install.tar.gz

cd TC5Install/

./pre-install.sh

./fix-my-jvm.sh

./install.sh

pico /usr/sbin/starttomcat
————————-
#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in $JAKARTA_HOME/lib/*
do
export CLASSPATH=”$CLASSPATH:$file”
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd ; ./bin/startup.sh)

========make change to above file =========

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in $JAKARTA_HOME/lib/*
do
export CLASSPATH=”$CLASSPATH:$file”
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd /usr/local/jakarta/tomcat; ./bin/startup.sh)

————————-

pico /usr/sbin/stoptomcat

————————-

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in JAKARTA_HOME/common/lib/*
do
export CLASSPATH=”.:/usr/local/jdk/lib/classes.zip:/usr/local/jakarta/lib/activation.jar:/usr/local/jakarta/lib/cimapi.jar:/usr/local$
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd ; ./bin/shutdown.sh)
sleep 3
kill -9 `ps xww |grep tomcat|grep java|grep -v grep |awk ‘{ print $1 }’`

========make change to above file =========

#!/bin/sh
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export XML=$JAVA_HOME/lib
export SSL=$JAVA_HOME/lib
export JAVAMYSQL=$JAVA_HOME/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export JAKARTA_HOME=/usr/local/jakarta
for file in JAKARTA_HOME/common/lib/*
do
export CLASSPATH=”.:/usr/local/jdk/lib/classes.zip:/usr/local/jakarta/lib/activation.jar:/usr/local/jakarta/lib/cimapi.jar:/usr/local$
done
export PATH=”$PATH:/usr/local/bin:/usr/X11R6/bin”
export TOMCAT_HOME=$JAKARTA_HOME/tomcat
export CATALINA_HOME=/usr/local/jakarta/tomcat
(cd /usr/local/jakarta/tomcat; ./bin/shutdown.sh)
sleep 3
kill -9 `ps xww |grep tomcat|grep java|grep -v grep |awk ‘{ print $1 }’`

————————-

/usr/sbin/starttomcat

/root/TC5install/cpinstall.sh

cp /usr/local/jakarta/jakarta-tomcat-5.0.19/conf/web.xml /usr/local/jakarta/conf/

/etc/init.d/httpd restart

Site: http://tomcat.apache.org

Comments (3) Bookmark on del.icio.us

SugarCRM

SugarCRM is the world’s leading provider of commercial open source customer relationship management (CRM) software for companies of all sizes.

Sugar easily adapts to any business environment by offering a more flexible, cost-effective alternative than proprietary applications. SugarCRM’s open source architecture allows companies to more easily customize and integrate customer-facing business processes in order to build and maintain more profitable relationships. SugarCRM offers several deployment options, including on-demand, on-premise and appliance-based solutions to suit customers’ security, integration and configuration needs.

Sugar Enterprise furthers the high standards set by the open source community around the world. Unlike most proprietary CRM offerings, Sugar Enterprise is natively built on the pure Open Source LAMPS platform: Linux or Windows, Apache or IIS, MySQL, PHP, and SugarCRM.

Comments (1) Bookmark on del.icio.us

Netmask & Subnetmask

Netmask

A netmask is a 32-bit mask used to divide an IP address into subnets and specify the networks available hosts. In a netmask two bits are always automatically assigned. For example in 255.255.225.0, “0″ is the assigned network address and in 255.255.255.255, “255″ is the assigned broadcast address. The 0 and 255 are always assigned and cannot be used.

Below is an example of a netmask and an example of its binary conversion.
Netmask: 255. 255. 255. 255
Binary Conversion: 11111111 11111111 11111111 11111111
Netmask length 8 16 24 32

Counting out the bits in the binary conversion allows you to determine the netmask length. In the above example you have an example of a 32-bit address. However, this address is a broadcast address does not allow any hosts (computers or other network devices) to be connected to it.

Subnetmask

The subnet mask is the network address plus the bits reserved for identifying the subnetwork. (By convention, the bits for the network address are all set to 1, though it would also work if the bits were set exactly as in the network address.) In this case, therefore, the subnet mask would be 11111111.11111111.11110000.00000000. It’s called a mask because it can be used to identify the subnet to which an IP address belongs by performing a bitwise AND operation on the mask and the IP address. The result is the subnetwork address:
Subnet Mask 255.255.240.000 11111111.11111111.11110000.00000000
IP Address 150.215.017.009 10010110.11010111.00010001.00001001
Subnet Address 150.215.016.000 10010110.11010111.00010000.00000000

The subnet address, therefore, is 150.215.016.000.

Comments Bookmark on del.icio.us

Stream and transport protocols

HTTP - Hypertext Transfer Protocol : The communication protocol for transmitting linked documents between computers; it is the basis for the World Wide Web and follows the TCP/IP protocol for the client-server model of computing. Abbreviated HTTP.

MMS - Microsoft Media Services : Microsoft’s streaming server uses the Microsoft Media Services (MMS) protocol (also called NetShow Services) to transfer unicast data. MMS can be transported via UDP or TCP.

RTP - Real-time Transport Protocol : The Real-time Transport Protocol (or RTP) defines a standardized packet format for delivering audio and video over the Internet. Without having any standard TCP or UPD port, RTP uses UDP communications which is done via an even port and the next higher odd port.

RTCP - Real-time Transport Control Protoco : RTCP stands for Real-time Transport Control Protocol, provides out-of-band control information for an RTP flow. It partners RTP in the delivery and packaging of multimedia data, but does not transport any data itself.

RTSP - Real Time Streaming Protocol : An application layer protocol used to transmit streaming audio, video and 3D animation over the Internet. It enables the user’s client software to provide remote control of the server with functions such as pause, rewind and fast forward.

Comments (1) Bookmark on del.icio.us

« Previous entries