Peer to Peer Networking

Peer to Peer Networking
• Designed for ten or less workstations
• Only moderate network security
– Users manage their own account information.
• No centralized storage of information
• No centralized administration control
– Lack of management for users and critical files
– Inability to centrally back up important files
• Slower response times when sharing resources
• Examples:
– Windows for Workgroups
– Windows 9x, 2K, XP
– LANtastic
– AppleTalk
• Advantages: cheap to create and operate than a client-server network, users control their own resources, no dedicated server is required, no additional software is required, beyond a suitable operation system.
• Disadvantages: no central management, each user must manage shared resources on their machine. If a workstation is unavailable, those resources are not available. If there are more than ten users or if the network will grow to more than ten users in the next year, a peer-to-peer network is not a good choice.

Live Score Card Test Match Pakistan Vs Sri Lanka

Sri Lanka 292 & 217
Pakistan 342 & 117 (44.3 ov)

Sri Lanka won by 50 runs

Pakistan RR 2.62
Last 10 ovs 25/3 RR 2.50
Refresh scorecardRefresh scorecard
Current time: 12:49 local, 07:19 GMT

IT Office Basics

Basics of Data Arrangement and Access
The Data Hierarchy
Recall…8 bits => 1 byte => 1 character, num, symbol
Field - a logical grouping of characters into a word, a small group of words, or a complete number
Record - a logical grouping of related fields
File - a logical grouping of related records
Database - a logical grouping of related files

Data Management Terminology
Entity
- a person, place, thing, or event about which information is maintained
Such as employee, customer, product
Records describe entities
Attribute - each characteristic or quality describing a particular entity
Such as employee name, customer id, product color
Fields describe attributes
Primary Key - field that uniquely identifies the record so that the record can be retrieved, updated and stored
Secondary Key - field does not identify the records uniquely, but can be used to form logical groups of records
the students last name doest uniquely identifies that student

The Religion of the Taliban

Deobandi Islam: The Religion of the Taliban
Information provided and used with permission from the Defense Language Institute at:
wrc.lingnet.org
“We have a common task – Afghanistan, the USA and the civilized world – to launch a joint
struggle against fundamentalism. If fundamentalism comes to Afghanistan, war will
continue for many years…Afghanistan will be turned into a center for terrorism.”i
Mohammed Najibullah, August 1996
Afghanistan President
(The following month Najibullah was assassinated by the Taliban.
His mutilated body was hung from a light pole for public
display in downtown Kabul)

“Afghanistan is the only country in the world with a real Islamic system. All Muslims
should show loyalty to the Afghan Taliban leader, Mullah Mohammad Omar”ii
Osama Bin Laden, April 2001


The International Deobandi Conference, April 2001
From April 8-11th of this year an estimated half-million people converged on a small town outside
of Peshawar, Pakistan to celebrate the founding of a religious seminary known as Dar-ul-Uloon
(house of knowledge). Dar-ul-Uloon is an Islamic madressa (religious school) that was founded
in the city of Deoband, India in 1867. This celebration known as the “International Deoband
Conference” acknowledged the madressa’s history but its primary purpose was to affirm a
philosophy of a branch of Sunni Islam that has come to be known as Deobandi. From its
inception almost 150 years ago the Dur-al-Uloon madressa has expounded a religious philosophy
that now bears the name of the city in India where this well-known school resides.
The April conference was organized by Jamiat Ulema-I-Islam (JUI), a Pakistani political party with
a history of supporting and encouraging radical Islamic groups made up of fundamentalists and
religious fanatics. The majority of the delegates to this conference came from Deobandi
madrassas in Pakistan. There were also a large number of delegates from Afghanistan as well
as India. With the exception of Israel every middle-eastern country was represented, as were
representatives from non-Arab Muslim nations.
The highlights of the conference were a keynote address by Libyan leader Mu’ammar Al-Qadhafi,
and taped speeches broadcast over loud speakers by the Afghanistan Taliban leader, Mullah
Mohammad Omar and international terrorist, Osama bin Laden. Mullah Omar’s speech
contained the strongest rhetoric. He accused the United Nations of being a tool of Western
aggression and accused the West, particularly the U.N. and the United States, of oppressing the
Muslims in Palestine, Kashmir, Bosnia and Chechnya. Osama bin Laden in his speech had high
praise for the Taliban government as defenders of Islam against “non-Islamic forces” both foreign
and domestic. He praised the Taliban government for having the resolve to stand firm in
upholding the standard of Islam in the face of international criticism.
The Iranian delegation, while comfortable with the anti-American diatribe, were clearly
uncomfortable with the Deobandi religious philosophy which runs counter to the Shia
understanding of Islam. It is probably for this reason that the Iranians tried to redirect the focus of
the conference on the importance of Islamic unity. The Indian delegation, clearly bothered by the
radical tone of the conference, pleaded for moderation. Despite these efforts the conference
maintained a strong anti-American and anti-Western bias. The food Kiosks observed a ban on
American products. Signs advertising Coca-cola were painted over and posters depicting burning
American flags were popular souvenir items.iii
Introduction
The goal of this paper is to shed some light upon the Deobandi movement, the primary religious
influence among the Taliban in Afghanistan. While religion is a significant factor it is only one
piece in understanding the Taliban and Afghanistan situation. Historical, political, economical,
and social factors must also be thoroughly examined. Perhaps most importantly tribal/ethnic
divisions (there are more than 50 ethnic groups in the country) and the opium trade are major
influences not only on the religious expression but also on the politics of the Taliban in
Afghanistan. The reader of this paper is encouraged to investigate these other factors before
drawing any conclusions about the Taliban.
Divisions and Pluralism within Islam
Throughout its twelve hundred year history Islam has experienced a variety of ways that people,
remaining faithful to the Islamic tradition, have sought to live their faith in the reality of a changing
world. While in theory Islam clings to the Ummat-a-Wahidah (One Community) in reality there
exists a great variety of religious expression as the ‘one community’ struggles to live out its ideal.
Sunni-Shia. The oldest, and most radical, division in Islam began early in its history when
members of the Islamic community had differences concerning who should lead the Muslim
community after the death of the prophet Muhammad in 732 AD. The majority favored an open
election to determine a Caliph (successor). A minority insisted the successor be a blood relative
of the prophet.iv Hopes for a peaceful solution to this crisis were dashed when the sixth Sunni
Caliph, in an attempt to stamp out the Shia ‘heresy,’ ordered the murder of the prophet’s
grandson, Hussein. The Shia community was outraged and Hussein became the first Shia
martyr. The division between the two groups remains to this day.
Shia. Among the Shia minority divisions also occurred. Because of their belief that the leader of
the Muslim community must be a blood relative of the prophet, disputes arose when two sons of
an Imam (the title given to the Shia leader) both claimed to be the rightful successor. These
disputes caused the Shia sect to further divide into three groups: Zaidsv, Ismai’ilisvi and Ithna
Asharisvii
An important feature of their distinctiveness is that all three Shia groups developed their own
distinctive legal schools. The most well known is the Figh-a-Jafari school belonging to the Ithna
Ashari Shias.
Sunni. The differences within the Sunni branch of Islam are primarily based upon different ways
that fiqh (religio-legal precepts) are developed and practiced. After the death of the prophet the
Islamic community began to develop a body of law known as sharia. This law was based upon
the Quran (the prophet’s revelations) and the Sunnah (the worlds and deeds of the prophet). For
legal solutions that could not be found in these sources the prophet had sanctioned the use of
ijihad (independent reasoning).
Within 150 years two distinct sharia schools were recognized: the Hanafi school founded by
Imam Abu Hanifa in Kufa and the Malik school founded by Imam Malik in Madina. In the
following century two other major schools emerged, the Shafei school of Imam Idris al-Shafei in
Egypt and the Hanbali school of Imam Ahanad ibn Hanbal in Baghdad. In time the vast majority
of Sunni Muslims accepted one or another of the four schools as final and binding. By the 15th
century it was believed that all important legal questions had been addressed. “The gates of ijihad
were closed,” that is, independent reasoning was no longer permitted in Islamic jurisprudence
and Muslims were to conform to the rulings of past authorities.viii
Others. In reaction to the growing emphasis on jurisprudence the Sufi movement was born.
Moving away from a focus on legal codes they stressed an interior ‘heart-felt’ relationship with
God. The Sufis also saw a necessity to be guided by a Sheik (spiritual leader) and their religious
orders began to spring up all over the Islamic world. In addition to the Sufis add a mixture of
fringe fundamentalist and/or radical groups and a myriad of splinter sects like the Alawitesix and
the Ahmadiyyasx and one can begin to glimpse the diverse nature of Islam today.
Summary. Islam is not a monolithic religion as it is sometimes perceived in the West. The closer
one examines this religion’s mosaic the more color and variety one can detect. The purpose of
this paper is to look a bit more closely at one expression of the Islamic tradition, Deobandi.
The Indian Connection
While Islam was introduced into the Indian sub-continent in the 8th century it was unable to
establish a firm hold among the Hindu population. It wasn’t until the 11th century when Sufi
missionaries, eager to share their faith, settled in India, that Islam became part of the religious
landscape. The Sufis with their emphasis on spirituality instead of doctrinal conformity were open
to the possibility of new truths. While bearing the witness of Islam they were also open to a wide
variety of spiritual expressions, which they believed could be found anywhere, even in other
religious traditions. As a result Islam found acceptance in spiritually rich India and there
developed a spirit of cooperation between the Muslim (i.e. Sufi) and Hindu communities in India.
Muslims in India would often visit Hindu holy sites and observe Hindu festivals. Likewise, many
Hindus participated in Muslim celebrations.
By the time the British East India Trading Company began to regulate the Indian spice trade in
1601 Islam (and Islam/Hindu cooperation) had been firmly planted in Indian soil for close to 400
years. The East India Company, taking advantage of what they saw as a disorganized and
chaotic situation, began to organize commerce, and then the Indian government, along the British
model. The magnitude of change (which negatively affected the Indian subjects) boiled over in
the “Revolt of 1857” when the Indians tried, but failed, to gain their independence from British
rule. In the aftermath of this revolt the British parliament stepped in, taking direct control of Indian
affairs. Although the revolt of 1857 was a grassroots national movement the British parliament
felt the Muslims were particularly subversive and they received much of the blame for the bloody
uprising. The British subjected the Islamic community to humiliating collective punishments and
totally excluded Muslims from public life.xi
By this time (1857) the Muslim community itself was engaged in bitter disputes about how Islam
should be practiced in India. The more traditional Muslims wanted Islam to be completely
separated from Hindu and especially British interference. This puritan strand of Islam later
became known as, Deobandi. Other Muslims, deeply influenced by the Sufi tradition in India,
insisted on maintaining cooperation with Hindus and worked to change the British rule by working
within the established governmental system. This innovative strand of Islam later became known
as Bid’ati (practitioners of innovation). These two strands, and the many sub-groups they have
created, are still visible in India today.
One way the Muslim community in India chose to respond to the British oppression was to open a
seminary in Deoband in 1866. The leadership of this seminary was composed of former students
of the Delhi madressa that was destroyed when order was restored after the “Revolt of 1857”.
Two forces motivated the leaders of the new seminary in Deoband: (1) a zeal to indoctrinate
Muslim youth with Islamic values and (2) an intense hatred towards the British and all foreign (i.e.
non-Islamic influences). The seminary shunned everything foreign, Hindu, Western or British and
made a consorted effort to expose their students only to the rich spiritual and philosophical
traditions of Islam.
Deobandi Theology. From its inception the school at Deoband made a sharp distinction
between ‘revealed’ or sacred knowledge, and ‘human’ or secular knowledge. The school
excluded all learning that was not obviously Islamic by firmly rejecting other religious traditions
(the Hinduism of India and the Christianity of the British missionaries) and forbidding Westernstyle
education and the study of any subjects not directly related to the study of the Quran.
The school was also highly critical of Islam as it was practiced in the modern world, especially
India. They felt the established religious order had made too many compromises with its foreign
environment and therefore Islam needed to be purified of these foreign elements. To live out the
pure Islamic tradition they embraced Taqlid (acceptance of the old interpretations) and rejected
ijitehad or reinterpretation of Islamic precepts to accommodate the changing times. It should also
be noted that they are strict adherents to the Hanafi school of thought.xii
This last point is critically important in understanding Deobandi (and by extension, Taliban)
reasoning. When putting the Hanafi legal code into practice two fundamental principles are
always considered.
First, the eventual outcome of an act must be considered before that act can be judged to be
ethically permissible. For example the fact that a woman does not cover herself completely in
public may not, in itself, be haram (forbidden). However, because it is likely to lead to a forbidden
act, i.e., immorality, the activity is not permitted. The same can be said for women being treated
by medical doctors or measured for clothes by a tailor. Medical examinations or proper fitting
clothes are not forbidden. However, the fact that a doctor (or tailor) may entertain sexual
thoughts while performing their duties makes this a forbidden practice.
The second principle revolves around Ruskhah (what is permissible) and azeemah (what is
honorable). The practice states that what is honorable should take precedence over what is
permissible. For example, it is “permissible” to take a life for a life but the “honorable” thing to do
is to forgive. In the Afghan context it is difficult to arrive at a consensus when using this principle
because often ethnic and tribal norms become factors in deciding what is permissible and what is
honorable. Thus, the above example would be true in an Indian context but because of long-held
tribal beliefs the Taliban in Afghanistan reaches the opposite conclusion. In short, it is sometimes
impossible to sort out what is ‘Islamic’ from what is ‘tribal’ in Afghan society.
Their purist religious positions and practices were so rigid that it brought them into conflict not
only with the British authorities but also with other Muslims. The British provoked theological
arguments between the Deobandi and Bid’ati Muslims as a way of drawing the Deobandi school
away from anti-British activities. This appears to have been somewhat successful. In the late
19th and early 20th century the Deobandi school was embroiled, and to a great extent
preoccupied, in a verbal “fatwa war” with the Bid’ati school. With more than a quarter of a million
fatwas (legal opinions) being issued on some of the most ordinary issues of daily life, the fatwa
war helped the Deobandi scholars clarify their thinking. It also served to harden their deeply
conservative theological and ethical positions. As a result of the fatwa war the Dar-ul-Uloom
madressa became much more traditional than it was when first established in 1866. That is, it
moved much further to the right than the founding fathers would have ever imagined.
As the school grew in years it also grew in size and prestige.xiii Dar-ul-Uloon became ‘the’ place to
prepare young men to become educated in the Islamic tradition. Young boys and men from all
over the Muslim world filled its classrooms. Present in large numbers were students from
Afghanistan and the soon-to-be nation of Pakistan. The normal length of study was ten years
and its graduates would be well versed in the Quran and recognized in their home communities
as Mullahs (local religious scholars).
The Pakistan Connection
Indian independence from British rule in 1947 was met with a bloody partitioning of the subcontinent
into two independent nations…India and Pakistan. Having no longer to contend with
English oppression the anti-British activities faded from the scene as the school in Debond turned
its full attention upon training its students in its traditionalist/fundamentalist interpretation of Islam.
Dar-ul-Uloon however, had a strong history as a hotbed for anti-British activities that were fueled
by its conservative, uncompromising theological stance. After the creation of the nation of
Pakistan in 1947 numerous satellite Deobandi madressas sprung up throughout Pakistan.
These madressas carried on not only the strict Deobandi theological tradition but also its political
activism, only now the target had changed. It was no longer the English but the Indian
oppression of Muslims in the disputed area of Kashmir that inspired resentment. Later, with the
Soviet invasion of Afghanistan in 1979 this resentment would expand to include communism.
After the Soviets left the U.N. and the U.S. became demonized as the foreign invading and
corrupting powers that threatened the pure expression of Islam.
Between 1947 and 1975 there were 868 Deobandi madrassas operating throughout Pakistan,
most of them along the Afghanistan/Pakistan border. These schools were quite small and poorly
funded…most of them teaching only a handful of students. Their influence on the population at
large was minimal. The period of instruction was three years (not ten as required at Dar-ul-Uloon)
and the young men who attended these institutions came from impoverished families and were
usually illiterate. The quality of education was (and is today) dismal. It was not an education but
indoctrination. If one was illiterate before attending a madressa the chances were quite good that
he would be illiterate upon graduation. Instruction centered on the memorization of the Quaranic
text in Arabic, which is a foreign language to most of the students. Upon graduation the talib
(student) was qualified as a village mullah, officiating at births, marriages, deaths and providing
religious education for boys in exchange for cash contributions or gifts. Author Michael Griffin
calls these madrassa graduates, “a cross between a country parson and a Shakespearean
clown”xiv and goes on to note, “The mullah was not, on the whole, revered for his religious
insights. He was a community servant who earned a crust through bone-setting and the selling of
religious amulets to protect against the evil eye or the myriad jinn, which live in the air and visit
illness upon children and women."xv
Nevertheless they not only continued but they prospered. A 1996 survey shows the number of
Deobandi madrassas with a student population of 200 or more had mushroomed to a staggering
2,512 along Pakistan's Western border with Afghanistan. The number of smaller madrassas in
the area may be even larger. Why? The answer was to be found across the border in
Afghanistan.
Afghanistan
Centuries of long-standing Islamic traditions in Afghanistan were in danger of being pushed aside
when the Soviets invaded Afghanistan in 1979. Ignoring tribal and ethnic diversity the Soviets ran
roughshod over Afghanistan sensitivities by insisting on sweeping changes that included stripping
women of the veil, requiring women to work outside of the home, imposing literacy and instituting
sweeping land reform. The Afghan Muslim response was to declare a jihad to cast out the infidel
from their borders. Afghans were spirited fighters because they saw their cause as a holy
mandate. Madressas produced young men who were primed to be fierce anti-Communist
fighters. These new madressas were financed in part by the U.S., Britain and Saudi Arabia, as
part of their humanitarian programs to increase the literacy level in Pakistan. It is no accident that
these schools sprung up in Pakistan along the Afghanistan border. Young men streamed back
and forth across the border to these institutions which provided the spiritual motivation to resist
the Soviet threat. The madressas indoctrinated its students with a love of Islam and a hatred for
un-Islamic influences. It is important to note that military and/or terrorist training was not part of
the madressas’ curriculum. This was conducted elsewhere in Pakistan and Afghanistan. Military
training, however, was often pursued both during and after studying at a madressa. For Afghans,
involved in a jihad against an atheistic communist invader, it seemed that some form of military
training was a natural and logical extension of the education that was received through the
madressa system.
When the Soviets left in defeat in 1989 a provisional Islamist government, the majahedim
(warriors of God) was put in place with the help of the U.N. and U.S. Those Afghan warriors,
steeped in the Deobandi religious tradition were critical of a government that proclaimed the
name of Islam but had a strong relationship with the U.S., the U.N., the Soviet Union and in some
cases, India. The time and religious climate was ripe for a government void of external influences
and steeped in Islamic tradition to claim the country.
In the spring of 1994 two teenage girls from the village of Sang Hesar were abducted by the
majahedim and repeatedly raped at the local checkpoint. Mohammed Omar, a retired Afghan
commander studying at a local madressa, gathered 30 fellow taliban (students) and mounted a
successful rescue. The Majahedim commander was hung from a slowly ascending tank-barrel.
This was the birth of a movement that came to be known as the Taliban.
The Taliban began as a moral force called to arms for the purpose of crushing the immoral and
corrupt Majahedim. Its forces fought with a divine purpose. They were orderly, disciplined,
obedient and strongly determined…living examples of the qualities they developed through years
of disciplined study in the rigid madrassa system. In the early years they were admired among
the common Afghans for their moral qualities. They were skilled in negotiating a peace with the
terms slanted in their favor but when called to battle they were disciplined. There were no reports
of rape or looting and the force could not be bought off with drug money. In spite of these
positive characteristics the Taliban has not been a stellar fighting force and has experienced
limited success on the battlefield. To date it has not been capable of crushing its longstanding
opposition in the North.
From the religious perspective the Taliban suppressed the Afghan expression of Islam with its
heavy-handed approach to implementing traditional Islam into every area of the society. Because
of this they may be in danger of alienating the very people who brought them into power.
However, the Taliban has deep roots in Afghan society and Islamic tradition. Given Afghanistan’s
checkered history it is worth noting that this is the only political force in recent memory that has
not been artificially created. For this reason alone outside governments need to tread cautiously
with this regime.
Conclusion
From a religious vantagepoint the defeat of the majahedim by the Taliban is a clash between two
different visions held by two distinct Islamic fundamentalist groups.
The majahedim were Islamists who carried the banner of Islam and combated secularism and
then communism in Afghanistan. Islamists are modernists who seek a contemporary political
interpretation of Islam. Educationally they tilt towards Al-Azhor University in Egypt where they
have been strongly influence by the political orientation of the fundamentalist group the Muslim
Brotherhood. Because they drew from this model other governments were quick to recognize
their authority and they were able to form highly organized political parties.
The Taliban are traditionalists who have only entered the political stream in Afghanistan since
1994. They view the roll of government and society very differently from the majahedim. They do
not see Islam in political terms but in religious terms. They seek to return to the purity of the
teachings of the Quran and the Sunnah (the practices of the Prophet). They are products of
religious madrassas in Pakistan whose roots go back to the Dar-ul-Uloon seminary in Debond,
India. Their history makes the Taliban inclined to organize themselves around regional
associations rather than political parties.
Religious edicts are believed to have a divine source so they carry more authority in this society
than humanitarian law that stress individual freedoms. The purpose of government is to be a
reflection of the divine will (as interpreted by the Deobondi scholars), not a guardian of individual
rights and liberties as insisted upon by the West.
i Griffin, Michael, Reaping the Whirlwind, (Virginia: Pluto Press, 2001), pg.5.
ii BBC News Online, 10 April 2001, 10:13 GMT. www.institute-for-afghanstudies.
org/dev_xyz/taliban/deobandi-conf-2001.htm
iii Ibid. This web site contains comprehensive coverage of the three-day Deobandi Conference
held in Pakistan on April 9, 2001.
iv The majority is known today as Sunni Muslims and represent 85-90% of the Muslim
community. The minority who make up the other 10-15% are known as Shia Muslims.
v Zaids today found primarily in Yemen
vi Ismai’ilis are today concentrated in Lebanon, Syria and Israel
vii Ithna Asharis is the largest of the Shia groups. They are also known as ‘twelvers’ because they
acknowledge twelve Imams. They make up 95% of the population of Iran and are also found in
Southern Iraq.
viii Armstrong, Karen, Islam, (New York, Modern Library Chronicles, 2000), pg.100.
ix Alawites are a sect that blends Christianity with Islam. They observe Muslim precepts but also
use sacramental wine and celebrate Christmas, Easter, and Epiphany. They consider
themselves Muslim but most Islamic fundamentalists do not.
x Ahmadiyyas are a persecuted sect in Pakistan because they reject Jihad [holy war] and the
politicization of Islam. While they consider themselves to be Muslims the Pakistani government
forbids them to take Muslim names or even to use Islamic greetings.
xi “The Flowering of the Deobandi Movement” 20 April, 2001,
www.pakistanlink.com/sah/04202001.htm
xii The Deobandi School and the Taliban are strict followers of the Hanafi legal code. Saudi
Arabia strictly follows the Hanbali legal code. This is a divisive point between the Taliban and the
Saudi government. What confuses things is that both Saudi Arabia and the Deobandi School (i.e.
the Taliban) are often referred to as “Wahhabis.” This term, which originally referred to an
Islamic reformer in the 18th century, developed a completely different meaning in India under
British rule. What is important for the Western reader to keep in mind is that the term “Wahhabis”
means something very different in the Saudi Arabian context then it does in the Taliban context.
One must never assume that Saudi Arabia and the Taliban share the same Islamic vision…they
do not.
xiii BBC News Online. (Today Dar-ul-Uloon in Deoband, India has 3,500 students, 80 teachers,
250 other staffers and an annual budget of over one million dollars (U.S.) given through private
donations.)
xiv Michael, pg.57.
xv Michael, pg. 58.

Linux Backyp and recovery

Before we can talk about backups, we need to introduce the tools
used to archive files on UNIX systems.
Linux Based Networks
Topic Heading Class Meeting # Slide : 4


Usingtar.
The tar command is most often used to archive files. Its
command syntax is
where optionsis the list of commands and options for tar, and
filesis the list of files to add or extract from the archive.
For example, the command
# tar options files
# tar cvf backup.tar /etc
Linux Based Networks
Topic Heading Class Meeting # Slide : 5



# tar cvf backup.tar /etc
packs all of the files in /etc into the tar archive backup.tar.
The first argument to tar, “cvf”
c tells tar to create a new archive file.
v forces tar to use verbose mode, printing each file name as it is
archived.
f option tells tar that the next argument, backup.tar, is the
name of the archive to create.
The rest of the arguments to tar are the file and directory names
to add to the archive.
Linux Based Networks
Topic Heading Class Meeting # Slide : 6


# tar xvf backup.tar
Will extract the tar file backup.tar in the current directory.
Old files with the same name are overwritten when extracting files
into an existing directory.
Remember!!!
Before extracting tar files it is important to know where the files
should be unpacked.
Linux Based Networks
Topic Heading Class Meeting # Slide : 7


# tar tvf backup.tar
can be used to display a listing of the archive's files without
extracting them.
You can see what directory the files in the archive are stored
relative to, and extract the archive in the correct location.
Linux Based Networks
Topic Heading Class Meeting # Slide : 8



gzip
Unlike archiving programs for MS-DOS, tar does not automatically
compress files as it archives them. If you are archiving two, 1-
megabyte files, the resulting tar file is two megabytes in size. The
gzip command compresses a file (it need not be a tar file). The
command
compresses backup.tar and leaves you with backup.tar.gz, a
compressed version of the file.
The -9 switch tells gzip to use the highest compression factor.
# gzip –9 backup.tar
Linux Based Networks
Topic Heading Class Meeting # Slide : 9



gunzip
The result is backup.tar.gz. To unpack this file, use the reverse
commands
Always make sure that you are in the correct directory
before unpacking a tar file.
# gunzip backup.tar.gz
Linux Based Networks
Topic Heading Class Meeting # Slide : 10



Putting them together.
1. Here, we send the tar file to ``-'', which stands for tar's
standard output.
2. This is piped to gzip, which compresses the incoming tar file.
3. The result is saved in backup.tar.gz.
4. The -c option tells gzip to send its output to standard output,
which is redirected to backup.tar.gz.
# tar cvf - /etc gzip –9c > backup.tar.gz
Linux Based Networks
Topic Heading Class Meeting # Slide : 11



Unpack this Archive
A single command to unpack this archive would be
Again, gunzip uncompresses the contents of backup.tar.gz and
sends the resulting tar file to standard output. This is piped to tar,
which reads ``-'', this time referring to tar's standard input.

Introduction to Oracle 10g R1 (10.1.0.3) on SUSE LINUX Professional 9.3

Introduction to Oracle 10g
R1 (10.1.0.3) on
SUSE LINUX Professional 9.3


Introduction
This paper is designed to help you get started with Oracle 10g on SUSE LINUX 9.3. This will help you to work on latest SUSE OS and latest Oracle Database 10g from Oracle. Oracle 10g is supported and certified only on SUSE LINUX Enterprise Server (SLES), but occasionally for development and testing purposes you will prefer to have it up and running on your desktop for quick access. Instruction provided here will also work on SUSE LINUX 9.2.
Hardware Requirements
The system must meet the following minimum hardware requirements:

Requirement Minimum Value
RAM 512 MB
Swap space Approx. twice the size of RAM
Disk space in /tmp 400 MB
Disk space for software files 2.5 GB (2621440 KB)
Disk space for database files 1.2 GB

Required Software
You need SUSE LINUX 9.3 and Oracle 10g. Also, Novell/SUSE orarun package will help you to make Oracle pre-Install task simple.
Novell/SUSE
1. Novell SUSE LINUX 9.3
(ftp install location: ftp://ftp.suse.com/pub/suse/i386/9.3/)
2. orarun : Get latest version from
(http://ftp.novell.com/partners/oracle/sles-9/)
3. Novell/SUSE Documents are available here:
http://www.novell.com/documentation/
4. For more "Oracle on SUSE" related information visit
http://www.novell.com/oracle.
Oracle
Oracle database 10g R1(10.1.0.3) Software is available for download from Oracle web site. File name: ship.db.lnx32.cpio.gz.
1. URL to Download:
(http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/linuxsoft.html).
2. Oracle Documents are available on
http://www.oracle.com/technology/documentation/database10g.html
3. Oracle Development Tools:
http://www.oracle.com/tools/index.html

Installation Steps
1. Install SUSE LINUX Operating System
Follow the Installation instructions provided in the SUSE LINUX 9.3 installation manual. We will focus on Oracle related component and make sure you meet Oracle software space requirement.

SUSE LINUX 9.3 with default packages along with "C/C++ Compiler and Tools" is sufficient for Oracle 10g R1 (10.1.0.3) install. Here is snap-shot from my system.

Check whether C/C++ compiler is installed. "gcc --version" will show "gcc (GCC) 3.3.3 (SUSE LINUX)". If gcc is not installed, then use YaST setup tool to install "C/C++ Compiler and Tools".


2. Oracle Install prerequisites
Refer to Oracle installation document for complete list of prerequisites. Novell/SUSE provides orarun packages to automate most of the Oracle pre-install task. orarun package is not included in SUSE LINUX 9.3 as this is for SUSE LINUX Enterprise Server.
Note: orarun is only available on x86. You can use orarun on other platforms (x86-64), but on these platforms please comment out the following line from the file "/etc/profile.d/oracle.sh" and "/etc/init.d/oracle":
#test -d /lib/i686 && export LD_ASSUME_KERNEL=2.2.5
orarun :
1. Install orarun package. It will ask to install dependent packages first.
# rpm -ivh --nodeps orarun-1.8-109.12.i586.rpm
2. Install libaio, libaio-devel and pdksh from SUSE LINUX 9.3 media.

3. Please ignore xshared not available conflict reported by YaST. Here is snap-shot:


4. Now orarun package is installed. Please enable newly created "oracle" user for Oracle 10g installation.

1. The account for oracle user is disabled. Enable it, by changing the shell for the "oracle" user from "/bin/false" to "/bin/bash", either by using YaST setup tool or by editing the "/etc/passwd" file.

2. Set a new password for user "oracle" i.e. "/usr/bin/passwd oracle".
You can use SUSE setup tool YaST to accomplish above tasks.
/sbin/yast2 -> "security and Users" -> "Edit and create groups"
(Select users tab and set "System Users" filter to see oracle user.)
Following are the screen shots of "oracle" user properties:



5. Now set your Oracle environment variables.

1. Change Oracle home directory by editing ORACLE_HOME variable in "/etc/profile.d/oracle.sh" file. ORACLE_HOME=$ORACLE_BASE/product/10g
2. Default ORACLE_SID set by orarun install is "mydb". Change it to your preferred name in "/etc/profile.d/oracle.sh" file.

6. Run "/usr/sbin/rcoracle start" to set kernel parameters. Ignore ORACLE_HOME not set message as this will get fixed once Oracle 10g is installed.

7. Exit from current root user session and login as new "oracle" user. Following is snap-shot verifying current user.


3. Oracle 10g R1 (10.1.0.3) Installation

1. Get Oracle 10g R1 (10.1.0.3) Software from oracle web or use your Oracle Database 10g CD. If you have downloaded SW ( ship.db.lnx32.cpio.gz) then use gunzip and cpio to extract files:

a. gunzip ship.db.lnx32.cpio.gz
b. cpio -idmv <> connect / as sysdba
SQL> startup
2. To shutdown the database:
sl93$ sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown
Note: "/" connects you to the schema owned by SYS with the privilege SYSDBA.
5. Oracle Database Start at boot time
Set parameter START_ORACLE_DB="yes" in "/etc/sysconfig/oracle" file. You can edit file "/etc/sysconfig/oracle" manually or use YaST setup tool to change oracle specific parameters.
"/sbin/yast2->System->/etc/sysconfig Editor ->Productivity->Databases"

1. Edit /etc/oratab entry corresponding to your database to "Y".
i.e. mydb:/opt/oracle/product/10g:Y

2. Edit dbstart, dbshut and dbhome scripts to reflect correct location for ORATAB entry. i.e ORATAB=/etc/oratab

Note: If you are lazy in editing /etc/oratab entries then following will do:
#ln -s /etc/oratab /var/opt/oracle/oratab
3. Create symbolic link to start Apache Server.
#ln -s /usr/lib/libdb.so.3 /usr/lib/libdb.so.2
6. Oracle Enterprise Manager

1. Start Oracle listener, If it is not already started by "lsnrctl start". If it fails, then make sure your listener.ora file has proper SID_DESC entry.



# listener.ora Network Configuration File: /opt/oracle/product/10gR1/network/admin/listener.ora
# Generated by Oracle configuration tools.
...
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /opt/oracle/product/10gR1)
(GLOBAL_NAME = ORCL)
)
....

2. If dbconsole Oracle services is not started, then start it manually by entering following command "emctl start dbconsole".

3. Enterprise Manager web interface ( http://localhost:5500/em) to perform routine database administration and tuning tasks.


Conclusion

How to Write a Blog?

How to Write a Blog?
1. You must take a writing course from community college. You know a poor writer can make interesting topic boring.
2. when you want to write on any topic or article first you research on it from the source of magazine, books and internet after that you write a article on your own words.
3. I always try to more and more research on topic. And add original content & story with additional information.
4. First time when you write any article you must write in draft mode and read carefully after writing and post it.
I recently start Google bloging. This the way you can help the peoples in any professional field. I am related to computer network hardware & internet field. I have many ideas in my mind. I have many computer related problems in my practical field.
Bloging is the best way to polish your practical field. You can write your practical experiences on bloging. This way increase blog or website traffic.

ISP’s Servers Architecture FTP Server

ISP’s Servers Architecture

FTP Server:
Partition Table Information
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 6.0G 199M 5.9G 4% /
tmpfs 497M 0 497M 0% /dev/shm
/dev/hda1 102M 36M 66M 36% /boot
/dev/hda8 4.2G 33M 4.2G 1% /data
/dev/hda6 4.0G 33M 4.0G 1% /tmp
/dev/hda5 6.1G 605M 5.5G 10% /usr
/dev/hda3 15G 292M 15G 2% /var
202.125.142.119:/home
34G 3.9G 28G 13% /home
Package Used for FTP Server: vsftpd-2.0.2-3
Checking package for installation:
rpm –qa grep vsftpd
Installing package Using Yast2:
Yast2->Install and Remove S/W->Ctrl+S->vsftpd->press space and then Ctrl+I for install
Configuration File: /etc/vsftpd.conf
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are very paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
#
# If you dont change anything here you will have a minimum setup for an
# Anonymous FTP server.

# General Settings
#
# Uncomment this to enable any form of FTP write command.
#
write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
#
dirmessage_enable=YES
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#
#nopriv_user=ftpsecure
#
# You may fully customise the login banner string:
#
ftpd_banner="Welcome to PUCITONLINE FTP service."
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#
#ls_recurse_enable=YES
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#
#deny_email_enable=YES
#
# (default follows)
#
#banned_email_file=/etc/vsftpd.banned_emails
#
# If enabled, all user and group information in
# directory listings will be displayed as "ftp".
#
hide_ids=YES

# Local FTP user Settings
#
# Uncomment this to allow local users to log in.
#
local_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#local_umask=022
#
# Uncomment to put local users in a chroot() jail in their home directory
# after login.
#
chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#
#chroot_list_enable=YES
#
# (default follows)
#
#chroot_list_file=/etc/vsftpd.chroot_list
#
# The maximum data transfer rate permitted, in bytes per second, for
# local authenticated users. The default is 0 (unlimited).
#
#local_max_rate=7200


# Anonymus FTP user Settings
#
# Allow anonymous FTP?
#
anonymous_enable=NO
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#
#anon_upload_enable=YES
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#anon_umask=022
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#
#anon_mkdir_write_enable=YES
#
# Uncomment this to enable anonymus FTP users to perform other write operations
# like deletion and renaming.
#
#anon_other_write_enable=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#
#chown_uploads=YES
#chown_username=whoever
#
# The maximum data transfer rate permitted, in bytes per second, for anonymous
# authenticated users. The default is 0 (unlimited).
#
#anon_max_rate=7200


# Log Settings
#
# Activate logging of uploads/downloads.
#
xferlog_enable=YES
#
# You may override where the log file goes if you like. The default is shown
# below.
#
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#
#xferlog_std_format=YES
#
# Uncomment this to log all FTP requests and responses. This only works if
# xferlog_std_format is not enabled. Beware, it will create a huge amount of data
# in your logfile.
#
#log_ftp_protocol=YES
#
# Uncomment this to enable session status information in the system process listing.
#
#setproctitle_enable=YES

# Transfer Settings
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
#
connect_from_port_20=YES
#
# You may change the default value for timing out an idle session.
#
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#
#data_connection_timeout=120
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
#
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# Set to NO if you want to disallow the PASV method of obtaining a data
# connection.
#
#pasv_enable=NO

# PAM setting. Do NOT change this unless you know what you do!
#
pam_service_name=vsftpd

# Set listen=YES if you want vsftpd to run standalone
#
listen=NO