Cara Installasi Web Server Debian 7


Cara Installasi Web Server Debian 7

root@server:~#  apt-get  install apache2  libapache2-mod-php5  php5  php5-cgi
root@server:~#  pico  /etc/apache2/sites-enabled/vhost

<VirtualHost *:80>
ServerAdmin admin.rizkisaki.com
ServerName rizkisaki.com
ServerAlias www.rizkisaki.com
DocumentRoot /var/www/rizkisaki
</VirtualHost>

<VirtualHost *:80>
ServerName mail.rizkisaki.com
DocumentRoot /usr/share/squirrelmail
</VirtualHost>

root@server:~#  mkdir  /var/www/rizkisaki
root@server:~#  pico  info.php       
<?php
phpinfo();
?>

root@server:~#  cp info.php /var/www/rizkisaki
root@server:~#  cp /var/www/index.html /var/www/rizkisaki
root@server:~#  pico /var/www/rizkisaki/index.html
root@server:~#  /etc/init.d/apache2  restart
root@server:~# apt-get install lynx
root@server:~#  links rizkisaki.com
root@server:~#  links rizkisaki.com
root@server:~#  links rizkisaki.com/info.php
ReadmoreCara Installasi Web Server Debian 7

Exercise English

ReadmoreExercise English

Unit 4

1. Talking about past events
    Asking past actions

  • What did you do last Friday?
  • Where did you go?
  • When did you get back?
  • When did you stay?
  • What did Bella have for lunch?
  • What did he eat last night?
  • How was the weather?
  • How was your presentation last week?
    Telling past actions
  • I went to a basketball game
  • I went to ungaran
  • I got back on saturday night
  • I stayed with my parents
  • She sad soup and sandwiches
  • He ate thai food
  • It was wonderfull
  • It was great
2. Talking about future plans
    Asking someone's plan
  • What will you do tomorrow?
  • When will you finish the report?
  • What will we do in class today?
  • Where will they put the table?
  • When will Brad leave for Toronto?
  • How will he get there?
    Telling plans
  • I'll present the new project in the morning meeting
  • In the afternoon
  • We'll play some word games
  • They'll put it next to the windows
  • He'll leave right after dinner
  • He'll take the bus
3. Past Tense

A. Simple Past Tense
This page will present the simple past tense:
  • its form
  • and its use.
Before you continue the lesson read the following passage and try to see how the verbs are formed and used.
Wolfgang Amadeus Mozart was an Austrian musician and composer. He lived from 1756 to 1791. He startedcomposing at the age of five years old and wrote more than 600 pieces of music. He was only 35 years old when he died.
The verbs "waslived,startedwrotedied" are in the simple past tense.
Notice that:
  • livedstarted,died are regular past forms.
  • was, wrote are irregular past forms.

Regular verbs:
The verbs "lived, started, died" are regular past forms. The rule is the following:
Verb + ed
Examples:
The infinitive
The simple past
live
lived
start
started
die
died
visit
visited
play
played
watch
watched
phone
phoned
marry
married

Irregular verbs:
The verbs "waswrote" are irregular past forms. "Was" is the simple past of "to be"; "wrote" is the simple past of "write".
More on the simple past of "to be" here.
There is no rule for these verbs. You should learn them by heart.
The infinitive
The simple past
be
was/were
write
wrote
come
came
do
did
meet
met
speak
spoke
As you can see we can not predict the simple past forms of these verbs. They are irregular. You should learn them by heart. Here is a list of irregular verbs.

The forms of the simple past:
The Affirmative form of the simple past:
I, you, he, she, it, we, they
played.
wrote
did.

Examples:
  • played tennis with my friends yesterday.
  • finished lunch and I did my homework.
The interrogative form of the simple past:
Did
I, you, he, she, it, we, they
Play?
write
do?

Examples:
  • Did you play basketball yesterday?
  • Did you watch television?
  • Did you do the homework?
The negative form of the simple past:
I, you, he, she, it, we, they
did not/didn't
play
write
do
  • didn't like the food in the wedding last Saturday.
  • didn't eat it.
Remember:
didn't is the short form of did not. You can say either:
  • did not play basketball, or
  • didn't play basketball. 
The simple past tense of the verb to be:
This page will present the simple past tense of the verb to be:
  • its form
  • and its use.
The affirmative form:
I, he, she, it
was.
you, we, they
were.

Examples:
  • was in London in 1999.
  • Pam was in London in 1999, too.
  • We were together.
  • She was my girlfriend.
The interrogative form:
Was
I, he, she, it?
Were
you, we, they?

Examples:
  • Were you in London last year?
  • Was Pam with you?
  • Were you together?
The negative form:
I, you, he, she
was not.
wasn't.
You, we, they
were not.
weren't.

Examples:
  • wasn't in Paris in 1999.
  • Pam wasn't in Paris in 1999.
  • We weren't in Paris.
B. Past Contionous Tense
The past continuous, also called past progressive, is used to refer to an action that was continuous (i.e. an action that was going on) at a particular time in the past.
This page will present the form and the use of the past continuous (progressive.)
(More on the present continuous / progressive)
Before you continue the lesson, read the following passage and try to see how the verbs in bold are formed and used.
Yesterday, Liza and Jim played tennis. They began at 10:00 and finished at 11:30.
So at 11:00, they were playing tennis.
They were playing="they were in the middle of playing." They had not finished yet.
Was/were playing is the past continuous.

The form of the past continuous:
The past continuous is formed as follows:
to be in the simple past
+ verb
+ ing

The affirmative form:
I, he, she, it
was
playing.
you, we, they
were

Examples:
  • Yesterday evening I was watching a film, when someone knocked on the door.
  • This morning I was revising my lessons when my father came in.
  • Jim and Liza were playing tennis yesterday at 11:00.
The interrogative form:
Was
I, he, she, it
Playing?
were
you, we, they

Examples:
  • What were you doing yesterday evening?
  • And what was your mother doing?
  • Where were you going, this morning at 7:30?
  • What were Jim and Liza doing?
The negative form:
I, he, she, it
was not / wasn't
playing.
you, we, they
were not / weren't

Examples:
  • wasn't reading a book yesterday evening; I was watching a film.
  • My mother wasn't preparing dinner; she was working on the computer.
  • We weren't playing cards.
The use of the past continuous:
  • We use the past continuous to say that somebody was in the middle of doing something at a certain time in the past.
    Example:
    "This time yesterday, I was doing my homework."
  • We use the past continuous to say that something happened in the middle of something else:
    Example:
    "Bob burnt his hand when he was cooking dinner yesterday"
     "While I was working in the garden, I hurt my back."
Remember:
  • "Wasn't playing" and "weren't playing" are the short forms of "was not playing" and "were not playing"
C. Past Perfect Tense
Form of the past perfect simple:
Had
Past Participle Form

Affirmative
Negative
Interrogative
I had worked.
I had not worked.
had I worked?
You had worked.
You had not worked.
had you worked?

NOTE:
I had not worked = I hadn't worked
I had worked = I'd worked

Use of the past perfect simple:
Use the past perfect tense to show an action that was completed prior to another action that took place in the past.

Examples:
  •  "President Lincoln had attended the theater regularly before his assassination."
  •  "They had had lunch when I arrived."
4. Future Tense

A. The Simple Future
This page will present the simple future tense:
  • its form
  • and its use.
The forms of the simple future:
The simple future is formed as follows:
will / 'll + verb
will = 'll

The affirmative form of the simple future:
I, you, he, she, it, we, they
will / ''ll
go.

Examples:
  • I think I'll buy a new computer.
  • will open the door. Someone is ringing the bell.
The interrogative form of the simple future:
Will
I, you, he, she, it, we, they
go?

Examples:
  • Will you buy a computer?
  • Will you go to the party?
The negative form of the simple future:
I, you, he, she, it, we, they
will not
go.
won't
will not = won't

Examples:
  • will not stay at home if I finish the homework.
  • won't visit Big Ben if I go to London.
The use of the simple future:
  • We use the simple future for instant decisions.
    Example: "I've left the door open; I'll close it."
  • We use the simple future , when we predict a future situation:
    Example: "She'll pass the exam. She's hardworking"
  • We use the simple future with: "I (don't) think...", "I expect...", "I'm sure...", "I wonder...", "probably".
    Example: "It will probably rain tonight" , "I wonder what will happen?
  • We use the simple future in conditional sentences type one. (More on conditional sentences here):
    Example: "If I have enough time, I'll watch the film."
Things to remember:
1. We don't use the simple future to say what somebody has already decided or arranged to do in the future. We use instead either the present continuous or "going to + verb" (Future plan) :
  • Ann is traveling to New York next week. (NOT, "Ann will travel ")
  • Are you going to watch television? (NOT "will you watch").
2. You can use shall instead of will for I and we:
  • shall play football.(Or, I will play ...)
  • We shall play football. (Or, we will play ...)
3. 'll is the short form of will. You can say either:
  • will go, or
  • 'll go.
4. Won't is the short form of will not. You can say either:
  • will not go, or
  • won't go.
B. Future Progressive
The future progressive tense is formed by adding will be to the ing form (gerund form) of the main verb.
will
be
verb+ing

Affirmative:
I will/'ll be watching TV.

Negative
I will not/won't be watching a football match.

Interrogative
Will you be watching TV?

NOTE:
will be watching = 'll be watching
will not be watching = won't be watching

Use of the future progressive

Future progressive tense is used to indicate action which will be taking place at some time in the future.

Examples
  • will be watching a football match next Sunday afternoon.
  • We'll be working on our project this morning.. 
  • When you arrive, I'll be sleeping 
  • will be leaving in a few minutes.
  • We will be working tomorrow morning.
C. Future Perfect Simple
Form of the future perfect simple:
will
have
past participle

Affirmative
Negative
Interrogative
I will / 'll have finished.
I will not / won't have finished.
will you have finished?

NOTE:
I will have finished = I'll have finished
I will not have finished = I won't have finished

Examples:
  • will have finished my English homework by the time my mother arrives.
  • Will you have finished your English homework by the time your mother arrives?
Use of the simple future simple:

The Future Perfect shows that something will occur before:
  1. another action occurs in the future
  2. or before a specific time in the future.
Examples:
  • By the end of this weekend, I will have revised my lessons.
  • By the time her husband arrives home, she will have prepared dinner.
  • won't have finished this task by the end of June
D. Future Perfect Continuous (progressive)
Form of the simple future continuous:
will
have
been
verb+ing

Affirmative
Negative
Interrogative
I will have been teaching.
I will not/won't have been teaching.
will you have been teaching?

NOTE:
I will have been teaching = I'll have been teaching
I will not have been teaching = I won't have been teaching

Examples:
  • will have been teaching for more than 35 years when I retire.
  • Will you have been teaching for more than 35 years when you retire?
Use of the future perfect continuous:
It is used to show that an action will continue up until a particular event or time in the future. "For five minutes," and "for two weeks," are all durations which can be used with the Future Perfect Continuous.

Examples:
  • She will have been working for over 8 hours by the time her children arrive. .
  • He will have been studying English for three years next month.
ReadmoreUnit 4

Unit 3

1. Asking someone's job or occupation
    Question :

  • What Do you do?
  • What does he/she do?
  • What do they do for living?
  • What is your job/occupation?
  • Do you work?
  • What do you do (in the departement)?
     Answer :

  • I work as a lawyer
  • He/she is a colloge student
  • They are fashion designers
  • I'm a student
  • Yes, I'm a technician
  • I'm on the market research side
2. Telling about people's educational background
    Asking someone's educational background:

  • When did you graduate from junior high school?
  • What subject did you like when studied at networking technical program?
  • Did you attend a seminar about CCNA course?
  • What program study did you take when you studied at vocational school?
     Responses:

  • I graduated from my junior high school last year
  • I liked LAN/WAN installation
  • Yes, i attended the seminar
  • I took management and business study program
3.The Simple Present Tense

This page will present the simple present tense:
  • its form
  • and its use.
Before you continue the lesson read the following passage and try to see how the verbs are formed and used.
James is a taxi driver. He drives a taxi. But on Sundays he doesn't drive his taxi. He stays at home.
The verb bedrivestay are in the simple present.
(more on the simple present of the verb to be)
The forms of the simple present
The affirmative form of the simple present:
I, you, we, they
play.
He, she, it
plays.
Remember the verbs in the third person singular (he,she and it) always take an "s". For example, "he plays, she sings,it works..."
Examples:
  • Nancy and James speak good German.
  • Nancy works in a restaurant downtown.
  • The children play in the garden every weekend.
The interrogative form of the simple present:
Do
I, you, we, they
play?
Does
he, she, it
Examples:
  • Do you speak good German?
  • Does Nancy work in a restaurant downtown?
The negative form of the simple present:
I, you, we,they
do not
play.
don't
He, she, it
does not
doesn't
Examples:
  • No, I don't speak German.
  • No, she doesn't work in a restaurant downtown
The use of the simple present:
The simple present is used:
  • to give your opinion - I like ice cream. I don't like spicy food.
  • to talk about schedules - The library opens at eight. It doesn't open at 7.
  • to talk about daily habits (routine actions)- Sara eats a cheese for breakfast every day. She doesn't eat cereal.
  • to give facts - The earth circles the sun. The moon doesn't circle the sun.
The spelling of the third person singular form of the simple present:
All the verbs take an "s" in the simple present when conjugated in the third person singular (he, she, it) form:
Examples:
  • I visit my parents every summer holiday. But my wife visits her parents every weekend.
  • My brother meets his girlfriend everyday.
So the rule is:
He / she / it + Verb + S
There are however some special cases. Here are the spelling rules:
Silent e
Vowel + y
Consonant + y
Verbs ending in o
Verbs ending in szshtchch
close = closes
note = notes
play = plays
say = says
study = studies
marry = marries
go = goes
do = does
miss = misses
buzz = buzzes
hatch = hatches
finish = finishes
teach = teaches 
Examples:
  • She drives to work every morning.
  • He says he plays football on the weekends
Exception:
  • The verb to have changes its forms as follows:
    have two sisters and two brothers. But she has one sister and two brothers.
    have = he / she / it has
Things to remember about the simple present:
1.In the interrogative forms, we use "do" or "does".
  • "Do you like the house?"
  • "Does she go to school?"
2; Verbs never take an "s" in the the negative and interrogative forms.
  • "Does he speak German?"
  • "Do they play soccer?"
  • She doesn't like ice cream.
3. don't is the short form of "do not". You can say either:
  • do not speak Italian, or
  • don't speak Italian.
4.doesn't is the short form of "does not". you can say either:
  • He does not listen to jazz music, or
  • He doesn't listen to jazz music.
The verb to be
The verb to be is the most important verb in the English language.  It is difficult to use because it is an irregular verb in almost all of its forms.  In the simple present tense, to be is conjugated as follows:
Affirmative forms of the verb to be
Subject Pronouns
Full Form
Contracted Form
I
am
'm
you
are
're
he/she/it
is
's
we
are
're
you
are
're
they
are
're
Interrogative forms of the verb to be:
Am
I?
Are
you?
Is
he/she/it?
Are
we?
Are
you?
Are
they?
Negative Forms of the verb to be:
Subject Pronouns
Full Form
Contracted Form
I
am not
'm not
you
are not
aren't
he/she/it
is not
isn't
we
are not
aren't
you
are not
aren't
they
are not
aren't
Examples:
  • Is Brad Pitt French?
  • No, he isn't. He's American.
  • What about Angelina Joli? Is she American, too?
  • Yes, she is. She is American.
  • Are brad Pitt and Angelina Joli French?
  • No, They aren't. They are American.
4. Simple Past Tense

This page will present the simple past tense:
  • its form
  • and its use.
Before you continue the lesson read the following passage and try to see how the verbs are formed and used.
Wolfgang Amadeus Mozart was an Austrian musician and composer. He lived from 1756 to 1791. He startedcomposing at the age of five years old and wrote more than 600 pieces of music. He was only 35 years old when he died.
The verbs "waslived,startedwrotedied" are in the simple past tense.
Notice that:
  • livedstarted,died are regular past forms.
  • was, wrote are irregular past forms.
Regular verbs:
The verbs "lived, started, died" are regular past forms. The rule is the following:
Verb + ed
Examples:
The infinitive
The simple past
live
lived
start
started
die
died
visit
visited
play
played
watch
watched
phone
phoned
marry
married
For the spelling of the -ed forms click here.
Irregular verbs:
The verbs "waswrote" are irregular past forms. "Was" is the simple past of "to be"; "wrote" is the simple past of "write".
There is no rule for these verbs. You should learn them by heart.
The infinitive
The simple past
be
was/were
write
wrote
come
came
do
did
meet
met
speak
spoke
As you can see we can not predict the simple past forms of these verbs. They are irregular. You should learn them by heart. Here is a list of irregular verbs.
The forms of the simple past:
The Affirmative form of the simple past:
I, you, he, she, it, we, they
played.
wrote
did.
Examples:
  • played tennis with my friends yesterday.
  • finished lunch and I did my homework.
The interrogative form of the simple past:
Did
I, you, he, she, it, we, they
Play?
write
do?
Examples:
  • Did you play basketball yesterday?
  • Did you watch television?
  • Did you do the homework?
The negative form of the simple past:
I, you, he, she, it, we, they
did not/didn't
play
write
do
  • didn't like the food in the wedding last Saturday.
  • didn't eat it.
Remember:
didn't is the short form of did not. You can say either:
  • did not play basketball, or
  • didn't play basketball.

The simple past tense of the verb to be:
This page will present the simple past tense of the verb to be:
  • its form
  • and its use.
The affirmative form:
I, he, she, it
was.
you, we, they
were.
Examples:
  • was in London in 1999.
  • Pam was in London in 1999, too.
  • We were together.
  • She was my girlfriend.
The interrogative form:
Was
I, he, she, it?
Were
you, we, they?
Examples:
  • Were you in London last year?
  • Was Pam with you?
  • Were you together?
The negative form:
I, you, he, she
was not.
wasn't.
You, we, they
were not.
weren't.
Examples:
  • wasn't in Paris in 1999.
  • Pam wasn't in Paris in 1999.
  • We weren't in Paris.
ReadmoreUnit 3