You are on page 1of 8

xampp

web server : apache2


database : mysql
php
ftp server : upload ke suatu web

phpmyadmin untuk manage database

cd : change directory
/ diawal masuk ke dir terluar

$ user, # root

wget : perintah download dari console


tar : mengekstrak file
a2enmod rewrite : mengaktifkan modul rewrite
contoh : detik.com/read/2013/03/15/../pengacara-bantah-raffi
modul rewrite dapat mengubah id=9 menjadi seperti diatas
merewrite dengan rule yang udah dibuat ke bentuk yang mudah dikenali
- gampang dikenal
- seo friendly
en : menaktifkan, dis : menonaktifkan
curl : tapi mengakses tapi background proses
/etc : me restart, ada / didepan karena berada diluar

root@debian:/# apt-get install apache2


root@debian:/# apt-get install mysql-server
root@debian:/# apt-get install phpmyadmin

root@debian:/# apt-get install mysql-server

root@debian:/# apt-get install mysql-server


student@debian:~$ su
Password:
root@debian:/home/student# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-common
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 478 kB of archives.
After this operation, 2,683 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
0% [Connecting to kebo.vlsm.org (2001:df0:a8:85::18)]
Get:1 http://kebo.vlsm.org/debian/ squeeze/main apache2-utils i386 2.2.16-6+squeeze10 [166 kB]
Get:2 http://kebo.vlsm.org/debian/ squeeze/main apache2.2-common i386 2.2.16-6+squeeze10 [309
kB]
Get:3 http://kebo.vlsm.org/debian/ squeeze/main apache2-mpm-worker i386 2.2.16-6+squeeze10
[2,230 B]
Get:4 http://kebo.vlsm.org/debian/ squeeze/main apache2 i386 2.2.16-6+squeeze10 [1,392 B]
Fetched 478 kB in 21s (22.7 kB/s)
Selecting previously deselected package apache2-utils.
(Reading database ... 115996 files and directories currently installed.)
Unpacking apache2-utils (from .../apache2-utils_2.2.16-6+squeeze10_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.16-6+squeeze10_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.16-6+squeeze10_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.16-6+squeeze10_i386.deb) ...
Processing triggers for man-db ...
Setting up apache2-utils (2.2.16-6+squeeze10) ...
Setting up apache2.2-common (2.2.16-6+squeeze10) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.16-6+squeeze10) ...
Starting web server: apache2.
Setting up apache2 (2.2.16-6+squeeze10) ...
root@debian:/home/student# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16
libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common
mysql-server-5.1 mysql-server-core-5.1
Suggested packages:
libipc-sharedcache-perl libterm-readkey-perl tinyca
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16
libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common mysql-server
mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.3 MB of archives.
After this operation, 55.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
0% [Connecting to kebo.vlsm.org (2001:df0:a8:85::18)]
0% [Connecting to kebo.vlsm.org (2001:df0:a8:85::18)]
0% [Connecting to kebo.vlsm.org (2001:df0:a8:85::18)]
Get:1 http://kebo.vlsm.org/debian/ squeeze/main mysql-common all 5.1.49-3 [70.9 kB]
Get:2 http://kebo.vlsm.org/debian/ squeeze/main libnet-daemon-perl all 0.43-1 [46.6 kB]
Get:3 http://kebo.vlsm.org/debian/ squeeze/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:4 http://kebo.vlsm.org/debian/ squeeze/main libdbi-perl i386 1.612-1 [879 kB]
Get:5 http://kebo.vlsm.org/debian/ squeeze/main libmysqlclient16 i386 5.1.49-3 [1,935 kB]
Get:6 http://kebo.vlsm.org/debian/ squeeze/main libdbd-mysql-perl i386 4.016-1 [138 kB]
Get:7 http://kebo.vlsm.org/debian/ squeeze/main mysql-client-5.1 i386 5.1.49-3 [9,605 kB]
Get:8 http://kebo.vlsm.org/debian/ squeeze/main mysql-server-core-5.1 i386 5.1.49-3 [3,937 kB]
Get:9 http://kebo.vlsm.org/debian/ squeeze/main mysql-server-5.1 i386 5.1.49-3 [6,528 kB]
Get:10 http://kebo.vlsm.org/debian/ squeeze/main libhtml-template-perl all 2.9-2 [65.9 kB]
Get:11 http://kebo.vlsm.org/debian/ squeeze/main mysql-server all 5.1.49-3 [65.4 kB]
Fetched 23.3 MB in 23s (1,012 kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 116462 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.1.49-3_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.612-1_i386.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.49-3_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.49-3_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.49-3_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.49-3) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 116836 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.49-3_i386.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-2_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.49-3_all.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.612-1) ...
Setting up libmysqlclient16 (5.1.49-3) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mysql-client-5.1 (5.1.49-3) ...
Setting up mysql-server-core-5.1 (5.1.49-3) ...
Setting up mysql-server-5.1 (5.1.49-3) ...
Stopping MySQL database server: mysqld.
130315 16:58:32 [Note] Plugin 'FEDERATED' is disabled.
130315 16:58:32 InnoDB: Started; log sequence number 0 44233
130315 16:58:32 InnoDB: Starting shutdown...
130315 16:58:37 InnoDB: Shutdown completed; log sequence number 0 44233
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-2) ...
Setting up mysql-server (5.1.49-3) ...
root@debian:/home/student# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-prefork dbconfig-common javascript-common libapache2-mod-php5
libgd2-xpm libjs-mootools libmcrypt4 libonig2 libqdbm14 php5-cli php5-common
php5-gd php5-mcrypt php5-mysql php5-suhosin wwwconfig-common
Suggested packages:
php-pear libgd-tools libmcrypt-dev mcrypt postgresql-client apache
apache-ssl
The following packages will be REMOVED:
apache2-mpm-worker libgd2-noxpm
The following NEW packages will be installed:
apache2-mpm-prefork dbconfig-common javascript-common libapache2-mod-php5
libgd2-xpm libjs-mootools libmcrypt4 libonig2 libqdbm14 php5-cli php5-common
php5-gd php5-mcrypt php5-mysql php5-suhosin phpmyadmin wwwconfig-common
0 upgraded, 17 newly installed, 2 to remove and 0 not upgraded.
Need to get 12.2 MB of archives.
After this operation, 38.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://kebo.vlsm.org/debian/ squeeze/main apache2-mpm-prefork i386 2.2.16-6+squeeze10
[2,286 B]
Get:2 http://kebo.vlsm.org/debian/ squeeze/main libgd2-xpm i386 2.0.36~rc1~dfsg-5 [227 kB]
Get:3 http://kebo.vlsm.org/debian/ squeeze/main dbconfig-common all 1.8.46+squeeze.0 [477 kB]
Get:4 http://kebo.vlsm.org/debian/ squeeze/main wwwconfig-common all 0.2.1 [22.7 kB]
Get:5 http://kebo.vlsm.org/debian/ squeeze/main javascript-common all 7 [3,810 B]
Get:6 http://kebo.vlsm.org/debian/ squeeze/main libonig2 i386 5.9.1-1 [134 kB]
Get:7 http://kebo.vlsm.org/debian/ squeeze/main libqdbm14 i386 1.8.77-4 [147 kB]
Get:8 http://kebo.vlsm.org/debian/ squeeze/main php5-common i386 5.3.3-7+squeeze14 [549 kB]
Get:9 http://kebo.vlsm.org/debian/ squeeze/main libapache2-mod-php5 i386 5.3.3-7+squeeze14 [2,890
kB]
Get:10 http://kebo.vlsm.org/debian/ squeeze/main libjs-mootools all 1.2.4.0~debian1-1 [249 kB]
Get:11 http://kebo.vlsm.org/debian/ squeeze/main libmcrypt4 i386 2.5.8-3.1 [76.5 kB]
Get:12 http://kebo.vlsm.org/debian/ squeeze/main php5-cli i386 5.3.3-7+squeeze14 [2,859 kB]
Get:13 http://kebo.vlsm.org/debian/ squeeze/main php5-gd i386 5.3.3-7+squeeze14 [34.8 kB]
Get:14 http://kebo.vlsm.org/debian/ squeeze/main php5-mcrypt i386 5.3.3-7+squeeze14 [13.5 kB]
Get:15 http://kebo.vlsm.org/debian/ squeeze/main php5-mysql i386 5.3.3-7+squeeze14 [66.1 kB]
Get:16 http://kebo.vlsm.org/debian/ squeeze/main php5-suhosin i386 0.9.32.1-1 [80.8 kB]
Get:17 http://kebo.vlsm.org/debian/ squeeze/main phpmyadmin all 4:3.3.7-7 [4,351 kB]
Fetched 12.2 MB in 23s (512 kB/s)
Preconfiguring packages ...
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you requested:
apache2 depends on apache2-mpm-worker (= 2.2.16-6+squeeze10) | apache2-mpm-prefork (= 2.2.16-
6+squeeze10) | apache2-mpm-event (= 2.2.16-6+squeeze10) | apache2-mpm-itk (= 2.2.16-
6+squeeze10); however:
Package apache2-mpm-worker is to be removed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not installed.
(Reading database ... 116935 files and directories currently installed.)
Removing apache2-mpm-worker ...
Stopping web server: apache2 ... waiting .
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 116931 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.16-6+squeeze10_i386.deb) ...
Setting up apache2-mpm-prefork (2.2.16-6+squeeze10) ...
Starting web server: apache2.
dpkg: libgd2-noxpm: dependency problems, but removing anyway as you requested:
libgvc5 depends on libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>= 2.0.36~rc1~dfsg); however:
Package libgd2-noxpm is to be removed.
Package libgd2-xpm is not installed.
(Reading database ... 116935 files and directories currently installed.)
Removing libgd2-noxpm ...
Selecting previously deselected package libgd2-xpm.
(Reading database ... 116925 files and directories currently installed.)
Unpacking libgd2-xpm (from .../libgd2-xpm_2.0.36~rc1~dfsg-5_i386.deb) ...
Setting up libgd2-xpm (2.0.36~rc1~dfsg-5) ...
Selecting previously deselected package dbconfig-common.
(Reading database ... 116936 files and directories currently installed.)
Unpacking dbconfig-common (from .../dbconfig-common_1.8.46+squeeze.0_all.deb) ...
Selecting previously deselected package wwwconfig-common.
Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.1_all.deb) ...
Selecting previously deselected package javascript-common.
Unpacking javascript-common (from .../javascript-common_7_all.deb) ...
Selecting previously deselected package libonig2.
Unpacking libonig2 (from .../libonig2_5.9.1-1_i386.deb) ...
Selecting previously deselected package libqdbm14.
Unpacking libqdbm14 (from .../libqdbm14_1.8.77-4_i386.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package libjs-mootools.
Unpacking libjs-mootools (from .../libjs-mootools_1.2.4.0~debian1-1_all.deb) ...
Selecting previously deselected package libmcrypt4.
Unpacking libmcrypt4 (from .../libmcrypt4_2.5.8-3.1_i386.deb) ...
Selecting previously deselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package php5-mcrypt.
Unpacking php5-mcrypt (from .../php5-mcrypt_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.3.3-7+squeeze14_i386.deb) ...
Selecting previously deselected package php5-suhosin.
Unpacking php5-suhosin (from .../php5-suhosin_0.9.32.1-1_i386.deb) ...
Selecting previously deselected package phpmyadmin.
Unpacking phpmyadmin (from .../phpmyadmin_4%3a3.3.7-7_all.deb) ...
Processing triggers for man-db ...
Setting up dbconfig-common (1.8.46+squeeze.0) ...

Creating config file /etc/dbconfig-common/config with new version


Setting up wwwconfig-common (0.2.1) ...
Setting up javascript-common (7) ...
Setting up libonig2 (5.9.1-1) ...
Setting up libqdbm14 (1.8.77-4) ...
Setting up php5-common (5.3.3-7+squeeze14) ...
Setting up libapache2-mod-php5 (5.3.3-7+squeeze14) ...
Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2.
Setting up libjs-mootools (1.2.4.0~debian1-1) ...
Setting up libmcrypt4 (2.5.8-3.1) ...
Setting up php5-cli (5.3.3-7+squeeze14) ...

Creating config file /etc/php5/cli/php.ini with new version


update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-gd (5.3.3-7+squeeze14) ...
Setting up php5-mcrypt (5.3.3-7+squeeze14) ...
Setting up php5-mysql (5.3.3-7+squeeze14) ...
Setting up php5-suhosin (0.9.32.1-1) ...
Setting up phpmyadmin (4:3.3.7-7) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf

Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version

Creating config file /etc/phpmyadmin/config-db.php with new version


granting access to database phpmyadmin for phpmyadmin@localhost: success.
verifying access for phpmyadmin@localhost: success.
creating database phpmyadmin: success.
verifying database phpmyadmin exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
root@debian:/home/student# cd /var/www
root@debian:/var/www# ^C
root@debian:/var/www# pwd
/var/www
root@debian:/var/www# wget http://sinau.eepis-its.edu/~alioke/eyeos-2.5.tar.gz
--2013-03-15 17:17:10-- http://sinau.eepis-its.edu/~alioke/eyeos-2.5.tar.gz
Resolving sinau.eepis-its.edu... 2001:df0:a8:85::214, 202.9.85.214
Connecting to sinau.eepis-its.edu|2001:df0:a8:85::214|:80... failed: Connection timed out.
Connecting to sinau.eepis-its.edu|202.9.85.214|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27820727 (27M) [application/x-gzip]
Saving to: eyeos-2.5.tar.gz

100%[=======================================>] 27,820,727 6.95M/s in 4.1s

2013-03-15 17:17:35 (6.52 MB/s) - eyeos-2.5.tar.gz saved [27820727/27820727]

root@debian:/var/www# ls -l
total 27208
-rw-r--r-- 1 root root 27820727 Jun 10 2011 eyeos-2.5.tar.gz
-rw-r--r-- 1 root root 177 Mar 15 16:55 index.html
root@debian:/var/www# tar -xzfv eyeos-2.5.tar.gz
tar (child): v: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@debian:/var/www# tar -xzvf eyeos-2.5.tar.gz
.
.
. banyak

root@debian:/var/www# ls -l
total 27332
-rw-r--r-- 1 student student 36834 Mar 11 2010 Copying
drwxr-xr-x 10 student student 4096 Mar 15 17:28 eyeos
-rw-r--r-- 1 root root 27820727 Jun 10 2011 eyeos-2.5.tar.gz
-rw-r--r-- 1 student student 1150 Apr 27 2011 favicon.ico
-rw-r--r-- 1 root root 177 Mar 15 16:55 index.html
-rw-r--r-- 1 student student 4384 May 16 2011 index.php
drwxr-xr-x 3 student student 4096 Mar 15 17:28 install
-rw-r--r-- 1 student student 35181 Feb 6 2010 LICENSE
-rw-r--r-- 1 student student 864 Apr 11 2011 licensing.txt
drwxr-xr-x 6 student student 4096 May 16 2011 resource
-rw-r--r-- 1 student student 20610 May 3 2011 settings.php
root@debian:/var/www#

buka browser
http://localhost/install
ketika phpmyadmin tdk bisa dibuka maka ketikkan:
root@debian:/var/www# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@debian:/var/www# apt-get remove php5 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:/var/www#

You might also like