<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3542267176054831403</id><updated>2011-07-30T13:16:04.553-07:00</updated><title type='text'>ny@h_nyo</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-7204855035589693619</id><published>2009-12-14T09:42:00.000-08:00</published><updated>2009-12-14T10:01:16.888-08:00</updated><title type='text'>konfigurasi radius di freebsd</title><content type='html'>&lt;p&gt;saya baru belajar freebsd so kl da yg salah tlg dibenerin yak langsung ke pokok bahasan aj yak biar g terlalu ngaret.&lt;/p&gt;&lt;p&gt;begini ni langkah-langkahnya :&lt;/p&gt; &lt;p&gt;Pastikan ports sudah di update ke versi terakhir.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;1. Install FreeRadius, enablekan dukungan MYSQL saja.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;2. Install MYSQL server.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;3. Ubah rc.conf, tambahkan baris ini :&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;mysql_enable=”YES”&lt;/p&gt; &lt;p&gt;radiusd_enable=”YES”&lt;br /&gt;&lt;span id="more-451"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;4. Konfigurasi database dan impor sql&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Disini saya menggunakan database yang terbaru dari freebsd yaitu menggunakan mysql60-server. Jalankan Database&lt;/p&gt; &lt;p&gt;mailserver# /usr/local/etc/rc.d/mysql-server start&lt;br /&gt;Starting mysql.&lt;/p&gt; &lt;p&gt;mailserver# mysql -u root -p&lt;br /&gt;&lt;/p&gt;&lt;p&gt;mysql&gt; show databases;&lt;br /&gt;+——————–+&lt;br /&gt;| Database |&lt;br /&gt;+——————–+&lt;br /&gt;| information_schema |&lt;br /&gt;| mysql |&lt;br /&gt;+——————–+&lt;br /&gt;2 rows in set (0.00 sec)&lt;/p&gt;  &lt;p&gt;mysql&gt; create database freeradius;&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt;&lt;p&gt;Import database&lt;/p&gt;&lt;p&gt; mailserver# mysql -uroot -p freeradius &lt; /usr/local/share/doc/freeradius/examples/mysql.sql&lt;br /&gt;Enter password:&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Grant akses ke database freeradius&lt;/p&gt; &lt;p&gt;mysql&gt; grant all privileges on freeradius.* to zeeboy@localhost identified by ‘1234’ with grant option;&lt;/p&gt; &lt;p&gt;mysql&gt; flush privileges;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;/p&gt; &lt;p&gt;&lt;strong&gt;5. Modifikasi setting file2 terkait.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Modif sql.conf&lt;/p&gt;&lt;p&gt;mailserver# cd /usr/local/etc/raddb&lt;/p&gt;  &lt;p&gt;mailserver# ee sql.conf&lt;/p&gt; &lt;p&gt;# Connect info&lt;br /&gt;server = “localhost”&lt;br /&gt;login = “zeeboy”&lt;br /&gt;password = “1234”&lt;/p&gt; &lt;p&gt;# Database table configuration&lt;br /&gt;radius_db = “freeradius”&lt;/p&gt; &lt;p&gt;simpan.&lt;/p&gt; &lt;p&gt;Modif akses ke client radius :&lt;/p&gt; &lt;p&gt;mailserver# ee clients.conf&lt;/p&gt; &lt;p&gt;secret = 1234&lt;/p&gt; &lt;p&gt;simpan.&lt;/p&gt; &lt;p&gt;Modif radiusd.conf&lt;/p&gt; &lt;p&gt;mailserver# ee radiusd.conf&lt;/p&gt; &lt;p&gt;cari ’sql’ di bagian authorize dan accounting. Buang tanda # di depannya.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;6. Jalankan service radius&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;mailserver# /usr/local/etc/rc.d/radiusd start&lt;br /&gt;Starting radiusd.&lt;br /&gt;Thu Jul 10 06:52:32 2008 : Info: Starting – reading configuration files …&lt;/p&gt; &lt;p&gt;mailserver# ps -ax | grep radius&lt;br /&gt;96134 ?? IsJ 0:00.00 /usr/local/sbin/radiusd&lt;br /&gt;96248 p0 S+J 0:00.00 grep radius&lt;/p&gt;&lt;p&gt;&lt;strong&gt;7. Tes servicenya&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;mailserver# ee users&lt;/p&gt; &lt;p&gt;Tambahkan baris ini di paling bawah :&lt;/p&gt; &lt;p&gt;zeeboy Auth-Type := Local, User-Password == “coba”&lt;/p&gt;&lt;p&gt;client 10.14.2.0/24 {&lt;br /&gt;secret = 1234&lt;br /&gt;shortname = private-network-1&lt;br /&gt;}&lt;/p&gt; &lt;p&gt;simpan dan restart radiusnya.&lt;/p&gt; &lt;p&gt;Coba tes:&lt;/p&gt;&lt;p&gt;mailserver# radtest zeeboy coba 10.14.2.14 1812 1234&lt;br /&gt;Sending Access-Request of id 102 to 10.14.2.14 port 1812&lt;br /&gt;User-Name = “zeeboy”&lt;br /&gt;User-Password = “coba”&lt;br /&gt;NAS-IP-Address = 255.255.255.255&lt;br /&gt;NAS-Port = 1812&lt;br /&gt;rad_recv: Access-Accept packet from host 10.14.2.14:1812, id=102, length=20&lt;/p&gt;&lt;p&gt;next step gan :))&lt;/p&gt;&lt;p&gt;&lt;strong&gt;8. Input data tes&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;mysql&gt; use freeradius;&lt;br /&gt;Reading table information for completion of table and column names&lt;br /&gt;You can turn off this feature to get a quicker startup with -A&lt;/p&gt; &lt;p&gt;Database changed&lt;br /&gt;mysql&gt;&lt;/p&gt; &lt;p&gt;Insert data dummy&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radcheck (UserName, Attribute, Value) VALUES (’zeeboy12’, ‘Password’, ‘12345’);&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupcheck (GroupName, Attribute, Value) VALUES (’dynamic’, ‘Auth-Type’, ‘Local’);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘Framed-Compression’, ‘:=’,&lt;/p&gt; &lt;p&gt;‘Van-Jacobsen-TCP-IP’);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘Framed-Protocol’, ‘:=’, ‘PPP’);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘Service-Type’, ‘:=’, ‘Framed-User’);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘Framed-MTU’, ‘:=’, ‘1500′);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘X-Ascend-Assign-IP-Pool’, ‘:=’, ‘0′);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘X-Ascend-Maximum-Time’, ‘:=’, ‘7200′);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘X-Ascend-Route-IP’, ‘:=’,&lt;/p&gt; &lt;p&gt;‘Route-IP-Yes’);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO radgroupreply (GroupName, Attribute, op, Value) VALUES (’dynamic’, ‘Idle-Timeout’, ‘:=’, ‘1800′);&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; INSERT INTO usergroup (UserName, GroupName) VALUES (’zeeboy12’,’dynamic’);&lt;br /&gt;Query OK, 1 row affected (0.01 sec)&lt;/p&gt; &lt;p&gt;mysql&gt; exit&lt;br /&gt;Bye&lt;/p&gt;&lt;p&gt;&lt;strong&gt;9. Tes ulang authentifikasinya&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;mailserver# radtest zeeboy12 12345 10.14.2.14 1812 1234&lt;br /&gt;Sending Access-Request of id 170 to 10.14.2.14 port 1812&lt;br /&gt;User-Name = “zeeboy12”&lt;br /&gt;User-Password = “12345”&lt;br /&gt;NAS-IP-Address = 255.255.255.255&lt;br /&gt;NAS-Port = 1812&lt;br /&gt;rad_recv: Access-Accept packet from host 10.14.2.14:1812, id=170, length=68&lt;br /&gt;Framed-Compression = Van-Jacobson-TCP-IP&lt;br /&gt;Framed-Protocol = PPP&lt;br /&gt;Service-Type = Framed-User&lt;br /&gt;Framed-MTU = 1500&lt;br /&gt;X-Ascend-Assign-IP-Pool = 0&lt;br /&gt;X-Ascend-Maximum-Time = 7200&lt;br /&gt;X-Ascend-Route-IP = Route-IP-Yes&lt;br /&gt;Idle-Timeout = 1800&lt;br /&gt;mailserver#&lt;/p&gt; &lt;p&gt;OK. Sampai disini server radius sudah berhasil di install, bisa di gunakan untuk auth di hotspot mikrotik.&lt;/p&gt; &lt;p&gt;Dgn data :&lt;/p&gt; &lt;p&gt;IP : 10.14.2.14&lt;/p&gt; &lt;p&gt;Port : 1812&lt;/p&gt; &lt;p&gt;secret key : 1234&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-7204855035589693619?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/7204855035589693619/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/konfigurasi-radius-di-freebsd.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/7204855035589693619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/7204855035589693619'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/konfigurasi-radius-di-freebsd.html' title='konfigurasi radius di freebsd'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-2916698050714506263</id><published>2009-12-07T23:41:00.000-08:00</published><updated>2009-12-08T02:43:38.136-08:00</updated><title type='text'>instalasi,konfigurasi nginx serta mengaktifkan php-cgi di freebsd</title><content type='html'>&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Apa yang &lt;strong&gt;nginx?&lt;/strong&gt;&lt;/span&gt; &lt;p&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Nginx&lt;/strong&gt; adalah (kepanjangan "engine X") is a lightweight web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.&lt;/span&gt; &lt;strong&gt;Nginx&lt;/strong&gt; adalah (diucapkan "mesin X") adalah sebuah web server ringan / reverse proxy dan e-mail (IMAP/POP3) proxy, dilisensikan di bawah lisensi BSD-mirip.&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Dalam tutorial ini kita akan mencoba untuk menginstal web server nginx dengan PHP5, PHP5 Ext, MySQL5 dan Pecl-Memcache PHP FreeBSD7 modul server.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Saya akan menggunakan port untuk menginstal semua paket.&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Installing MySQL6&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;di tutorial sebelumnya saya sudah membuat langkah-langkah instalasi dan konfigurasi. jadi saya asumsikan tmen2 sudah menginstall mysql60-server&lt;/span&gt;&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;langkah selanjutnya adalah&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Installing PHP5&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# cd /usr/ports/lang/php5&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# make config&lt;/span&gt; # Make config (make config disini digunakan untuk mensetting package yang akan diinstall dalam php5)&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] CLI Build CLI version&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] CGI Build CGI version&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] APACHE Build Apache module&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] DEBUG      Enable debug&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X]] SUHOSIN Enable Suhosin protection system&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] MULTIBYTE Enable zend multibyte support&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] IPV6       Enable ipv6 support&lt;/span&gt;&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] REDIRECT   Enable force-cgi-redirect support (CGI only)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] DISCARD    Enable discard-path support (CGI only)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] FASTCGI    Enable fastcgi support (CGI only)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] PATHINFO   Enable path-info-check support (CGI only)&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# make install clean&lt;/span&gt; # Make install bersih&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;#cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;langkah selanjutnya instalasi php5-extension&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Installing PHP5 Extension&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt; &lt;/strong&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[code]# cd /usr/ports/lang/php5-extensions/&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# make config&lt;/span&gt; #&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Options for php5-extensions 1.0&lt;/span&gt; Pilihan untuk php5-extensions 1,0&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;-------------------------------------------------&lt;/span&gt; -------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] FTP        FTP support&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] GD&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] GETTEXT&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] MBSTRING&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] MYSQL&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] POSIX&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[ ] SQLITE&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[X] ZLIB&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# make install clean&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;langkah selanjutnya instalasi nginx&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Installing Nginx&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt; &lt;/strong&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;#cd /usr/ports/www/nginx/&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;#make install clean&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;Installing Lighttpd&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;#cd /usr/ports/www/lighttpd/&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;#make install clean&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Install spawn-fcgi&lt;/span&gt;&lt;/h2&gt;Digunakan untuk mengaktifkan php yang ada pada komputer server kita.&lt;br /&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Ambil spawn-fcgi terbaru dari instalasi Lighttpd lain atau hanya menginstalnya sebagai berikut:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;# pkg_add -r -v lighttpd&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Sample output:&lt;/span&gt; Contoh output:&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;scheme:   [ftp]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;skema: [ftp]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;user:     []&lt;/em&gt;&lt;/span&gt; &lt;em&gt;user: []&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;password: []&lt;/em&gt;&lt;/span&gt; &lt;em&gt;password: []&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;host:     [ftp.freebsd.org]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;host: [ftp.freebsd.org]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;port:     [0]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;Port: [0]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;document: [/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/lighttpd.tbz]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;Dokumen: [/ pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/lighttpd.tbz]&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;---&gt; ftp.freebsd.org:21&lt;/em&gt;&lt;/span&gt; &lt;em&gt;---&gt; Ftp.freebsd.org: 21&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;looking up ftp.freebsd.org&lt;/em&gt;&lt;/span&gt; &lt;em&gt;menengadah ftp.freebsd.org&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;connecting to ftp.freebsd.org:21&lt;/em&gt;&lt;/span&gt; &lt;em&gt;menghubungkan ke ftp.freebsd.org: 21&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;&lt;&lt;&lt;&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt; &lt;em&gt;&lt;&lt;&lt;220&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;em&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;&gt;&gt;&gt; USER anonymous&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&gt;&gt;&gt; PENGGUNA anonim&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;&lt;&lt;&lt;&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt; &lt;em&gt;&lt;&lt;&lt;331&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;em&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_access.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_access.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_accesslog.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_accesslog.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_accesslog.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_accesslog.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_accesslog.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_accesslog.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_alias.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_alias.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_alias.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_alias.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_alias.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_alias.so&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_auth.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_auth.a&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;x lib/lighttpd/mod_auth.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;x lib / lighttpd / mod_auth.la&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;.....&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;..&lt;/em&gt;&lt;/span&gt; &lt;em&gt;..&lt;/em&gt;&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Sekarang Anda dapat menggunakan / etc / local / bin / spawn-fcgi untuk proses swap.&lt;/span&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Jika Anda ingin, Anda dapat menyalin / usr / local / bin / spawn-fcgi ke / root atau direktori lain dan hanya menghapus paket lighttpd dengan mengetikkan perintah berikut:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;# cp /usr/local/bin/spawn-fcgi /root/&lt;br /&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;# pkg_delete -v lighttpd-1.4.18_1&lt;br /&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;# cp /root/spawn-fcgi /usr/local/bin/spawn-fcgi&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;Sekarang Anda dapat mulai PHP FastCGI dari baris perintah sebagai berikut:&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;# /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www -g www -f /usr/local/bin/php-cgi&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/code&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;berikut maksud dari command line diatas,&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;-a 127.0.0.1&lt;/strong&gt; : PHP FastCGI bind IP address, where Nginx will connect.&lt;/span&gt; &lt;strong&gt;-a 127.0.0.1:&lt;/strong&gt; PHP FastCGI bind alamat IP, di mana nginx akan menghubungkan.&lt;/span&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;-p 9000&lt;/strong&gt; : PHP FastCGI port number, where Nginx will connect.&lt;/span&gt; &lt;strong&gt;-p 9.000:&lt;/strong&gt; PHP FastCGI nomor port, di mana nginx akan menghubungkan.&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;-u www&lt;/strong&gt; : PHP FastCGI username.&lt;/span&gt; &lt;strong&gt;-u www:&lt;/strong&gt; PHP FastCGI username.&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;-g www&lt;/strong&gt; : PHP FastCGI groupname.&lt;/span&gt; &lt;strong&gt;-g www:&lt;/strong&gt; PHP FastCGI groupname.&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;strong&gt;-f /usr/local/bin/php-cgi&lt;/strong&gt; : Path to PHP5 fastcgi binary.&lt;/span&gt; &lt;strong&gt;-f / usr / local / bin / php-cgi:&lt;/strong&gt; Path ke PHP5 fastcgi biner.&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Memverifikasi bahwa php berjalan sebagai FastCGI, masukkan:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;# &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.cyberciti.biz/tips/freebsd-lists-open-internet-unix-domain-sockets.html&amp;amp;prev=/search%3Fq%3Dinstalasi%2Bphp5-extension%2Bnginx%2Bdi%2Bfreebsd%26hl%3Did%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhhWItbeXW0hyEdwifVPWJdp05dIfg"&gt;sockstat -4 | grep 9000&lt;/a&gt;&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Contoh Keluaran:&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;pre&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8998  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8998 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8997  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8997 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8996  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8996 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8995  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8995 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8994  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8994 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt; &lt;em&gt;&lt;br /&gt;&lt;/em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;em&gt;www      php-cgi    8993  0  tcp4   127.0.0.1:9000    *:*&lt;/em&gt;&lt;/span&gt; &lt;em&gt;php-cgi www 8993 0 tcp4 127.0.0.1:9000 *: *&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# cd /tmp&lt;br /&gt;# fetch http://bash.cyberciti.biz/dl/251.sh.zip&lt;br /&gt;- jika tidak dapat mendownload silahkan download secara manual dengan mengunjungi website &lt;/code&gt;&lt;br /&gt;&lt;code&gt;http://bash.cyberciti.biz/dl/251.sh.zip&lt;/code&gt;&lt;br /&gt;- setelah itu masukkan file yg telah didownload tadi dengan menggunakan aplikasi winscp&lt;br /&gt;&lt;code&gt;- setelah selesei lanjutkan perintah berikut&lt;br /&gt;# unzip 251.sh.zip&lt;br /&gt;# mv 251.sh /usr/local/etc/rc.d/php.cgi.sh&lt;br /&gt;# chmod +x /usr/local/etc/rc.d/php.cgi.sh&lt;br /&gt;# rm 251.sh.zip&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Untuk memulai php FastCGI, enter:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;# /usr/local/etc/rc.d/php.cgi.sh start&lt;br /&gt;# sockstat -4 | less&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Berhenti php FastCGI, enter:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;# /usr/local/etc/rc.d/php.cgi.sh stop&lt;/code&gt;  &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/pre&gt;&lt;h2&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Connect Nginx Webserver To PHP FastCGI Process&lt;/span&gt; &lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/h2&gt;&lt;p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Buka file ngixn.conf Anda, masukkan:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;# vi /usr/local/etc/nginx/nginx.conf&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;Tambahkan konfigurasi berikut nginx petunjuk sehingga dapat melewati naskah PHP FastCGI server untuk mendengarkan pada 127.0.0.1:9000:&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;location ~ \.php$ &lt;span&gt;{&lt;/span&gt;&lt;/span&gt; lokasi ~ \. php $ &lt;span&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;br /&gt;fastcgi_pass &lt;span&gt;127.0 .0 .1&lt;/span&gt; : &lt;span&gt;9000&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_pass &lt;span&gt;127,0 .0 .1: &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;9.000;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            fastcgi_index  index.php &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_index &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;index.php;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            fastcgi_param  SCRIPT_FILENAME  /websites/example.com/http$fastcgi_script_name &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_param SCRIPT_FILENAME / website / example.com / http $ &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;fastcgi_script_name;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            include        fastcgi_params &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; termasuk &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;fastcgi_params;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;Jika situs Web Anda di-host di / home / www / &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;zeeboy&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; / http, konfigurasi Anda akan terlihat seperti sebagai berikut:&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;server &lt;span&gt;{&lt;/span&gt;&lt;/span&gt; server &lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt; listen &lt;span&gt;80&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; mendengarkan &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;&lt;span&gt;80;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        server_name &lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt; www.ny@h_ny0.com &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; SERVER_NAME zeeboy &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;www.ny@h_ny0.com&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        access_log  /var/log/nginx/&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;/access.log  main &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; access_log / var / log / nginx / &lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; / access_log &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;utama;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        location / &lt;span&gt;{&lt;/span&gt;&lt;/span&gt; lokasi / &lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            root   /home/www/&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;/http &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; root / home / www / &lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; / &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;http;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            index  index.php index.html index.htm &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; indeks index.php index.html &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;index.htm;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        error_page &lt;span&gt;500 502 503 504&lt;/span&gt;  /50x.html &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; error_page &lt;span&gt;500 502 503 504&lt;/span&gt; / &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;50x.html;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;location&lt;/span&gt; = &lt;span style="color: rgb(102, 0, 102);"&gt; /50x.html &lt;span&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;lokasi&lt;/span&gt; = &lt;span style="color: rgb(102, 0, 102);"&gt;/ 50x.html &lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            root   /usr/local/www/nginx-dist &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; root / usr / local / www / &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;nginx-dist;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;       &lt;/span&gt;# Mengoper naskah PHP FastCGI server untuk mendengarkan pada &lt;span&gt;127,0 .0 .1: 9.000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        location ~ \.php$ &lt;span&gt;{&lt;/span&gt;&lt;/span&gt; lokasi ~ \. php $ &lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            fastcgi_pass &lt;span&gt;127.0 .0 .1&lt;/span&gt; : &lt;span&gt;9000&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_pass &lt;span&gt;127,0 .0 .1: &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;9.000;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            fastcgi_index  index.php &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_index &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;index.php;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            fastcgi_param  SCRIPT_FILENAME  /home/www/&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;/http$fastcgi_script_name &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; fastcgi_param SCRIPT_FILENAME / home / www / &lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;zeeboy&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; / http $ &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;fastcgi_script_name;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            include        fastcgi_params &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; termasuk &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;fastcgi_params;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;        location ~ /\.ht &lt;span&gt;{&lt;/span&gt;&lt;/span&gt; lokasi ~ / \. ht &lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;            deny  all &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;&lt;/span&gt;&lt;/span&gt; deny &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;all;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt; &lt;span&gt;)&lt;/span&gt;&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;h3&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.cyberciti.biz/faq/freebsd-start-stop-restart-nginx-webserver/&amp;amp;prev=/search%3Fq%3Dinstalasi%2Bphp5-extension%2Bnginx%2Bdi%2Bfreebsd%26hl%3Did%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhgoW4kmWHE5zsRg8Mpy-ul0lWmiGQ"&gt;Restart Nginx web server&lt;/a&gt;&lt;/span&gt; &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.cyberciti.biz/faq/freebsd-start-stop-restart-nginx-webserver/&amp;amp;prev=/search%3Fq%3Dinstalasi%2Bphp5-extension%2Bnginx%2Bdi%2Bfreebsd%26hl%3Did%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhgoW4kmWHE5zsRg8Mpy-ul0lWmiGQ"&gt;Nginx restart web server&lt;/a&gt;&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/h3&gt;&lt;p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;code&gt;# nginx -c /usr/local/etc/nginx/nginx.conf -t&lt;br /&gt;# /usr/local/etc/rc.d/nginx restart&lt;/code&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Test php with following sample script:&lt;/span&gt; Uji php dengan script contoh berikut:&lt;/span&gt; &lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt;&lt;em&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;php&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.php.net/phpinfo&amp;amp;prev=/search%3Fq%3Dinstalasi%2Bphp5-extension%2Bnginx%2Bdi%2Bfreebsd%26hl%3Did%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhj6Mytsb-YVefYG9p9hECBDajIZ5Q"&gt;phpinfo&lt;/a&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 204, 102);"&gt;( )&lt;/span&gt; ;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;?&gt;&lt;/span&gt;&lt;/span&gt; &lt;pre&gt;sedikit saja yang saya sampaikan,jika da yang tidak berkenan ataupun salah dalam pembuatan artikel ini saya mohon maaf.&lt;br /&gt;Jika da yg salah atau kurang tlg ditambahin aja..&lt;br /&gt;&lt;br /&gt;&lt;newbie&gt;&lt;br /&gt;^_^&lt;br /&gt;&lt;/newbie&gt;&lt;/pre&gt;&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-2916698050714506263?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/2916698050714506263/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/instalasikonfigurasi-nginx-serta.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/2916698050714506263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/2916698050714506263'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/instalasikonfigurasi-nginx-serta.html' title='instalasi,konfigurasi nginx serta mengaktifkan php-cgi di freebsd'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-2188101566137849781</id><published>2009-12-04T11:36:00.000-08:00</published><updated>2009-12-08T02:43:24.256-08:00</updated><title type='text'>Install MySQL50-server di freebsd</title><content type='html'>&lt;ol&gt;&lt;li&gt; masuk ke direktory mysql50-server port dengan menggunakan command:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;cd /usr/ports/databases/mysql50-server&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; Build port&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;make BUILD_OPTIMIZED=yes BUILD_STATIC=yes&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; Install mysql50 database server&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;make config&lt;br /&gt;make install&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt;Buka /etc/rc.conf dengan editor misal ( ee /etc/rc.conf ) and tambahkan configurasi sebagai berikut. ( ini digunakan untuk menjalankan Mysql Database server pertama server dinyalakan )&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;mysql_enable="YES"&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; Start mysql server secara manual:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;/usr/local/etc/rc.d/mysql-server start&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; masukanpassword untuk MySQL root user dengan perintah  sbb:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;/usr/local/bin/mysqladmin -uroot password 'new-password'&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Mysql telah selesai terinstal. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-2188101566137849781?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/2188101566137849781/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/install-mysql.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/2188101566137849781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/2188101566137849781'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/install-mysql.html' title='Install MySQL50-server di freebsd'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-8998215424411086608</id><published>2009-12-04T10:02:00.001-08:00</published><updated>2009-12-04T10:02:41.748-08:00</updated><title type='text'>Mengamankan Direktory Di APACHE</title><content type='html'>&lt;div class="entry"&gt;      &lt;div class="snap_preview"&gt;&lt;p style="text-align: justify;"&gt;Saya akan mencoba sedikit berbagi bagaimana Mengamankan Akses Data web pada sebuah direktory yang menggunakan server apache. kita akan mencoba memberikan sedikit gambaran bagaimana cara memberikan password pada suatu directory yang diakses melalui web. kebetulan saya menggunakan FreeBSD dan Apache2. sekarang mulai, pertama-tama Buka file configurasi webserver yaitu file httpd.conf ( misal: di /usr/local/etc/apache22/httpd.conf )&lt;/p&gt; &lt;p style="text-align: justify;"&gt;hal penting pertama sebelum memberi password adalah mengamankan direktory apache dengan menghilangkan Option &lt;em&gt;&lt;strong&gt;Index&lt;/strong&gt;&lt;/em&gt; yang biasanya default ada pada configurasi.&lt;/p&gt; &lt;p style="text-align: justify;"&gt;&lt;strong&gt;Sebelum :&lt;/strong&gt;&lt;/p&gt; &lt;p style="text-align: justify;"&gt;DocumentRoot “/usr/local/www/apache22/data/”&lt;br /&gt;&lt;directory&gt;&lt;br /&gt;Options &lt;strong&gt;&lt;em&gt;Indexes&lt;/em&gt;&lt;/strong&gt; FollowSymLinks MultiViews&lt;br /&gt;AllowOverride None&lt;br /&gt;Order allow,deny&lt;br /&gt;Allow from all&lt;/p&gt; &lt;p style="text-align: justify;"&gt;&lt;/directory&gt;&lt;/p&gt; &lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;strong&gt;Sesudah :&lt;/strong&gt;&lt;br /&gt;DocumentRoot “/usr/local/www/apache22/data/”&lt;br /&gt;&lt;directory&gt;&lt;br /&gt;Options FollowSymLinks MultiViews&lt;br /&gt;AllowOverride None&lt;br /&gt;Order allow,deny&lt;br /&gt;Allow from all&lt;/p&gt; &lt;p style="text-align: justify;"&gt;&lt;/directory&gt;&lt;/p&gt; &lt;p style="text-align: justify;"&gt;&lt;strong&gt;Keterangan :&lt;/strong&gt;&lt;/p&gt; &lt;p style="text-align: justify;"&gt;- Allow from all (bisa diakses oleh semua pengunjung)&lt;br /&gt;- Allow from 192.168.1.0/24 &gt;&gt; hanya bisa diaksek untuk Network tertentu dengan range IP tersebut&lt;/p&gt; &lt;p style="text-align: justify;"&gt;&lt;strong&gt;Akses Directory dengan Password&lt;/strong&gt;&lt;br /&gt;Web bisa juga mengizinkan pengaksesan dengan menggunakan passsword dimana password akan disimpan dalam sebuah file, yang kemudian file tersebut diakses oleh apache.&lt;/p&gt; &lt;p&gt;1. Buat sebuah direktori baru sebagai penampung password&lt;/p&gt; &lt;p style="text-align: justify;"&gt;maone032# cd  /usr/local/www/apache22/&lt;br /&gt;maone032# mkdir  paswdsite&lt;br /&gt;maone032# cd  paswdsite&lt;/p&gt; &lt;p style="text-align: justify;"&gt; 2. Buat sebuah file untuk menampung username dan password ( cari lokasi file htpasswd kebetulan saya di /usr/local/sbin/htpasswd )&lt;br /&gt;maone032# /usr/local/sbin/htpasswd -c htpasswd.user maone032&lt;br /&gt;New password : *********&lt;br /&gt;Re-type new password :*********&lt;br /&gt;Adding password for user maone032&lt;/p&gt; &lt;p style="text-align: justify;"&gt;Keterangan : opsi -c (jika kita membuat file untuk user yang pertama kalau selanjutnya tidak perlu)&lt;/p&gt; &lt;p style="text-align: justify;"&gt; 3.ubah konfigurasi httpd.conf agar dapat diakses oleh user yang sudah dibuat tadi ( maone032 )&lt;br /&gt;&lt;directory“/usr/local/www/apache22/data/”&gt;&lt;br /&gt;Options FollowSymLinks MultiViews&lt;br /&gt;AllowOverride None&lt;br /&gt;Order allow,deny&lt;br /&gt;Allow from all&lt;br /&gt;Authname Protected&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthUserFile “/usr/local/www/apache22/paswdsite/htpasswd.user “&lt;/p&gt; &lt;p style="text-align: justify;"&gt;require user maone032&lt;/p&gt; &lt;p&gt;&lt;/directory&gt;&lt;/p&gt; &lt;p&gt;Setelah selesai reboot apache, kemudian buka http://web_server. akan muncul dialog box username dan password.&lt;/p&gt; &lt;/div&gt;    &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-8998215424411086608?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/8998215424411086608/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/mengamankan-direktory-di-apache.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/8998215424411086608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/8998215424411086608'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/mengamankan-direktory-di-apache.html' title='Mengamankan Direktory Di APACHE'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-6417354551604818492</id><published>2009-12-04T09:30:00.000-08:00</published><updated>2009-12-04T09:50:05.265-08:00</updated><title type='text'>Install PHP5</title><content type='html'>&lt;ol&gt;&lt;li&gt; Masuk ke direktori php5 port dengan menggunakan perintah:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;cd /usr/ports/lang/php5&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; masukan perintah sbb:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;&lt;strong&gt;make config&lt;/strong&gt;&lt;br /&gt;- PENTING : pada tapilan ini pilih Apache ( Build apache module )&lt;br /&gt;  jika tidak biasanya nanti muncul error :&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;strong&gt;&lt;strong&gt;httpd: Syntax error on line 104 of&lt;br /&gt;/usr/local/etc/apache22/httpd.conf: Cannot load&lt;br /&gt;/usr/local/libexec/apache22/libphp5.so into server:&lt;br /&gt;/usr/local/lib/compat/pkg/libmysqlclient.so.14: version&lt;br /&gt;libmysqlclient_14 required by /usr/local/libexec/apache22/libphp5.so&lt;br /&gt;not found&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;selanjutnya :&lt;br /&gt;&lt;strong&gt;make install&lt;/strong&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; masuk ke  php5-extentions  port directory :&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;cd /usr/ports/lang/php5-extentions&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; Instalasi PHP&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;&lt;strong&gt;make config&lt;/strong&gt;&lt;br /&gt;- PENTING :Ojo Lali Pilih juga MYSQL ( MysQl Database Support )&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;make install&lt;/strong&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt;masuk Ke setting untuk  php.ini :&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt; Edit file konfigurasi untuk Apache di (/usr/local/etc/apache22/httpd.conf) and masukkan beberapa baris kode sbb:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;AddType application/x-httpd-php .php&lt;br /&gt;AddType application/x-httpd-php-source .phps&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt;Kemudian cari kode di bawah ini :&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;DirectoryIndex index.html&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;ganti dengan kode sbb :  &gt;( TAMBAH index.php sebagai default file )&lt;/p&gt; &lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;DirectoryIndex index.php index.html&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/li&gt;&lt;li&gt;Start Apache script:&lt;br /&gt;&lt;table border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;pre&gt;/usr/local/etc/rc.d/apache22 start&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-6417354551604818492?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/6417354551604818492/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/install-php5.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/6417354551604818492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/6417354551604818492'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/12/install-php5.html' title='Install PHP5'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-3087988333961288890</id><published>2009-11-27T09:59:00.000-08:00</published><updated>2009-11-27T10:00:42.642-08:00</updated><title type='text'>instalasi mikrotik router</title><content type='html'>&lt;p&gt;MIKROTIK mempunyai banyak service atau tool sehingga bisa dijadikan DHCP server, PROXY server, RADIUS server, DNS server, VPN server selain sebagai router.&lt;/p&gt; &lt;p&gt;MikroTik RouterOS™ adalah sistem operasi dan yang dapat digunakan untuk menjadikan komputer&lt;br /&gt;manjadi router network yang handal, mencakup berbagai fitur lengkap untuk network dan wireless.&lt;span id="fullpost"&gt;&lt;br /&gt;Ini aku kasih link untuk download Mikrotik RouterOS yang udah di Crack&lt;br /&gt;&lt;a href="http://rapidshare.com/files/53356135/mikrotik-2.9.27_LEVEL6.rar" onclick="javascript:pageTracker._trackPageview('/outbound/article/rapidshare.com');" target="_blank"&gt;http://rapidshare.com/files/53356135/mikrotik-2.9.27_LEVEL6.rar&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rapidshare.com/files/137767112/MikroTik2.9.38_www.phileforum.com.rar" onclick="javascript:pageTracker._trackPageview('/outbound/article/rapidshare.com');" target="_blank"&gt;http://rapidshare.com/files/137767112/MikroTik2.9.38_www.phileforum.com.rar &lt;/a&gt;&lt;br /&gt;Ukuran filenya : 14.4 MB&lt;br /&gt;Kemudian di extrack dan kemudian burn ke CD itu file ISO nya.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;1. Install Mikrotik OS&lt;br /&gt;– Siapkan PC, minimal Pentium I juga gak papa RAM 64,HD 500M atau pake flash memory 64&lt;br /&gt;– Di server / PC kudu ada minimal 2 ethernet, 1 ke arah luar dan 1 lagi ke Network local&lt;br /&gt;– Burn Source CD Mikrotik OS masukan ke CDROM&lt;br /&gt;– Boot dari CDROM&lt;br /&gt;– Ikuti petunjuk yang ada, gunakan syndrom next-next dan default&lt;br /&gt;– Install paket2 utama, lebih baiknya semua packet dengan cara menandainya (mark)&lt;br /&gt;– Setelah semua paket ditandai maka untuk menginstallnya tekan “I”&lt;br /&gt;– Lama Install normalnya ga sampe 15menit, kalo lebih berarti gagal, ulangi ke step awal&lt;br /&gt;– Setelah diinstall beres, PC restart akan muncul tampilan login&lt;br /&gt;2. Setting dasar mikrotik&lt;br /&gt;Langkah awal dari semua langkah konfigurasi mikrotik adalah setting ip&lt;br /&gt;Hal ini bertujuan agar mikrotik bisa di remote dan dengan winbox dan memudahkan kita untuk&lt;br /&gt;melakukan berbagai macam konfigurasi&lt;br /&gt;– Login sebaga admin degan default password ga usah diisi langsung enter&lt;br /&gt;Gantilah dengan ip address anda dan interface yg akan digunakan untuk meremote sementara&lt;br /&gt;Di sini akan saya terangkan dengan menggunakan 2 cara yaitu dengan dengan text dan winbox.&lt;br /&gt;I. Langkah setting Mikrotik TEXT&lt;br /&gt;————————————————&lt;br /&gt;Mari kita mulai dengan asumsi proses install sudah berhasil&lt;br /&gt;1. Install - OK&lt;br /&gt;2. Setting IP eth1 222.124.xxx.xxx (dari ISP)&lt;br /&gt;perintah :&lt;br /&gt;ip address add address 222.124.xxx.xxx netmask 255.255.255.xxx interface ether1&lt;br /&gt;IP tersebut adalah IP public / IP yang yang ada koneksi Internet&lt;br /&gt;3. Setting IP eth2 192.168.1.254&lt;br /&gt;perintah :&lt;br /&gt;ip address add address 192.168.1.254 netmask 255.255.255.0 interface ether2&lt;br /&gt;IP tersebut adalah IP Local anda.&lt;br /&gt;Sekarang lakukan ping ke dan dari komputer lain, setelah konek lanjutkan ke langkah&lt;br /&gt;berikutnya, kalo belum ulangi dari langkah no 2.&lt;br /&gt;4. Setting Gateway&lt;br /&gt;perintah :&lt;br /&gt;ip route add gateway=222.124.xxx.xxx (dari ISP)&lt;br /&gt;5. Setting Primary DNS&lt;br /&gt;perintah :&lt;br /&gt;ip dns set primary-dns=203.130.208.18 (dari ISP)&lt;br /&gt;6. Setting Secondary DNS&lt;br /&gt;perintah :&lt;br /&gt;ip dns set secondary-dns=202.134.0.155 (dari ISP)&lt;br /&gt;7. Setting Routing masquerade ke eth1&lt;br /&gt;perintah :&lt;br /&gt;ip firewall nat add chain=srcnat action=masquerade out-interface=ether1&lt;br /&gt;Untuk terakhir lakukan test ping ke Gateway / ke yahoo.com, bila konek maka Mikrotik anda dah siap&lt;br /&gt;di gunakan&lt;br /&gt;II. Langkah setting Mikrotik Via WinBox&lt;br /&gt;———————————————————-&lt;br /&gt;1. Setelah install Mikrotik sudah OK, selanjutnya masukkan IP sembarang untuk remote.&lt;br /&gt;Misal&lt;br /&gt;ip address add address 192.168.1.254 netmask 255.255.255.0 interface ether2&lt;br /&gt;Kemudian buka browser dengan alamat IP tadi, dan download Winbox&lt;/p&gt; &lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPchVpHE7fI/AAAAAAAAARU/PsSKiMxIPYw/s1600-h/login.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/4.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPchVpHE7fI/AAAAAAAAARU/PsSKiMxIPYw/s400/login.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257707745674849778" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;2. Buka Winbox yang telah di download tadi&lt;/p&gt; &lt;p&gt;3. Di tampilan Winbox, pada kolom Connect To masukkan no IP tadi (192.168.1.254) dengan&lt;br /&gt;Login : admin password : kosong. Kemudian klik tombol Connect&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPchzjBlPGI/AAAAAAAAARc/07COpXJ3ch8/s1600-h/winbox.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPchzjBlPGI/AAAAAAAAARc/07COpXJ3ch8/s400/winbox.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257708259437263970" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_WZaKd_TFoLE/SPcbs8-J0UI/AAAAAAAAAPs/bOcwiX-Zghc/s1600-h/connect.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/2.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://2.bp.blogspot.com/_WZaKd_TFoLE/SPcbs8-J0UI/AAAAAAAAAPs/bOcwiX-Zghc/s320/connect.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257701549073355074" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;4. Login ke Mikrotik Via Winbox berhasil&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPciGlfpCGI/AAAAAAAAARk/CpMbD1PhmyI/s1600-h/winbox+connect.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPciGlfpCGI/AAAAAAAAARk/CpMbD1PhmyI/s400/winbox+connect.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257708586517727330" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;5. Klik IP —&gt; ADDRESS&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPcieJT34DI/AAAAAAAAARs/_8YZoiIBCuE/s1600-h/ip+addres.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPcieJT34DI/AAAAAAAAARs/_8YZoiIBCuE/s400/ip+addres.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257708991269036082" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;6. Ini adalah tampilan dari address&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPccaNY7wWI/AAAAAAAAAQE/SUKTNg2sHZ0/s1600-h/addres+list.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPccaNY7wWI/AAAAAAAAAQE/SUKTNg2sHZ0/s320/addres+list.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257702326574760290" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;7. Kemudian masukkan IP public (dari ISP)&lt;/p&gt; &lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcizlCfeBI/AAAAAAAAAR0/RQZnvRR9wyc/s1600-h/ip+public.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/3.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcizlCfeBI/AAAAAAAAAR0/RQZnvRR9wyc/s400/ip+public.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257709359489579026" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;8. Ini daftar IP pada 2 ethernet&lt;/p&gt; &lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPcjIW4NUkI/AAAAAAAAAR8/F41ecXBJQT4/s1600-h/ip+ether.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/4.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPcjIW4NUkI/AAAAAAAAAR8/F41ecXBJQT4/s400/ip+ether.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257709716465603138" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;9. Setting Gateway, IP —&gt; Routes&lt;/p&gt; &lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcjzuBHifI/AAAAAAAAASE/pZRtlAHOgA4/s1600-h/ip+router.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/3.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcjzuBHifI/AAAAAAAAASE/pZRtlAHOgA4/s400/ip+router.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257710461411363314" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;10. Masukkan IP GATEWAY (dari ISP)&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPckdPT_LNI/AAAAAAAAASM/1XDai9qXA7s/s1600-h/router+list.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPckdPT_LNI/AAAAAAAAASM/1XDai9qXA7s/s400/router+list.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257711174723513554" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;11. Hasil ROUTING&lt;/p&gt; &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPcd7z04OmI/AAAAAAAAAQs/oeAFgvQLHCc/s1600-h/hasil+routing.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/1.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/_WZaKd_TFoLE/SPcd7z04OmI/AAAAAAAAAQs/oeAFgvQLHCc/s320/hasil+routing.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257704003339827810" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;12. Masukkan Primary DNS dan Secondary DNS (dari ISP)&lt;br /&gt;Kemudian klik Apply dan OK&lt;/p&gt; &lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPck8UGYSzI/AAAAAAAAASU/wYQf5gt2sAc/s1600-h/dns.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/3.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPck8UGYSzI/AAAAAAAAASU/wYQf5gt2sAc/s400/dns.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257711708584561458" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;13. Setting MASQUERADE&lt;/p&gt; &lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPclYpN8vSI/AAAAAAAAASc/HJdmiS5wCRw/s1600-h/firewall.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/4.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPclYpN8vSI/AAAAAAAAASc/HJdmiS5wCRw/s400/firewall.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257712195289791778" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;14. Klik IP —&gt; Firewall&lt;br /&gt;15. Kemudian pilih NAT&lt;br /&gt;16. Pada tab General&lt;br /&gt;pada Chain pilih srcnat&lt;br /&gt;pada Out. Interface pilih ether1&lt;br /&gt;pada tab Action pilih masquerade&lt;br /&gt;Kemudian klik Apply dan OK&lt;/p&gt; &lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPclkAa2PEI/AAAAAAAAASk/pfKfGCsBuRw/s1600-h/nat.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/4.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://4.bp.blogspot.com/_WZaKd_TFoLE/SPclkAa2PEI/AAAAAAAAASk/pfKfGCsBuRw/s400/nat.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257712390496468034" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcl0vbL5FI/AAAAAAAAASs/ewBfYzK4ZFU/s1600-h/nat+rule.JPG" onclick="javascript:pageTracker._trackPageview('/outbound/article/3.bp.blogspot.com');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://3.bp.blogspot.com/_WZaKd_TFoLE/SPcl0vbL5FI/AAAAAAAAASs/ewBfYzK4ZFU/s400/nat+rule.JPG" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" id="BLOGGER_PHOTO_ID_5257712677992260690" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-3087988333961288890?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/3087988333961288890/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/instalasi-mikrotik-router.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/3087988333961288890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/3087988333961288890'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/instalasi-mikrotik-router.html' title='instalasi mikrotik router'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WZaKd_TFoLE/SPchVpHE7fI/AAAAAAAAARU/PsSKiMxIPYw/s72-c/login.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-4475142504169036556</id><published>2009-11-22T08:55:00.000-08:00</published><updated>2009-12-15T08:33:29.444-08:00</updated><title type='text'>setting konfigurasi apache22 di freebsd kk..:)</title><content type='html'>disini saya akan menjelaskan bagaimana  setting apache 22 di freebsd 7.2 release...&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Apache mengkonfigurasi httpd.conf&lt;/span&gt; &lt;/h2&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Yang httpd.conf berisi paling semua pengaturan konfigurasi penting&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;.&lt;/span&gt; Semuanya dapat dilakukan di sini dari menambahkan virtual host, untuk menetapkan file log, untuk pengaturan. Htm file yang akan di-parsing untuk php.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Anda dapat membuka file httpd.conf untuk editting dengan&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ee /usr/local/etc/apache22/httpd.conf&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Ketika pertama kali mendapatkan server web akan Anda akan editting file ini banyak, jadi bukan ide buruk untuk membuat sebuah alias untuk perintah di atas di shell anda.&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Hal pertama yang Anda perlu untuk mengubah file ke server Anda akan mendapatkan adalah ServerName ke nama host yang ingin Anda gunakan untuk server&lt;/span&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;.&lt;/span&gt; Jika Anda tidak memiliki satu Anda dapat menggunakan alamat IP, atau localhost.&lt;/span&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Ini akan perlu diikuti dengan nomor port.&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ServerName www.yourdomain.com:80&lt;/span&gt; &lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Saat ini di Apache 2.2.x direktori default adalah / usr/local/www/apache22 bukan standar lama.&lt;/span&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Ini harus diubah menjadi direktori standar / usr / local / www / data di setiap tempat.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Anda dapat memindahkan folder seperti ini jika anda tidak memiliki versi sebelumnya terinstal apache yang telah menciptakan direktori sudah.&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# mv /usr/local/www/apache22 /usr/local/www/&lt;/span&gt; &lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt;  &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Anda dapat menggantinya dengan mudah dengan sarep dari pelabuhan dengan perintah ini.&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# sarep "/usr/local/www/apache22" "/usr/local/www" httpd.conf&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;&lt;p&gt;  &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Ini sudah cukup untuk mendapatkan server terjadi sehingga Anda dapat memeriksa bahwa itu akan berjalan, sehingga melakukan itu sekarang.&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Loading the accf_http module&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;FreeBSD Anda harus memuat accf_module sebelum Anda dapat mulai apache, jika Anda yakin untuk mendapatkan kesalahan httpready. Untuk memuat modul menggunakan kldload&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# kldload accf_http&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Jika dimuat berhasil maka tidak akan memberikan kesalahan atau output.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Memilikinya load ketika boot menambahkan ini ke file / boot / loader.conf file&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;accf_http_load="YES"&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;h2&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Starting Apache&lt;/span&gt;&lt;/span&gt; &lt;/h2&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Apache dikontrol dengan apachectl, beberapa contoh dari penggunaan yang&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# apachectl start&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# apachectl restart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# apachectl graceful&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# apachectl stop&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Pilihan yang anggun memiliki hasil yang sama seperti me-restart, hanya melakukannya dengan cara yang baik sebagai lawan untuk me-restart paksa me-restart server.&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Sebelum restart atau memulai Apache yang terbaik adalah menjalankan configtest untuk memeriksa kesalahan dalam httpd.conf&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# apachectl configtest&lt;/span&gt; &lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Jika ini kembali OK, lalu Anda baik untuk pergi.&lt;/span&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Ketika mulai Apache itu tidak akan memberitahu Anda jika mulai berhasil, cara termudah untuk memeriksa ini adalah untuk memulainya kembali.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Jika apache gagal untuk memulai sebelumnya ini akan memberitahu Anda bahwa Apache tidak berjalan bila Anda melakukan restart.&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Jika Apache tidak akan mulai Anda dapat memeriksa log pesan kesalahan&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# tail /var/log/messages&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# tail /var/log/httpd-error.log&lt;/span&gt; &lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Untuk memeriksa apakah Anda bisa mendapatkan ke server web Anda hanya menunjukkan browser ke mesin dan Anda akan mendapat pesan yang memberitahu bahwa Apache telah berhasil diinstal.&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Adding Virtual Hosts&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt;&lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Virtual host dapat diatur di Apache untuk mengarahkan lalu lintas tergantung pada host yang mereka gunakan untuk mengakses server.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Hal ini memungkinkan Anda memiliki banyak nama domain, dengan hanya satu alamat ip.&lt;/span&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Untuk menambahkan virtual host membuka / usr/local/etc/apache22/httpd.conf file dan virtual host unhash termasuk sehingga yang membawa dalam pengaturan untuk vhosts.&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# Virtual hosts&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Include etc/apache22/extra/httpd-vhosts.conf&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Kemudian tambahkan virtual host yang menyatakan virtual host untuk melihat, direktori dari situs web, dan di mana log pergi. Mereka dapat ditambahkan ke httpd.conf baik atau baru. Conf file di / usr / local / etc / apache22/Includes Semua file dalam / Termasuk berakhir dengan. conf akan dimasukkan dalam httpd.conf sama seperti jika Anda telah memasukkan kode secara langsung ke file tersebut.&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt; &lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;DocumentRoot /usr/local/www/yourdomain&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ServerName www.yourdomain.com&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ServerAlias stuff.yourdomain.com&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;CustomLog /usr/local/www/logs/domain-access_log combined&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ErrorLog /usr/local/www/logs/domain-error_log&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt; &lt;!-- virtualhost--&gt;&lt;/span&gt; &lt;/pre&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Dalam contoh di atas, ketika seorang pengguna pergi ke www.yourdomain.com atau stuff.yourdomain.com, Apache akan melihat arahan untuk virtual host dan melayani mereka halaman dari / usr / local / www / yourdomain&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Log akses menggunakan format yang gabungan log semua informasi, seperti browser, lihat, dan halaman.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Jika Anda menggunakan tempat ini atau yang lain untuk penebangan pastikan bahwa direktori ada atau Apache tidak akan mulai. Kami akan bekerja sama dengan log ini kemudian dengan &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.freebsdmadeeasy.com/tutorials/web-server/analyze-apache-web-server-logs-with-awstats.php&amp;amp;prev=/search%3Fq%3Dkonfigurasi%2Bapache%2B22%2Bdi%2Bfreebsd%26hl%3Did%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3DMPv%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhj3dhS1ioEuNSTkanPMm3Ik8xESAA"&gt;Awstats&lt;/a&gt; dan juga untuk &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.freebsdmadeeasy.com/tutorials/web-server/monitor-apache-web-server-in-real-time.php&amp;amp;prev=/search%3Fq%3Dkonfigurasi%2Bapache%2B22%2Bdi%2Bfreebsd%26hl%3Did%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3DMPv%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhhpN81H5gCRRT41taIVNgjKfH-uNw"&gt;real-time monitoring&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Lebih Virtual Host dapat ditambahkan dengan hanya menciptakan lebih banyak virtual host petunjuk di file httpd.conf.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Virtual host yang pertama tercantum akan menjadi default untuk itu Anda mengakses server dengan IP-nya.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Untuk mengubah kembali ini menunjuk pada / usr / local / www / data yang Anda akan perlu untuk membuat virtual host arahan yang menunjuk ke direktori tersebut dan tempat itu sebelum orang lain.&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Accessing Virtual Hosting without the Hostname&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Sejak virtual host bekerja secara ketat oleh host mereka tidak dapat digunakan ketika anda berada di belakang firewall atau router dan mesin-mesin di baliknya telah ips lokal seperti 192.168.0.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Setiap kali Anda mencoba mengakses host virtual maka anda hanya akan dibawa ke router dan diberikan sebuah kesalahan.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Untuk memperbaiki hal ini kita perlu membuka lebih banyak pelabuhan bagi Apache untuk didengarkan sehingga kita dapat mengakses situs secara langsung melalui bukannya ini virtual host.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Karena mesin berada di belakang firewall dan mendapatkan port mendapatkan jumlah port yang terbatas untuk hal ini diteruskan tidak akan dapat diakses dengan dunia luar kecuali Anda telah mereka diteruskan untuk itu.&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Apache menentukan yang mendengarkan di port itu dengan DENGARKAN baris di file httpd.conf.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Default adalah hanya mendengarkan di 80, tapi kita membutuhkannya untuk mendengarkan pada port tambahan baris sehingga lebih DENGARKAN perlu ditambahkan.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Jika kita mempunyai 3 virtual host yang kita ingin mengakses dengan port 6000, 6.001, dan 6.002 di file httpd.conf akan terlihat seperti ini&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Listen 80&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Listen 443&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Listen 6000&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Listen 6001&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Listen 6002&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Selanjutnya kita perlu mengatur virtual host untuk Apache ini agar tahu apa yang direktori untuk melayani dari ketika Anda itu diakses di pelabuhan-pelabuhan baru ini.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Mereka serupa dengan mengatur virtual host di atas, hanya sebagian besar pengaturan dapat di hiraukan&lt;/span&gt; &lt;/p&gt;&lt;blockquote&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt; &lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;DocumentRoot /usr/local/www/yourdomain&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;ServerName 192.168.0.45&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;&lt;/span&gt; &lt;!-- virtualhost--&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Dalam contoh ini apa pun yang masuk pada port 6.000 menunjuk ke / usr / local / www / yourdomain direktori yang sama dengan Virtual Host kami mendirikan di atas, tetapi sekarang kita dapat mengaksesnya dengan mengunjungi http://192.168. bukannya 0.45:6000 The http://www.yourdomain.com/ 192.168.0.45 harus diubah menjadi apa pun ip lokal dari server web Anda.&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Tidak ada file log yang ditentukan di sini karena ini hanya boleh diakses oleh Anda sendiri menguji situs lokal, dan Anda tidak ingin menghitung ini di situs web statistik.&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Sebuah virtual host seperti ini juga harus diciptakan untuk dua lokasi lain di 6.001, dan 6.002 hanya mengubah pelabuhan dan DocumentRoot untuk setiap virtual host direktif.&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Turning on the defaults&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Banyak pengaturan default kini disertakan dalam file terpisah dan mematikan default.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Menggunakannya unhash ini bagian dari file httpd.conf anda.&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# Various default settings&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Include etc/apache22/extra/httpd-default.conf&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Common Errors&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Kesalahan yang paling umum saat membuat Apache adalah "tidak dapat menentukan nama host lokal" error.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Kesalahan ini disebabkan oleh memecahkan nama host ke IP yang berbeda daripada yang telah.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Untuk memeriksa apa nama host Anda saat ini menggunakan hostname.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Kemudian gunakan nslookup di host untuk mendapatkan IP dan bandingkan dengan alamat IP yang mesin anda benar-benar menggunakan dengan ifconfig.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Contoh:&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# hostname&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;server.mydomain.com&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# nslookup server.mydomain.com&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Non-authoritative answer:&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Name:   server.mydomain.com&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Address: 10.1.1.30&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# ifconfig&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;inet 192.168.0.5 netmask 0xffffff00&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Kita bisa lihat di sini bahwa IP dari hostname tidak sesuai dengan sebenarnya IP dari mesin.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Cepat untuk memperbaiki hal ini adalah dengan hanya menambahkan hostname ke / etc / hosts.&lt;/span&gt; &lt;/p&gt;&lt;pre&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;# ee /etc/hosts&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;192.168.0.5 server.mydomain.com.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Ini akan menetapkan nama host ke IP ditugaskan ke mesin anda.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Pastikan Anda jangan lupa untuk memasukkan.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; di ujung saat menambahkan baris ini!&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;span style="" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Kesalahan lain yang sangat umum adalah yang satu ini&lt;/span&gt; &lt;/p&gt;&lt;pre&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter&lt;/span&gt;&lt;/span&gt; &lt;/pre&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Hal ini disebabkan oleh tidak memiliki accf_http modul kernel dimuat.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Loading itu dijelaskan di atas.&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Password Protecting Directories&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Direktori ditetapkan dilindungi password di dalam file httpd.conf juga.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt; Lihat tutorial &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.freebsdmadeeasy.com/tutorials/web-server/password-protect-directories-with-htaccess.php&amp;amp;prev=/search%3Fq%3Dkonfigurasi%2Bapache%2B22%2Bdi%2Bfreebsd%26hl%3Did%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3DMPv%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhiF_e2BxBrnXWx3gRmX3naUDBanNA"&gt;sandi melindungi direktori dengan htaccess&lt;/a&gt; di Apache&lt;/span&gt; &lt;/p&gt;&lt;h2&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;span class="google-src-text" style="direction: ltr; text-align: left;"&gt;Encrypting Traffic with SSL&lt;/span&gt; &lt;/span&gt; &lt;/h2&gt;&lt;p&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Data bergerak antara pengguna dan server Anda menjadi teks biasa dengan baik kecuali jika Anda menggunakan mengenkripsinya.&lt;/span&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Lihat tutorial tentang pengaturan &lt;a href="http://translate.googleusercontent.com/translate_c?hl=id&amp;amp;sl=en&amp;amp;u=http://www.freebsdmadeeasy.com/tutorials/web-server/apache-ssl-certs.php&amp;amp;prev=/search%3Fq%3Dkonfigurasi%2Bapache%2B22%2Bdi%2Bfreebsd%26hl%3Did%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3DMPv%26sa%3DX&amp;amp;rurl=translate.google.co.id&amp;amp;usg=ALkJrhg6vIF1vyCm7eE3kw6ADb5CvWbgNQ"&gt;SSL dengan Apache 2.&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-4475142504169036556?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/4475142504169036556/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/setting-konfigurasi-apache22-di-freebsd.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/4475142504169036556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/4475142504169036556'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/setting-konfigurasi-apache22-di-freebsd.html' title='setting konfigurasi apache22 di freebsd kk..:)'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3542267176054831403.post-7815159048089249227</id><published>2009-11-18T09:51:00.000-08:00</published><updated>2009-11-18T09:54:45.781-08:00</updated><title type='text'>selamat datang</title><content type='html'>selamat datang dihalaman blog saya. terima kasih sudah mau mengunjungi halaman blog saya.&lt;br /&gt;disini saya akan menumpahkan ilmu yg telah saya dapat dikuliah.terutama kegiatan dilab hardware yang saya lakuin sampe sekarang..&lt;br /&gt;disini saya akan belajar tentang freebsd,saya masih cupz dalam menggunakan OS dari freebsd.jadi mohon bimbingannya dari rekan-rekan yang berada diluar sana yak...&lt;br /&gt;&lt;br /&gt;mksh...&lt;br /&gt;lam kenal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3542267176054831403-7815159048089249227?l=nyahnyo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nyahnyo.blogspot.com/feeds/7815159048089249227/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/selamat-datang.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/7815159048089249227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3542267176054831403/posts/default/7815159048089249227'/><link rel='alternate' type='text/html' href='http://nyahnyo.blogspot.com/2009/11/selamat-datang.html' title='selamat datang'/><author><name>zai_cahyo</name><uri>http://www.blogger.com/profile/16054787840163328376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ODTYFcKRHLs/SwQ2XD17MvI/AAAAAAAAAAM/QDttdOR_jOQ/S220/IMG_0124.jpg'/></author><thr:total>0</thr:total></entry></feed>
