![]() |
|
A - Z Instalasi Fedora Sebagai Server Dan Web Server - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Operating System (https://hacker-newbie.org/forum-13.html) +---- Forum: GNU/Linux (https://hacker-newbie.org/forum-15.html) +---- Thread: A - Z Instalasi Fedora Sebagai Server Dan Web Server (/thread-4145.html) Pages:
1
2
|
A - Z Instalasi Fedora Sebagai Server Dan Web Server - Rinowengi - 07-29-2010 ini original source saat bejamz menggunakan mesin fedora di alienware na kebetulan masih ada sesuai rekuest langsung saya copas chek this out Menggunakan Fedora Sebagai Router Pasang Ethernet Card Kali Ini Kami Menggunakan TL-3200 dari Tp Link Instal Driver (karena driver bawaanya masih beruba source code C kita harus menginstal compiler C dulu beserta dependensinya agar bisa kita compile dan instal) Setting Modem ADSL Speedy dengan ppoe Konfigurasikan Ip eth0 (Lan Card Yang Kita Gunakan Ke Modem ADSL) buat sebuah file di /etc/sysconfig/network-scripts/ifcfg-eth0 Lalu isikan dengan # bejamz DEVICE=eth0 HWADDR=00:E0:4D:8A:1A:00 TYPE=Ethernet BOOTPROTO=static IPADDR=192.168.1.2 PREFIX=24 GATEWAY=192.168.1.1 DNS1=203.130.208.18 NAME="System eth0" UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 ONBOOT=yes USERCTL=no Kemudian Setting Dns di etc/resolv.conf nameserver 203.130.208.18 Setting Ip Forwading /etc/sysctl.conf rubah net.ipv4.ip_forward = 0 menjadi net.ipv4.ip_forward = 1 Restart Network Dengan Perintah /etc/init.d/network Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Disabling IPv4 packet forwarding: [ OK ] Setting network parameters: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] Test Dengan Ping Pada Gateway Atau Coba Browsing. ===================================================================== Setting Auto_eth1 (Ethernet Card Yang Akan Dihubungkan Ke Client) Sama Seperti Diatas Buka /etc/sysconfig/network-scripts/ifcfg-eth1 Isi Dengan HWADDR=00:27:19:F0:99:6A TYPE=Ethernet BOOTPROTO=none IPADDR=192.168.6.100 PREFIX=24 DNS1=203.130.208.18 NAME="eth1" UUID=75ecf8ab-f3f7-48f4-884e-37d19eb4f8a3 ONBOOT=yes USERCTL=no Restart Network Lagi Matikan Iptables /etc/init.d/iptables stop Flushing all chains: [ OK ] Removing user defined chains: [ OK ] Resetting built-in chains to the default ACCEPT policy: [ OK ] Tambahkan Ip Tables Untuk Source nat Sesuai Dengan Settingan eth0 tadi /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.6.0/24 -j SNAT --to-source 192.168.1.2 Save Iptables /sbin/iptables-save > /etc/sysconfig/iptables Restart Iptables /etc/init.d/iptables restart Flushing all current rules and user defined chains: [ OK ] Clearing all current rules and user defined chains: [ OK ] Applying iptables firewall rules: [ OK ] Lalu Setting Client Jika Menggunakan Hub Atau Langsung Kabel LAN Lansgung Aja gateway Nya Ke Ip Router Fedora Kami Tapi Disini Kami Menambahkan Router Wifi Agar Bisa Dijadikan Hotspot Catatan : 1.Kami membedakan Subnet Dengan Tujuan Agar Klient Tidak Bisa Masuk Modem Secara Langsung 2.Monitoring Bandwith # yum -y install bwm-ng # bwm-ng 3.Kami Juga menginstal Samba Untuk memudahkan Client Mengcopy File Dan Print Ke server ============================================== Install apache, php, mysql dan phpmyadmin Pertamaxzzz yum list installed *httpd* [root@lapoetra yum.repos.d]# yum list *httpd* Loaded plugins: presto, refresh-packagekit Installed Packages httpd.i686 2.2.13-4.fc12 @rawhide httpd-tools.i686 2.2.13-4.fc12 @rawhide Available Packages anyterm-httpd.i686 1.1.29-8.fc12 fedora ebhttpd.i686 1.0-7.fc12 fedora httpd.i686 2.2.14-1.fc12 updates httpd-devel.i686 2.2.14-1.fc12 updates httpd-manual.noarch 2.2.14-1.fc12 updates httpd-tools.i686 2.2.14-1.fc12 updates libmicrohttpd.i686 0.4.2-2.fc12 fedora libmicrohttpd-devel.i686 0.4.2-2.fc12 fedora libmicrohttpd-doc.noarch 0.4.2-2.fc12 fedora lighttpd.i686 1.4.26-2.fc12 updates lighttpd-fastcgi.i686 1.4.26-2.fc12 updates lighttpd-mod_geoip.i686 1.4.26-2.fc12 updates lighttpd-mod_mysql_vhost.i686 1.4.26-2.fc12 updates mantis-config-httpd.noarch 1.1.8-3.fc12 updates mogstored-backend-lighttpd.noarch 2.30-3.fc12 fedora ocaml-ocamlnet-nethttpd.i686 2.2.9-15.fc12 fedora ocaml-ocamlnet-nethttpd-devel.i686 2.2.9-15.fc12 fedora system-config-httpd.noarch 5:1.4.6-1.fc12 fedora tclhttpd.i686 3.5.1-21.fc12 fedora thttpd.i686 2.25b-23.fc12 fedora viewvc-httpd.noarch 1.1.5-1.fc12 updates [root@lapoetra yum.repos.d]# [root@lapoetra yum.repos.d]# yum info httpd Loaded plugins: presto, refresh-packagekit Installed Packages Name : httpd Arch : i686 Version : 2.2.13 Release : 4.fc12 Size : 2.7 M Repo : installed From repo : rawhide Summary : Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description: The Apache HTTP Server is a powerful, efficient, and extensible : web server. Available Packages Name : httpd Arch : i686 Version : 2.2.14 Release : 1.fc12 Size : 804 k Repo : updates Summary : Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description: The Apache HTTP Server is a powerful, efficient, and extensible : web server. Konfiguration apache [root@lapoetra lapoetra]# /etc/init.d/httpd start Starting httpd: [ OK ] Buat menjadi Otomatis Service Berjalan Di Startt up chkconfig httpd on Instal PHP yum install php Instal Mysql yum install mysql mysql-server ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: mysql i686 5.1.46-1.fc12 updates 896 k mysql-server i686 5.1.46-1.fc12 updates 8.6 M Installing for dependencies: perl-DBD-MySQL i686 4.013-2.fc12 fedora 153 k perl-DBI i686 1.609-3.fc12 fedora 688 k Jalankan service Mysql /etc/init.d/mysqld start menjadikan service berjalan tiap kali booting chkconfig mysqld on membuat username dan password mysql mysqladmin -u root password bejamz instal phpmyadmin yum install phpmyadmin ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: phpMyAdmin noarch 3.2.5-1.fc12 updates 2.7 M Installing for dependencies: libmcrypt i686 2.5.8-9.fc12 fedora 90 k php-mcrypt i686 5.3.2-2.fc12 updates 27 k php-mysql i686 5.3.2-2.fc12 updates 72 k php-pdo i686 5.3.2-2.fc12 updates 69 k Restart Web Server /etc/init.d/httpd restart Apache Mysql Dan Phpmyadmin Siap Digunakan DNS Server yum install bind bind-libs bind-utils bind-chroot ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bind i686 32:9.6.2-3.P1.fc12 updates 3.3 M bind-chroot i686 32:9.6.2-3.P1.fc12 updates 63 k Updating: bind-libs i686 32:9.6.2-3.P1.fc12 updates 794 k bind-utils i686 32:9.6.2-3.P1.fc12 updates 169 k Installing for dependencies: dnssec-conf noarch 1.21-8.fc12 updates 51 k python-dns noarch 1.7.1-2.fc12 fedora 175 k Edit /etc/httpd/conf/httpd.conf Buat Virtualhost Agar Klient Dapat Mengakses Localhost Kita Instal FTP yum install proftpd-mysql RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - b0rn30 - 07-29-2010 pertamax.............. amankan................. RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - Jahat - 07-29-2010 nice share kakak... ![]() ![]()
RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - Rinowengi - 07-29-2010 * Rinowengi hanya copas aja ![]() ![]()
RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - luthfi_dc - 07-29-2010 assalamu'alaikum ayo mas rino keluarin semua tutorial linuxnya makasih mas tutornya tapi masih kurang ngerti g ada gambarnya ![]() wassalamu'alaikum RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - Rinowengi - 07-29-2010 * Rinowengi hanya copas aja ![]() munkin dari nara sumber bisa menambahkan image ma ![]() ![]()
RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - Up_ - 07-29-2010 kalo nginstal perl?? RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - N4is3N - 07-29-2010 (07-29-2010, 10:06 PM)Up_ Wrote: kalo nginstal perl?? # yum -y install perl RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - maximus999 - 07-29-2010 (07-29-2010, 09:33 PM)rinowengi Wrote: * rinowengi hanya copas ajagpp yang penting share
RE: A - Z Instalasi Fedora Sebagai Server Dan Web Server - Bejamz - 07-29-2010 Wogh Oye Oye Lah ... Banyak tutor Yang Pending Tu Post Aja Duluan |