Ada banyak applikasi yang bisa dijadikan sebagai Server Website di komputer kita. Baik itu web
server di Windows XP ataupun OS lain seperti linux ( Ubuntu , Suse , dll). Oo...iya hampir lupa, satu
yang penting web server lokal ini adalah gratis karena kita tidak perlu sewa domain dan hositng.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
1.
2.
3.
4.
5.
6.
7.
Internet Information Service (IIS). IIS ini biasanya sebagai bawaan dari windows. Pada
umumnya digunakan pada windows 2000 server dan windows 2003. IIS ini menggunakan
bahasa ASP dan banyak dipadukan dengan database MSSQL. Bagi anda yang jago vb script , maka
ASP ini sangat cocok buat anda.
Apache. Ini biasanya untuk website dengan bahasa PHP dan dipadukan dengan
database MySQL. Software yang satu ini gratis.
Karena pertimbangan biaya maka banyak orang memakai Apache , PHP & MySQL untuk
membuat server website lokal. Dan juga di hostingan , rata-rata sudah menyediakan fasilitas PHP
& MySQL tersebut. Karena itu kita fokuskan topik kita ke web server ini saja.
Kita bisa download Apache , PHP dan MySql dari websitenya dan install satu -satu di komputer kita
untuk membuat server website lokal. Tapi ini lebih ribet. Ada beberapa pengembang yang sudah
menyediakan satu installer untuk paket tersebut ( Apache , PHP dan MySql ) , seperti :
XAMPP
WAMPP
DONGKRAK
Yang pernah saya coba dan saya pakai di komputer saya adalah XAMPP (basic package) version
1.6.7 untuk Windows. XAMPP ini cukup bagus dan fitur juga cukup lengkap. Berikut fitur - fitur dari
XAMPP :
Apache 2.2.9
MySQL 5.0.51b
PHP 5.2.6 + PHP 4.4.9 + PEAR
PHP-Switch win32 1.0 (please use the "php-switch.bat")
XAMPP Control Version 2.5 from www.nat32.com
XAMPP Security 1.0
SQLite 2.8.15
OpenSSL 0.9.8h
phpMyAdmin 2.11.7
ADOdb 4.98
Mercury Mail Transport System v4.52
FileZilla FTP Server 0.9.25
Webalizer 2.01-10
Zend Optimizer 3.3.0
eAccelerator 0.9.5.3 for PHP 5.2.6 (comment out in the php.ini)
Sebagian fungsi fitur ini saya juga belum begitu paham. Tapi yang penting adalah ada Apache , PHP
dan MySql , dimana ketiga inilah yang paling kita butuhkan untuk membuat lokal web server di
komputer kita.
Cara menginstall XAMPP ini juga mudah. Berikut cara cara install XAMPP menjadi web server di
komputer kita.
Download XAMPP di servernya ( http://www.apachefriends.org/en/xampp-windows.html)
Double klik pada file yang baru dodownload untuk unpack installer. Pilih folder pada level
tertinggi untuk tempat unpack file tersebut seperti E:\xampp atau C:\xampp atau folder yang
lainnya. Ingat jangan gunakan folder flash disk dan sejenisnya.
Buka folder tempat anda unpack sebelumnya.
Double klik setup_xampp.bat untuk install XAMPP
Cari dan double klik file xampp-control.exe untuk membuka setting XAMPP.
Disini anda bisa start dan stop Apache , MySQL server dan fitur lain. Untuk latihan ini saya
kira anda cukup start Apache , MySQL saja.
Buka browser anda dan ketik http://127.0.0.1 atau http://localhost maka server website
lokal anda akan terbuka.
Sampai disini anda sudah berhasil membuat komputer kita menjadi web server. Anda bisa
menggunakan phpMyAdmin untuk membuat database.
Copy kan web page anda ke ?:\xampp\htdocs atau buat subfolder dari htdocs untuk website anda.
Contoh : Jika anda buat subfolder "coba" maka dari browser anda akan diakses
dengan http://localhost/coba
Good Luck ;)
Baca Selengkapnya disini : http://hex-v.blogspot.com/2011/04/cara-membuat-web-serverlokal.html#ixzz1p17dY2jq
etelah pusing-pusing googling internet cara untuk mengamankan MySQL lebih khusus pada
software XAMPP yaitu phpmyadmin atau gimana caranya untuk memberi password pada
phpmyadmin, akhirnya ketemu juga. Sebenarnya sangatlah mudah cara untuk secure
phpmyadmin di xampp. Okelah langsung aja saya tunjukkan file-file mana saja yang harus di
edit agar phpmyadmin kita tidak bisa di akses semua orang.
Langkah untuk secure MySQL / phpmyadmin di xampp:
Hasil akhir yaitu ketika orang mengakses nomer IP / host yang ada service xampp misal
http://localhost/phpmyadmin. Maka dia akan langsung ditanya username dan password.
Permission
rw-r--r--
Author
lazyfooly
Label
Action and
Share
OS
Windows
1. Setting password untuk user root di MySQL XAMPP, caranya buka
http://localhost/phpmyadmin kemudian masuk ke Menu Privileges dan cari user
root.
2. Cari file bernama "config.inc.php", biasanya letaknya dalam folder hasil install
XAMPP
yaitu:
C:\xampp\phpMyAdmin\
3.
Cari
text
$cfg['Servers'][$i]['auth_type']
=
'config';
4. Setelah ketemu, silahkan pilih metode Authentication yang diinginkan, pilihannya
:
config = Tidak perlu mengetikkan password pada saat membuka PHPMyAdmiin
http = Keluar dialog box pengisian password untuk membuka PHPMyAdmin
cookie = Keluar kolom pengisian password untuk membuka PHPMyAdmin
kemudian
simpan
perubahan
yang
telah
dilakukan.
5. Ganti username yang kita inginkan, dibagian $cfg['Servers'][$i]['user'] =
'root';
,
secara
default
username
nya
adalah
root.
6. Sesuaikan password PHPMyAdmin yang sudah kita buat pada poin 1 diatas
$cfg['Servers'][$i]['password']
=
'feryza';
7. Sekarang restart mysql pada melalui XAMPP Contol Panel yang disediakan.
Lihat
di
folder
C:\xampp\
OS
Linux
1. Setting password untuk user root di MySQL XAMPP, caranya buka
http://localhost/phpmyadmin kemudian masuk ke Menu Privileges dan cari user
root.
Goog Luck
Articles Comments
Complete, Concrete, Concise
Practical information without the bloat
Search this
Home
Downloading Joomla!
1) Download the full Joomla 1.6.6 from here. NOTE, Joomla 1.6 is no longer supported.
2) Choose to either save the ZIP file or to open it over the web. Saving the ZIP file makes it
easier to install Joomla again, if you have to.
Extracting Joomla!
3) Open the downloaded file by double-clicking on it. From the File menu, select Extract All.
NOTE: this step assumes Windows provides archiving functionality for you. If you have
installed a different archiving program, the specific steps for extraction will be different.
4) Extract the Joomla! files to a subfolder of htdocs in your XAMPP folder. By default, XAMPP
would be installed to your C:\ drive, so you would enter C:\xampp\htdocs\joomla as the directory
to extract to. (In my case, I installed XAMPP to my D:\ drive).
5) Click Finish when the extraction is complete. You can uncheck the Show extracted
files checkbox because we dont need to see the files.
Setting up Joomla!
6) Launch your browser and type http://localhost/joomla into the address bar. What follows
http://localhost/ is the directory you installed Joomla! into.
8) Confirm you meet the minimum installation requirements, then click Next. It is normal for
Display errors to be set to On.
9) Read the GNU license and, if you agree with it, click Next.
Username: if you created a MySql User, enter the name here. Otherwise, use
root.
Password: this is the password associated with the user name entered
above. If you used root as your username, then leave the password blank (the
default XAMPP install does not assign a password to root).
Database Name: this is the name of the database you created. Database
creation instructions are here.
12) Enter a site name (for example, Complete, Concrete, Concise or whatever name you want
this site to have).
Enter an Admin Username. This is the username you will use to log into the Joomla! backend.
By default, it is Admin (and I leave it as Admin)
Enter an Admin Email address. Joomla! will send notifications to this email address.
Enter an Admin Password this is the password you will use to log into the Joomla! backend.
Confirm the Admin Password.
Choose if you want to install the sample data. I like to install it, since it saves me the trouble of
populating the site with sample articles.
Click on Next.
13) Confirm you have successfully installed. Note that your user name for logging into the
Joomla! backend is admin (if you accepted the default name, otherwise it is whatever name you
entered into the Admin Username field in Step (12)).
Cleaning Up
As a security precaution, Joomla! requires you to remove the installation directory before the site
becomes functional. In Joomla! 1.6.x, this can be done from the final installation screen.
14) Click on the Remove installation folder to remove the installation folder and complete the
installation.
You should now be able to access your Joomla! site by entering http://localhost/joomla into your
web browsers navigation bar.
To access the backend, you would enter http://localhost/joomla/administrator into your web
browsers navigation bar.
NOTE: what follows localhost is the name of the folder you installed Joomla! into (see Step 4
above). In this tutorial, the folder name was joomla.
If you want to access the installed site using a real web address (like www.joomla.16) instead
of localhost/path-name, you can find instructions to do that here.
Share this:
Share
Filed under: Joomla Tags: 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, installation, installing,
installing joomla, joomla, XAMPP
20 Responses to "Installing Joomla 1.6 Under XAMPP"
1.
Purnomo says:
April 7, 2011 at 13:11
2.
admin says:
April 7, 2011 at 16:29
Normally, display_errors being on is not a problem. In fact, for a development test bed
like XAMPP, it is desirable to catch any errors.
The setting is not controlled by Joomla!. Joomla! is simply reporting the setting returned
by the PHP running under XAMPP.
To disable the setting you need to:
(1) find the php.ini file (this should be located in C:\xampp\php or wherever you
installed XAMPP).
(2) open the file with a plain text editor, like notepad (a wordprocessor, like Word, will
seriously corrupt the file).
(3) Locate the line display_errors = On (it might also be display_errors = 1
depending on the version of XAMPP you have, with 1.7.3 it is On). In the php.ini file
with XAMPP 1.7.3, it should be located on line 531.
3.
Sibangbrang says:
April 12, 2011 at 22:21
4.
SL Lee says:
April 16, 2011 at 03:19
I have an error 404, Object not found when I tried to open localhost/joomla16.
5.
admin says:
April 16, 2011 at 08:50
Since I only have Windows XP, there may be something I dont understand about
Windows 7 behaviour.
From your description, it sounds like the folder joomla16 does not exist in your
XAMPP htdocs folder.
joomla16 is the folder I extracted my Joomla! 1.6 files into. Is that the folder you
extracted your Joomla! files into?
What follows localhost is the name of the folder or directory you installed Joomla! into.
For example:
localhost/joomla16
localhost/mysite
localhost/joomla-test
.
.
.
etc
BTW : it has to be the htdocs directory in your XAMPP folder, NOT the htdocs directory
in your xampp/apache directory.
I installed XAMPP 1.7.4 and could only reproduce your results (on Windows XP) if the
joomla16 directory does not exist.
If the joomla16 directory exists but is empty, then I get:
Index of /joomla16
Parent Directory
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4
mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80
If the joomla16 directory exists but everything is installed in a sub-folder, then I get:
Index of /joomla16
Parent Directory
joomla16_subdirectory/
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4
mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80
If the Apache Server is not running, my browser redirects to my default search engine
(but your message from above indicates Apache is running).
Sorry to hear you have spent so much time on this. It can be very frustrating trying to get
things to work too often people know stuff and speak in cryptic code: just sd your
fgrep to the required priviledge of something similar.
Please let me know if my suggestions helped with your troubleshooting.
6.
SL Lee says:
April 17, 2011 at 06:22
Thanks for your reply. The location of joomla files are correctly placed under
xampp/htdocs/joomla16. apache and mysql are running. I found IISExpress folder/files
buried in Windows My Documents. Just deleted it and tried again. Still failed.
Compared to your cpanel, I found that I dont have some buttons shell, setup, portcheck. instead, I have status. I guess the next thing is to try xampp 1.7.3.
I am not the only one with this problem. A few others have reported the same.
You have the clearest instruction for installing. The pictures are very helpful. Good work.
Reply
7.
SL Lee says:
April 17, 2011 at 06:49
I found the problem! I downloaded the files and then moved to xampp/htdocs and then
decompress it there. The files are all there but under a zipped file! not joomla16 folder.
Now I just decompressed it in the download directory and copied everything over to a
self-made folder joomla16. It works. I should have check the nature of the folder.
Reply
1.
admin says:
April 17, 2011 at 09:48
8.
Thank you for such detailed setup (XAMPP, Database, and Joomla 1.6). I went through
all three and it worked perfectly. Excellent instructions. Again thanks!
Reply
1.
admin says:
May 4, 2011 at 13:46
9.
1.
admin says:
June 8, 2011 at 12:02
10.
1.
admin says:
June 18, 2011 at 13:18
11.
Hello, Neat post. There is an issue with your site in internet explorer, may check this? IE
nonetheless is the market chief and a big portion of other people will leave out your
excellent writing because of this problem.
Reply
1.
admin says:
September 24, 2011 at 05:16
Could you be more specific about what problem it has with IE, which version of
IE?
I use both IE8 and IE9 on this site with no problems.
Thanks.
Reply
12.
Hello there, simply turned into aware of your blog thru Google, and found that it is really
informative. Im gonna watch out for brussels. I will appreciate if you continue this in
future. A lot of other folks will be benefited from your writing. Cheers!
Reply
1.
admin says:
November 2, 2011 at 09:52
Thanks for the comment. Not sure what you mean by brussels, but figure it
must be some artefact of translation software.
Reply
13.
I enjoy, cause I found exactly what I was having a look for. Youve ended my four day
long hunt! God Bless you man. Have a great day. Bye
Reply
1.
admin says:
November 8, 2011 at 11:08
Name *
Website
Enter your email address to subscribe to this site and receive notifications of new posts by email.
Email Addre
Categories
Blog (18)
Electronics (1)
Joomla (15)
Mathematics (9)
Programming (20)
o
C (18)
C++ (19)
Ubuntu (8)
WordPress (6)
Writing (5)
Recent Comments
Recent Articles
Tag Cloud
1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.7.0 1.7.1 1.7.2 2.5
AMPPS apache c++ change
definition