Monday, November 3, 2008

install

to show all java version in ur sys


/usr/sbin/alternatives --config java


java -version


-------------------------------------------------
The simplest way to install or uninstall a packages in linux

by using yum tool...

for ex. yum install eclipse

the installation file will be store in /usr/share/eclipse


------------------------------------------------------------------------------------

yum

yum is a software package manager. It is a tool for installing, updating, and removing packages and their dependencies on RPM-based systems.

It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.


advantage
----------------

** It can change to new mirrors on the fly out of a internet based mirror list.

when your usual mirrors brakes down yum jumps to another one (chosen by chance) which make it very smooth to use the tool even if there are heavy problems with some of the main mirrors. It also balances the load on the servers.

** Package signature tests, the keys can be downloaded from a given internet address

it adds a tiny bit more of security ....

---------------------------------------------------------------------------



to access the shared documents

smb://192.168.1.200/g/shared


------------------------------------------------------------------


mysql version

mysql Ver 14.12 Distrib 5.0.50sp1a, for redhat-linux-gnu (i686) using readline 5.0


rem pts:

paste a mysql folder to /var/lib/mysal3310/..... it contains some of .myd ,.frm files.....

because it is used to create .sock and .pid files

mysql -u demouser -p -h 192.168.1.88 -P 3310

3310 denote the port no..

this instance start by using mysqld_multi start 3310;

running instances show by mysqld_multi report;


squirrel installation:

download a squirrel-sql-2.6.8-install.jar file;

then it is open by java application;

installation is complted;

make mysql server connection:

edit the extra class path /home/cit146/workspace/yumeetl/lib/mysql.jar

class name as com.mysql.jdbc.Driver

Add aliases

select driver as mysqlserver

example url dbc:mysql://192.168.1.88:3309/qa_martdb_2_0

user name root

click---- test

No comments: