Laporan Aktivitas Belajar
|
Nama
Lengkap
|
:
|
Nurtan
|
|
No.
Registrasi
|
:
|
11063511313
|
|
Alamat
email
|
:
|
nurtan.bungalon@gmail.com
|
|
Opsi
|
:
|
System
jaringan dan website
|
|
Tahap
Perkuliahan ke-
|
:
|
Laporan
aktivitas belajar tahap 27
|
|
USBJJ
|
:
|
Smk n 1
bungalon
|
|
Aktivitas Belajar
Mandiri
|
|
Kolom
di bawah ini berisi uraian singkat aktivitas belajar rutin saya selama Tahap
Perkuliahan ini.
|
|
-
Dan mengcopy tugas yang keluar dengan mengcopy
paste di word dan save file
-
Mencari refrensi di google mengenai cara menginstall XAMPP serta membuat membuat video dokumentasi mengenai cara
menginstal XAMPP dan hello word di PHP
DAN meng-uplod video ke www.youtube.com
-
Membuat laporan aktifitas tahap tahap 27s
-
Memposting laporan aktifitas belajar dengan
meng copy paste di www.blogger.com dengan
mencantumkan link video yang telah saya uplod sebelumnya di you tu be
-
Mengahadiri perkuliahan yang diadakan setiap hari minggu di USBJJ
SMK N 1 BENGALON
-
Mengumpulkan tugas di struktur USBJJ
-
Mengisi absen .
|
|
Kolom
di bawah ini berisi uraian singkat aktivitas saya di USBJJ selama Tahap
Perkuliahan ini.
|
|
Hari
ini tanggal 13-10-2013 hari saya tidak mengikuti kegiatan di USBJJ karena
sibuk untuk persiapan hari lebaran idul adha 1432 h
|
|
Kolom
di bawah ini berisi uraian singkat aktivitas saya di USBJJ selama Tahap
Perkuliahan ini
|
|
Yaitu
tidak terlalu memahami tentang bagaimana cara menginstal configurasi XAMPP
secara online.dan membuat hello word dengan PHP hanya sedkit memahami.
|
|
Rangkuman
Materi Perkuliahan
|
||||||||||||||||||||||||||||||||||||||||||||
|
Kolom di bawah ini berisi rangkuman materi
perkuliahan yang telah saya pelajari dan pahami selama Tahap Perkuliahan ini.
|
||||||||||||||||||||||||||||||||||||||||||||
|
Cara install XAMPP
Using the installer version is the
easiest way to install XAMPP.
After the installation is
complete, you will find XAMPP under Start | Programs | XAMPP. You can use the
XAMPP Control Panel to start/stop all server and also install/uninstall
services.
The XAMPP control panel for
start/stop Apache, MySQL, FilaZilla & Mercury or install these server as
services.
Unzip the zip archives into the
folder of your choice. XAMPP is extracting to the subdirectory
"[Ziel]\xampp" below the selected target directory. Now start the
file "setup_xampp.bat", to adjust the XAMPP configuration to
your system.
If you choose a root directory
"C:\" as target, you must not start "setup_xampp.bat".
Like with the installer version,
you can now use the "XAMPP Control Panel" for additional tasks.
If you extract XAMPP in a top
level folder like "C:\" or "D:\", you can start most
servers like Apache or MySQL directly without execution of the file
"setup_xampp.bat".
Not using the setup script, or
selecting relative paths in the setup script, is preferred if you are
installing XAMPP on a usb drive. Because on each pc such a drive can have an
other drive letter. You can switch from absolute to relative paths at any
time with the setup script.
The universal control center is
the "XAMPP Control Panel" (thanks
www.nat32.com). It is started with:
\xampp\xampp-control.exe
As you know this from older XAMPP
versions, you can also use some batchfiles to start/stop the servers:
Apache & MySQL start:
\xampp\xampp_start.exe
Apache & MySQL stop:
\xampp\xampp_stop.exe
Nur Apache start:
\xampp\apache_start.bat
Nur Apache stop:
\xampp\apache_stop.bat
Nur MySQL start:
\xampp\mysql_start.bat
Nur MySQL stop:
\xampp\mysql_stop.bat
Mercury Mailserver start:
\xampp\mercury_start.bat
Mercury Mailserver stop:
\xampp\mercury_stop.bat
FileZilla Server start:
\xampp\filezilla_start.bat
FileZilla Server stop:
\xampp\filezilla_stop.bat
Test
After starting of Apache (and
MySQL), go to the address
http://localhost/ or
http://127.0.0.1/ in your browser and examine all of the XAMPP examples and
tools.
Each server in XAMPP you can
install also as Windows service:
Apache service install:
\xampp\apache\apache_installservice.bat
Apache service uninstall:
\xampp\apache\apache_uninstallservice.bat
MySQL service install:
\xampp\mysql\mysql_installservice.bat
MySQL service uninstall:
\xampp\mysql\mysql_uninstallservice.bat
FileZilla service (un)install:
\xampp\filezilla_setup.bat
Mercury:
No service installation available!
With a new XAMPP version, there is
normally a upgrade package too. Additionally, we have sometimes small patches
between the releases.
An upgrade is always
problematically and there can be errors in the upgrade process. Because of
this, you should always make a backup from your XAMPP folder before you
upgrade it. werden.
We are trying to adjust your
configuration files during the upgrade progress, if necessary. Especially if
a new XAMPP have a lot of changes compared to the old one, we are providing
no upgrade package for security reasons. Sorry.
As with the add-ons, install the
upgrade directly into the XAMPP directory (e.g. "C:\xampp"). And
you must also start the setup script "setup_xampp.bat".
As mentioned
at another place, XAMPP is not meant for production use but only for
developers in a development environment. XAMPP is configured is to be as open
as possible and to allow the web developer anything he/she wants. For
development environments this is great but in a production environment it
could be fatal.
Here a list of missing security in
XAMPP:
All points can be a huge security
risk. Especially if XAMPP is accessible via network and people outside your
LAN. It can also help to use a firewall or a (NAT-) router. In case of a
router or firewall, your pc is normally not accessible via network. It is up
to you to fix these problems. As a small help there is the "XAMPP Security
console".
Please secure XAMPP before
publishing anything online. A firewall or an external router are only
sufficient for low levels of security. For slightly more security, you can
run the "XAMPP Security console" and assign passwords.
If you want have your XAMPP
accessible from the internet, you should go to the following URI which can
fix some problems:
http://localhost/security/
With the security console you can
set a password for the MySQL user "root" and phpMyAdmin. You can
also enable a authentication for the XAMPP demopages.
\
This web based tool does not fix
any additional security issues! Especially the FileZilla FTP server and the
Mercury mail server you must secure yourself. If you don't need these servers,
don't start them. A server which is not started, is very secure!
If you installed XAMPP using the
installer version, please use the Uninstaller! The Uninstaller will delete
all XAMPP entries from your registry and it will uninstall some installed
services included with XAMPP. We highly recommend that you use the Uninstall
program for removing XAMPP installations from the Installer version.
Please backup all the data you
want to keep before uninstalling XAMPP.
Shut down all XAMPP servers and
exit all panels. If you installed any services, uninstall and shut them down
too. Now simply delete the entire folder where XAMPP is installed. There are
no registry entries and no environment variables to clean up... just simply
good, clean code!
XAMPP Lite (means
"light" as in "light-weight") is a smaller bundle of
XAMPP components, which is recommended for quick work using only PHP and MySQL.
Some servers or tools such as Mercury Mail and FileZilla FTP are missing in
the Lite version.
Problems? See also:
»FAQ - XAMPP for Windows« The main directory for all WWW documents is \xampp\htdocs. If you put a file "test.html" in this directory, you can access it with the URI "http://localhost/test.html".
And "test.php"? Just use
"http://localhost/test.php". A simple testscript can be:
<?php echo 'Hallo world'; ?>
A new subdirectory for your web?
Just make a new directory (e.g. "new") inside the directory
"\xampp\htdocs" (best without whitespaces and only ASCII), create a
test file in this directory and access it with "http://localhost/new/test.php".
Further
specifics:
HTML:
Executable: \xampp\htdocs
Allowed endings: .html .htm => basic package
SSI:
Executable: \xampp\htdocs
Allowed endings: .shtml => basic package
CGI:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .cgi => basic package
PHP:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .php => basic package
Perl:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .pl => basic package
Apache::ASP Perl:
Executable: \xampp\htdocs
Allowed endings: .asp => basic package
JSP Java:
Executable: \xampp\tomcat\webapps\java (e.g.)
Allowed endings: .jsp => Tomcat add-on
Servlets Java:
Executable: \xampp\tomcat\webapps\java (e.g.)
Allowed endings: .html (u.a) => Tomcat add-on
Yes, that's possible with XAMPP.
After moving of the XAMPP directory, jou must execute "setup_xampp.bat".
The paths in the configuration files will be adjusted with this step.
If you have installed any server
as Windows service, you must first remove the Windows service, and after the
moving you can install the service again.
Warning:
The configuration files from your own scripts, like for the software phpBB, are not adjusted. This task is up to you. But it's possible to write a "plug-in" the installer. With such a plug-in, the installer can adjust such files too..
The standard filename for the
Apache function "DirectoryIndex" is "index.html" or
"index.php". Every time you are just browsing to a folder (e.g.
"http://localhost/xampp/"), and Apache can find such a file, Apache
is displaying this file instead of a directory listing.
Almost all settings in XAMPP you
can change with configuration files. Just open the file in a textedit and
change the setting you want. Only FileZilla and Mercury should be configured
with the application config tool.
Problems? See also:
»FAQ - XAMPP for Windows« Still questions? See also: »Apache Friends Support Forum«
Program
Hello World Dengan PHP
Untuk memulai membuat program dengan php atau dengan bahasa pemrograman lainnya, yang biasa diajarkan adalah membuat tampilan hello world dengan bahasa pemrograman yang dipilih. Sekarang kita akan mencoba membuat program hello world juga dengan php. Tapi sebelum mulai belajar php, kita harus mempersiapkan beberapa software
ini adalah bahasa yang akan kita gunakan. Bahasa
Pemrograman PHP
berjalan dengan menggunakan browser karena dia adalah bahasa pemrograman
untuk web
webserver adalah sebuah software yang digunakan sebagai server web. Dengan
adanya protocol ini, maka komputer kita bisa dibuka dari komputer lain atau
komputer kita sendiri dengan protokol http. Webserver yang paling
terkenal adalah apache. Hal ini disebabkan karena apache termasuk open source
dan free.
untuk yang satu ini sebenarnya tidak wajib untuk pemula.
Tapi untuk tingkat lanjut kita membutuhkan database server untuk menyimpan
data yang banyak. Database server yang paling terkenal dan selalu berdampingan
dengan php adalah mysql. Hal
ini juga disebabkan karena mysql bisa didownload secara gratis.
Silakan download ketiga software itu di situs resminya masing-masing. Setelah itu silakan diinstall. Tapi jika tidak mau ribet dan repot menginstall 3 software sekaligus, ada baiknya anda menginstall xampp. Keterangan lebih lanjut, tentang xampp dan cara instalasinya ada di instalasi xampp jika sudah menginstall software-software di atas, silakan ketik code di bawah ini. Boleh menggunakan notepad maupun editor php lainnya seperti phpedit, macromedia dreamweaver dan editplus. Dalam contoh ini jika kita menggunakan notepad++. Contoh yang kita berikan ini termasuk ke dalam materi kuliah pemrograman web simpan di documentroot apache dan simpan dengan nama test.php.
contoh coding hello world dengan
php
Documentroot apache di komputer anda ada di e:/htdocs dan kita meletakkan
program di dalam folder e:/htdocs/coba2
Sehingga untuk mengaksesnya anda menggunakan alamat http://localhost/ooba2/test.php Hasilnya seperti ini. Keterangan program per baris 1. code pembuka php. Setiap program php harus diapit di antara tag pembuka dan tag penutup php ada beberapa pasangan tag yang bisa digunakan <?php ?> <? ?> <script language=’php’> </script> <% %> 2. perintah echo digunakan untuk menampilkan tulisan di layar. Dalam contoh saya akan menampilkan tulisan hello world!! (tanpa tanda kutip) setiap statement atau perintah dalam php harus diakhiri dengan titik koma (;) 3. sama dengan baris ke2, tapi yang dicetak adalah turun satu baris. tag <br> adalah tag html yang digunakan untuk turun ke baris selanjutnya sama dengan jika kita menggunakan ENTER saat sedang mengetik 4. sama dengan baris ke2, tapi yang dicetak adalah kata PHP 5. code penutup php
.
,
'
|
|
Video
Dokumentasi
|
|
Pada
kolom ini berisi cuplikan gambar (screenshots)
dari Video Dokumentasi yang telah saya buat pada Tahap Perkuliahan ini.
|
|
|
|
|
|
Kolom
di bawah ini merupakan uraian yang menceritakan isi Video Dokumentasi yang
telah saya buat.
|
|
Yang
pertama yaitu menceritakan tentang bagaimana cara mendownlod XAMPP dan
membuat hello word dengan PHP.
-Yang
pertama kita download sofwarenya dengan mengetik alamat apachefrends.org
-setelah
selesai di download selanjutnya kita install XAMPP
-untuk
membuat HELLO WORD di PHP,terlebih dahulu kita install PHP eclipse.
-setelh
peroses instalasi selesai selanjutnya kita membuat hello word
-yaitu
di dalam kotak php explorer kita klik kanan ,selanjutnya kita membuat file
project yaitu hello word selanjut nya,kita pilih file PHP,
-Kemudian
kita klik
1.<?php
2.echo”hello word!!!!!”;
3.echo”<br>”;
4.echo” php”;
5.?>
|
|
Kolom
di bawah ini berisi link yang menampilan
Video Dokumentasi yang telah saya upload di Youtube.
|
|
Menginstall XAMPP dan membuat hello word dengan PHP.
http://youtu.be/KUrnSn7lXkk
|









