Ingredient:

1) Jakarta-tomcat-5.0.28 - downloaded from : http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.28/bin/

2) JDK and JRE Update 6 - http://java.sun.com/javase/downloads/index.jsp#need

-->jdk-6u18-solaris-sparc.tar.Z -- 32 bit JDK
-->jdk-6u18-solaris-sparcv9.tar.Z --64 bit JDK
-->jre-6u18-solaris-sparc.sh
-->jre-6u18-solaris-sparcv9.sh

3) Solaris 10 SPARC Operating System - where your tomcat will sit in

How-to:

1) If there is any old version ofVA SDK - remove it
( first do: #zcat jdk-6u18-solaris-sparc.tar.Z | tar -xvf -)

-->#pkgrm SUNWj5rt SUNWj5dev SUNWj5cfg SUNWj5man SUNWj5dmo

2) Add new version of JDK Update 6

-->#pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

If u plan to use 64 bit JDK, then you need to do this after the above step
( first do: #zcat jdk-6u18-solaris-sparcv9.tar.Z | tar -xvf -)

-->#pkgrm SUNWj5rtx SUNWj5dvx SUNWj5dmx

-->#pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx

Then:

#chmod +x jre-6u18-solaris-sparc.sh
#./jre-6u18-solaris-sparc.sh
(answer the question)

#chmod +x jre-6u18-solaris-sparcv9.sh
#./jre-6u18-solaris-sparcv9.sh
(answer the question)


***If u type #java -version, it will shows you the old version of JDK. So, to change the link to the new JDK, you need to do the following:

-->rm -r /usr/java
-->ln -s /usr/jdk/jdk1.6.0_18 /usr/java

for 32 bit JDK:

-->rm -r /usr/bin/java
-->ln -s /usr/jdk/jdk1.6.0_18/bin/java /usr/bin/java

for 64 bit JDK:

-->rm -r /usr/bin/java
-->ln -s /usr/jdk/jdk1.6.0_18/bin/sparcv9/java /usr/bin/java

When you type #java -version, it will point to your new JAVA SDK version

__________________________________________________________________

TOMCAT installation:

1) Create user
-->#useradd -d /export/home/tomcat -ms /bin/bash tomcat
-->#passwd tomcat:
Enter your new password for user tomcat

2) exit .profile user tomcat:
--># cd /export/home/tomcat
--> # vi .profile
add :
JAVA_HOME=/usr/jdk/jdk1.6.0_18
CATALINA_HOME=/usr/local/tomcat/jakarta-tomcat-5.0.28
PATH=$PATH:$JAVA_HOME/bin
export JAVA_HOME CATALINA_HOME PATH

save!

3)create /usr/local/tomcat

4) Create a group named tomcat
--># groupadd tomcat
-->#usermod -g tomcat tomcat
--># chown -R tomcat:tomcat /usr/local/tomcat

4) Copy/ftp jakarta-tomcat-5.0.28.tar.gz to /usr/local/tomcat

5) --># chown -R tomcat:tomcat /usr/local/tomca/jakarta-tomcat-5.0.28.tar.gz

6) #su - tomcat
-->#gunzip -f /usr/local/tomcat/jakarta-tomcat-5.0.28.tar.gz
-->#ls -la /usr/local/tomcat
tomcat tomcat 512 Feb 9 09:39 jakarta-tomcat-5.0.28

7) Start tomcat

-->#/usr/local/tomcat/jakarta-tomcat-5.0.28/bin/startup.sh
Go to mozila: type --> http://localhost:8080 (tomcat page should appear and it means u already success startup the tomcat)

8) #ps -ef | grep -i java

output: tomcat 29108 1 0 11:14:07 pts/5 0:37 /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -server -Xmx4096m -Djava.endorsed.



8) Stop tomcat
-->##/usr/local/tomcat/jakarta-tomcat-5.0.28/bin/shutdown.sh


FOR FURTHER CONFIGURATION, YOU CAN REFER TO ONE OF THE USEFUL LINK:

http://oreilly.com/java/archive/tomcat-tips.html --> thaks for publishing this! Really help me out!

Bahan-bahan:

1) ikan kembung - 2 ekor
2) 10 btg cili kecik
3) daun kunyit
4) tempoyak
4)1 biji bawang merah
5) kunyit hidup
6) sedikit garam

Cara-cara memasak:

1) tumbuk cili kecik + bawang + kunyit hidup sehingga lumat
2) kemudian gaul dengan tempoyak sehingga sebati
3) sediakan aluminium foil dan letakkan beberapa helai daun kunyit di atas foil tersebut
4) Letakkan ikan di atas daun kunyit tadi. jangan lupa kelar ikan supaya tempoyak dapat disapu rata pada bahagian isi ikan
5) sapu/ratakan ikan dgn tempoyak yang digaul dgn bahan tumbuk tadi
6) Kalau ade daun kunyit lebih, boleh lah di ricih halus dah ditabur diatas ikan
6) sediakan kuali leper dan letakkan foil yg berisi ikan diatas kuali tersebut.
7) Api slow tau!

Selamat Mencuba!

Bahan-bahan:

1) Ikan bilis
2) 1 biji bwg merah
3) Belimbing buluh yang direbus bersama garam
4) 10 biji lada kecik

Cara-cara
1) tumbuk bawang merah + lada kecik + ikan bilis + belimbing buluh rebus
2) Setelah hampit lumat dan sebati, panaskan kuali dan digoreng dengan api slow
3) Tak perlu bubuh garam, kerana ikan bilis dan belimbing rebus tu dah masin

***Belimbing buluh direbus bersama garam sehingga kehitaman. Selalunya, saya import belimbing rebus ni dr kampung. Menurut nenek saya, selalunya belimbing di rebus dalam tin minyak...sb kalau rebus dalam periuk, takut nanti periuk tu terhakis.

SELAMAT MENCUBA!

Bahan - bahan

1) 1/2 ekor ayam - dipotong (mengikut siaz kesukaan)
2) Tempoyak - 3 sudu besar
3) Cili api - 10 batang
3) Kunyit hidup - sebesar ibu jari
5) Daun Kesum / Bunga kantan

Cara-cara memasak:

1) Kesemua bahan hendaklah di basuh bersih
2) Cili api + kunyit = ditumbuk dlm lesung batu sampai lumat
3) Setelah lumat di tumbuk, masukkan tempoyak.Menggunakan sudu, kacau tempoyak rata dengan bahan yang di tumbuk tadi
4) Ayam diletakkan ke dalam periuk bersama air (biarkan ayam tenggelam)
5) masukkan tempoyak + cili + kunyit tadi kedalam periuk
6) Letak bunga kantan/daun kesum dan sedikit garam
7) Nah! dah sedia utk dimasak atas dapar

SELAMAT MENCUBA








Here are the steps on how to install sudo in Solaris 10 SPARC

1) Get these packages from www.sunfreeware.com
a) libgcc-3.4.6-sol10-sparc-local.gz
b) libintl-3.4.0-sol10-sparc-local.gz
c) libiconv-1.13.1-sol10-sparc-local.gz
d) sudo-1.7.2p1-sol10-sparc-local.gz

2) gunzip all the packages

-->#gunzip -f libgcc-3.4.6-sol10-sparc-local.gz
-->#gunzip -f libintl-3.4.0-sol10-sparc-local.gz
-->#gunzip -f libiconv-1.13.1-sol10-sparc-local.gz
-->#gunzip -f sudo-1.7.2p1-sol10-sparc-local.gz

3) package add to the system

-->#pkgadd -d ./libgcc-3.4.6-sol10-sparc-local
-->#pkgadd -d ./libintl-3.4.0-sol10-sparc-local
-->#pkgadd -d ./libiconv-1.13.1-sol10-sparc-local
-->#pkgadd -d ./ sudo-1.7.2p1-sol10-sparc-local

**it will be installed in /usr/local

4) Edit /etc/syslog.conf

Add the following at the last line of the file:

-->local2.debug /var/log/sudo.log

***take note that local2.debug/var/log/sudo.log

5) -->#touch /var/log/sudo.log

6) Send a SIGHUP to syslogd

-->#ps -ef | grep syslogd

root 369 1 0 Aug 22 ? 0:13 /usr/sbin/syslogd

-->#kill -HUP 369

-->#ps -ef | grep syslogd

root 369 1 0 Aug 22 ? 0:13 /usr/sbin/syslogd

7) Edit /usr/local/etc/sudoers

-->#/usr/local/sbin/visudo

tomdba ALL=(ALL) NOPASSWD: ALL

About this blog

Followers

Powered By Blogger

Labels