°¨¨¨™`•.•`¤¦¤(M4X!M)¤¦¤`•.•` ™¨¨¨°

Subscribe to RSS feed

swap by zfs

bash-3.00# zpool create -f p mirror c2t10d0 c2t11d0
bash-3.00# zfs create -V 2g p/swap
bash-3.00# swap -a /dev/zvol/dsk/p/swap

how to install samp on solaris 10

first get the 2 pakages CSKruntime_1.3.1_i386.pkg and CSKamp_1.3.1_i386.pkg from http://cooltools.sunsource.net/coolstack/

# bunzip2 CSKruntime_1.3.1_i386.pkg.bz2
# bunzip2 CSKamp_1.3.1_i386.pkg.bz2

install

# pkgadd -d /path/to/CSKruntime_1.3.1_i386.pkg
# pkgadd -d /path/to/CSKamp_1.3.1_i386.pkg

# svcs -a | grep apache

how to remove this pakage

# pkginfo -x | grep CSK
# pkgrm CSKapache2 CSKmysql32 CSKphp5 CSKruntime

to test vi /path/to/test.php
<?php
phpinfo();
?>


to install dokuwiki

get the application from http://www.splitbrain.org/projects/dokuwiki

extract to document root of apache and then change owner
# chown webservd:webservd /path/to/dokuwiki

start server and run localhost/dokuwiki



how to install tomcat apache in solaris 10

1- remove jdk all versions
If you have previously installed the Solaris packages for Java 2 SDK 1.3.0, 1.3.1, 1.4.0, or 1.4.1, remove them by running:

# pkgrm SUNWj3dmo SUNWj3man SUNWj3dev SUNWj3rt

To uninstall the Solaris packages for JDK 5.0, remove them by running:

On all processors:
# pkgrm SUNWj5rt SUNWj5dev SUNWj5cfg SUNWj5man SUNWj5dmo

get the jdk 5.(update version). from www.sun.com

# pkgadd -d /path/to/directoryOfPackages

or u can use jdk.sh and it will generate directory contain jdk files installation
useradd --> tomcat and edit .profile and set these parameters
export JAVA_HOME=
export CATALINA_HOME

use 2 hd mirror zfs and mount in /usr/local/tomcat

and get tomcat.tar.zip and cp all files to /usr/local/tomcat

run bin/startup.sh

to stop bin/shutdown.sh

ps -ef | grep java

run http//localhost:8080/hello.jsp

date.jsp


cp file in $CATALINA_HOME/webapps/ROOT

and put any app in $CATALINA_HOME/webapps/.....



and configure manger to access by user

vi $CATALINA_HOME/server/webapps/manager/WEB-INF/web.xml


search about auth section and add the role name
<auth-constraint>
^M
<role-name>manager</role-name>
<role-name>to_pass</role-name>
</auth-constraint>


to add user and set to_pass authentication

vi $CATALINA_HOME/conf/tomcat-users.xml
<user username="tomcat" password="tomcat" roles="tomcat,pass_to"/>


to change port no 80808 to another
vi $CATALINA_HOME/conf/server.xml


to configure log
vi log4j.properties in $CATALINA_HOME/common/classes/log4j.properties


log4j.rootLogger=DEBUG, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/tomcat.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n


cp /Desktop/log4j-1.2.15.jar /usr/local/tomcat/common/lib/
cp /Desktop/commons-logging-1.1.1.jar /usr/local/tomcat/common/lib/


startup tomcat and then it will create file tomcat.log

test web application extract it Red5War_0.7.0.zip and cp all files in $CATALINA_HOME/webapps

groupadd tomcat
usermod -g tomcat tomcat
chown -R tomcat:tomcat /usr/local/tomcat


java options

About heap size - it's generally a good idea to set the JVM's max heap size to at least 512, and no matter what the max is, the initial heap size should be set to the same value.

The reason to set them the same is heap fragmentation.

That's a description of the heap, but what about this other setting set with -XX:MaxPermSize? Turns out this sets the size for something called the "Permanent Generation". A good definition for the Permanent Generation is found in the Sun article Frequently Asked Questions about Garbage Collection in the HotspotTM JavaTM Virtual Machine:

The permanent generation is used to hold reflective of the VM itself such as class objects and method objects. These reflective objects are allocated directly into the permanent generation, and it is sized independently from the other generations. Generally, sizing of this generation can be ignored because the default size is adequate. However, programs that load many classes may need a larger permanent generation.

So the permanent generation contains information about the objects in the heap. Ah-ha! Now we can start to understand how these two numbers are related to each other. The heap stores the objects, and the permanent generation keeps track of information about the objects. Consequently, the more objects there are in the heap, the more information there is to be tracked about them, and the larger the permanent generation needs to be.






install apache

PREFIX is not specified, it defaults to /usr/local/apache2.

gzip -dc /Desktop/httpd-2.2.9.tar.gz | tar -xf -

cd httpd-2.2.9/
# Build and install apr
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install

# Build and install apr-util
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install

# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/


to know the version of apache
# /usr/local/apache2/bin/httpd -v
# /usr/local/apache2/bin/apachectl -v

authentication


# /usr/local/apache2/bin/htpasswd -c /usr/local/apache2/passwd tomcat

Dubai


How many of us could find Dubai on the map in 5 seconds??

What a difference in 17 years. Just shows what a little oil money can do.
Dubai in 1990
The same street in 2003
Last year
Dubai is said to currently have 15-25% of all the world's cranes


The Dubai Waterfront. When completed it will become the largest waterfront development in the world.All of this was built in the last 5 years, including that island that looks like a palm tree.The Palm Islands Dubai. New Dutch dredging technology was used to create these massive man made islands. They are the largest artificial islands in the world and can be seen from space.Three of these Palms will be made with the last one being the largest of them all.Upon completion, the resort will have 2,000 villas, 40 luxury hotels, shopping centers, movie theaters, and many other facilities. It is expected to support a population of approximately 500,000 people. It is advertised as being visible from the moon.The World Islands. 300 artificially created islands in the shape of the world. Each island will have an estimated cost of $25-30 million.The Burj al-Arab hotel in Dubai. The worlds tallest hotel. Considered the only '7 star' hotel and the most luxurious hotel in the world. It stands on an artificial island in the sea.Hydropolis, the world's first under water hotel. Entirely built in Germany and then assembled in Dubai, it is scheduled to be completed by 2009 after many delays. The Burj Dubai. Construction began in 2005 and is expected to be complete by 2008. At an estimated height of over 800 meters, it will easily be world's tallest building when finished. It will be almost 40% taller than the current tallest building,the Taipei 101.This is what downtown Dubai will look like around 2008-2009. More than 140 stories of the Burj Dubai have already been completed. It is already the worlds tallest man made structure and it is still not scheduled to be completed for at least another year.The Al Burj. This will be the centerpiece of the Dubai Waterfront. Once completed it will take over the title of the tallest structure in the world from the Burj Dubai.Recently it was announced that the final height of this tower will be 1200 meters.That would make it more than 30% taller than the Burj Dubai and three times as tall as the Empir e State Building. This is a city on crack.The Burj al Alam, or The World Tower. Upon completion it will rank as the world's highest hotel. It is expected to be finished by 2009. At 480 meters it will only be 28 meters shorter than the Taipei 101.The Trump International Hotel & Tower, which will be the centerpiece of one of the palm islands, The Palm Jumeirah.Dubailand. Currently, the largest amusement park collection in the world is Walt Disney World Resort in Orlando, which is also the largest single-site employer in the United states with 58,000 employees. Dubailand will be twice the size.Dubailand will be built on 3 billion square feet (107 miles^2) at an estimated $20 billion price tag.The site will include a purported 45 mega projects and 200 hundred other smaller projects.DubaiSports City . A huge collection of sports arenas located in Dubailand!Currently, the Walt Disney World Resort is the #1 tourist destination in the world. Once fully completed, Dubailand will easily take over that title since it is expected to attract 200,000 visitors daily.The Dubai Marina is an entirely man made developm! ent that will contain over 200 high-rise buildings when finished. It will be home to some of the tallest residential structures in the world. The completed first phase of the project is shown. Most of the other! high rise buildings will be finished by 2009-2010.The Dubai Mall will be the largest shopping mall in the world with over 9 million square feet of shopping and around 1000 stores. It will be compl! eted in 2008.Ski Dubai, which is already open, is the largest indoor skiing facility in the world. This is a rendered image of another future indoor skiing facility that is being planned.Some of the tallest buildings in the world, such as Ocean Heights and The Princess Tower, which will be the largest residential building in the world at over a 100 stories, will line the Dubai Marina.The UAE Spaceport would be the first spaceport in the world if construction ever gets under way.
I'm not joking...
Some other crazy .. The Dubai Metro system, once completed, will become the largest fully automated rail system in the world. The Dubai World Central International Airport will become the largest airport in size when it is completed. It will also eventually become the busiest airport in the world, based on passenger volume. There are more construction wor! kers in Dubai than there are actual citizens.
[/SIZE]





Proofs Of Islam By Sheikh Yusuf Estes [Audio Book]


"If there is only one God, then why are there so many religions?"

The Answer:

Allah does not force anyone to submit to Him. He has layed out a clear path and then
made it known to them the two ways (Heaven or Hell). The person is always free to make
his or her own choice. There is not complusion in the way of "Islam." Whoever choses to
worship Allah without partners and is devoted to Him and is obeying His commands as
much as possible, has grasped the firm handhold that will never break. Whoever denies
God and choses some other way to worship or not to believe at all, for them there is an
eternal punishment that is most horrible (Hell).
All religions originated with Allah and then people began to add or take away from the
teachings so as to take control over each other. Man made religions are an abomination
before the Lord and will never be accepted. He will only accept true submission,
obedience and in purity and peace to His commandments.

"How do you know that the Quran is really from God?"

The Answer:

Muslims have something that offers the clearest proof of all - The Holy. There is no other
book like it anywhere on earth. It is absolutely perfect in the Arabic language. It has no
mistakes in grammar, meanings or context. The scientific evidences are well known
around the entire world, even amongst non-Muslim scholars. Predictions in the Quran
have come true; and its teachings are clearly for all people, all places and all times. No one
has been able to produce a book like it, nor ten chapters like it, nor even one chapter like
it. It was memorized by thousands of people during the lifetime of Muhammad, peace be
upon him, and then this memorization was passed down from teacher to student for
generation after generation, from mouth to ear and from one nation to another. Today
every single Muslim has memorized some part of the Quran in the original Arabic
language that it was revealed in over 1,400 years ago, even though most of them are not
Arabs. There are over nine million (9,000,000) Muslims living on the earth today who
have totally memorized the entire Quran, word for word, and can recite the entire Quran,
in Arabic just as Muhammad, peace be upon him, did 14 centuries ago.


"Can you prove there is a God?"

The Answer:

Can you prove that you exist? Yes, of course you can. You merely use your senses to determine that you can see,
hear, feel, smell, taste and you have emotions as well. All of this is a part of your existence. But this is not how
we perceive God in Islam. We can look to the things that He has created and the way that He cares for things
and sustains us, to know that there is no doubt of His existence.
Think about this the next time that you are looking up at the moon or the stars on a clear night; could you drop
a drinking glass on the sidewalk and expect that it would hit the ground and on impact it would not shatter, but
it would divide up into little small drinking glasses, with iced tea in them? Of course not.
And then consider if a tornado came through a junkyard and tore through the old cars; would it leave behind a
nice new Mercedes with the engine running and no parts left around? Naturally not.
Can a fast food restaurant operate itself without any people there? That's crazy for anyone to even think about.
After considering all of the above, how could we look to the universe above us through a telescope or observe
the molecules
http://islamtomorrow.com/
http://www.islamtomorrow.com/Yusuf_story.htm

zshare
rapidshare.com
rapidshare.de
megaupload

KTranslator

alsalam alikm wa rahmat allah we brakatoh
hi all now we can dispense with windows bigsmile I found dictionary and it works on linux and it is awesome cause u can convert babylon dictionaries and use them
1-Download the source code
ktranslator
2-Dictionary converter
dictconv
To install KTranslator or Dictconv, first decompress the package.
tar xvfj ktranslator-0.x.tar.bz2

cd ktranslator-0.x

Next, run configure.
./configure

make

make install

Also the same way to install dictconv
If you want to hear the pronunciation, install festival
yum install festival

Now get any dictionary from
babylon
Converting
[root@localhost build]# dictconv /root/Desktop/Babylon_Arabic_English.BGL -o /root/Desktop/baby.index

Run ktranslator and add the converted file baby.dict
Enjoy bigsmile bigsmile

Bridge network interface on VirtualBox in Fedora 8


These instructions are for using a virtual machine in VirtualBox using a bridged network connection instead of a NAT connection. This makes the virtual machine behave more like a regular machine on your network, using its own IP from your network, etc. These instructions assume static ip addresses. These changes will remain in place after the machine is rebooted.


1-Install the bridge-utils package from Yum:
yum install bridge-utils

2-Create a configuration file for the bridge (br0):
vim /etc/sysconfig/network-scripts/ifcfg-br0

3-Enter the following in this file and save it:
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.100.2 #enter the IP you use for the host machine here
NETMASK=255.255.255.0 #enter the correct subnet mask for your network
GATEWAY=192.168.100.1 #enter the correct default gateway for your network
DELAY=0
STP=off

4-Add your NIC card (eth0 for me) to the bridge
vim /etc/sysconfig/network-scripts/ifcfg-eth0

Add this to the end of the file and save it:
BRIDGE=br0

Adding this line results in the eth0 interface being added to the br0 bridge whenever the host machine boots.
5-Create a permanent virtual interface for the virtual machine to use and add it to the bridge:
VBoxAddIF vbox0 YOURUSERNAME br0

Replace YOURUSERNAME with your username that you log into Linux as
6-Restart your network service:
service network restart

7-In your virtual machine settings in Virtual Box, in the Network section, choose ‘Host Interface’. The Interface Name is vbox0.

8-comment this -A FORWARD -j REJECT --reject-with icmp-host-prohibited in this file
vim /etc/sysconfig/iptables

How to install Virtualbox on Fedora 8

This is a tutorial on how to get VirtualBox up and running on Fedora 8. Also, this tutorial is for the 32-Bit version of VirtualBox

1-Get the VirtualBox package from the VirtualBox website for Fedora 8

http://www.virtualbox.org/wiki/Downloads

2-Get the kernel-devel package:
yum install make automake autoconf gcc kernel-devel

3-install VirtualBox
rpm -ivh VirtualBox-1.5.6_28266_fedora8-1.i586.rpm

4-Run the setup file for VirtualBox
 /etc/init.d/vboxdrv setup 

5-Add yourself to the “vboxusers” group
su -
usermod -G vboxusers -a username
exit

6-Run, and enjoy!
VirtualBox


My twinhan DVB card work

السلام عليكم ورحمه الله وبركاته
MY DVB card twinhan work on Fedora 8
first use this command to know DVB drivers loaded or not
[root@localhost ~]# lsmod | grep bttv
bttv                  159797  2 dvb_bt8xx,bt878
video_buf              22469  1 bttv
ir_common              33477  1 bttv
compat_ioctl32          5313  1 bttv
i2c_algo_bit            9157  1 bttv
btcx_risc               7881  1 bttv
tveeprom               17617  1 bttv
videodev               28097  1 bttv
v4l2_common            18625  2 bttv,videodev
v4l1_compat            15941  2 bttv,videodev
i2c_core               21825  6 dst,dvb_bt8xx,bttv,i2c_algo_bit,tveeprom,i2c_i801

and i found it loaded if u try and not loaded use this to load
modprobe bttv i2c_hw=1 card=0x68
modprobe dvb-bt8xx
modprobe cx24110

if everything good use Kaffeine to see channels lol lol
yum -y install kaffeine 

yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss 

after install add Nilesat file

cd /home/yourname/.kde/share/apps/kaffeine/dvb-s

vim Nilesat07 

and add this
# Nilesat 7.0W
# freq pol sr fec
S 11765000 H 27500000 3/4

choose DVB ========>configure DVB
choose Nilesat07
choose DVB ======> channels
start scan
select what u need and add selected channels
finished lol lol

Koike Youriko


They dub her, "a blossom from the east." Her femininity didn't prevent her from assuming men's superior positions; absolutely this doesn't happen except in only advancing countries like Japan.
She's the former Japanese minister of environment and minister of defense as well Koike Youriko who graduated from the faculty of arts, Cairo University.
She was born in the 15th of July 1952 as a youngest sister to one brother in a family characterized by involving in politics and affected to a great extent by the personality of her father and his comrades who were members in the Japanese parliament.
She was quiet, prudent, and fervent and this is what her contemporary friends in Cairo University used to tell her when she came to in 1972 after she had been granted the admission of a scholarship to study Sociology in the faculty of Arts.
After graduation, she returned to her country to force her own way in the practical life. She worked as an announcer in the Japanese T.V. in which she was devoted to the programs pertaining to the Mideast and its political affairs which in turn led her to know more about the region's problems and sufferings through her meetings with the Leaders and Presidents of the Arab states.
She got her teeth into the problems through her participation as a founder member in the Arab Japanese Friendship Foundation.
Koike started paying attention to politics 15 years ago. Since then, she was elected many times to be a member in the House of Representatives.
From 1993 till now, Koike occupied many positions; she worked as a minister of environment, state's minister for the affairs of Okinawa territory as well as Northern territories, regions known for disputes, National Security Consultant in 2006, and at last she had been entrusted with the ministry of defense to be the first woman who assume this position, but sooner she resigned because one of her employees accused her of abusing her position.
Heat Retention is considered the most important activity of the former Japanese minister. She organized Arab ministers of environment conference in Tokyo in 2004 with the aim of transferring the Japanese experience in fighting pollution to the Arab countries.
Her caring about environment was evident when she paid a visit to a tree she had planted 10 years ago in "Wady Al-Natroon", Al-Natroon Valley, and endured the hardships in her journey from Cairo just to assure of the tree's good condition and to plant another one right beside the old one in the frame of the Egyptian Japanese Co-Operation.
She's really a superior lady descending from a civilized community.

Translated by:
Tamer Omar
Simultaneous Interpreter
February 2012
M T W T F S S
January 2012March 2012
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29