Kamis, 20 Juli 2023
Sabtu, 19 April 2014
curcol
huft...ngenes....email yahoo q g bsa di buka...jd g bsa otak-atik blogger q yg isinya puisi-puisi q
Diposting oleh Desy purwati di 01.03 0 komentar
Rabu, 07 April 2010
http://tonyibrahimkkpi.blogspot.com/2008/10/modul-5.html
Diposting oleh Desy purwati di 23.18 0 komentar
Senin, 08 Februari 2010
sesorah tema teknologi
Assalamu’alaikum wr.wb
Ingkang dahat kinurmatan ibu muji .Ugi ingkang kula tresnani kanca-kanca sedaya.Sumangga langkung rumiyin kula lan panjenengan sami munjuk ake puji syukur dhumateng ngarsaning Gusti ingkang Maha Agung awit dumugi wekdal punika kula lan panjenengan taksih pinaringan kasarasan lan kawilujengan.Katitik ing wekdal punika kula lan panjenengan taksih pinaringan kalodhangan makempal wonten mriki.
Ibu muji ingkang dahat kinurmatan ugi kanca-kanca ingkang kula tresnani.Tema ingkang badhe kula aturaken inggih menika Teknologi Informasi.Selampahipun perkembangan teknologi wekdal menika zaman sampun ewah.Saking zaman industri dados zaman teknologi informasi.Nalar ekspansif lan eksploitatif bangsa Eropa ingkang mbeta peradaban manungsa wonten ing zaman industri. Zaman menika dipunlampahi wonten atusan tahun.Salajengipun zaman industri dados zaman teknologi informasi,zaman menika marisi donya pasca kolonialisasi fisik lan perang donya.Zaman salajengipun donya dados tambah ciut lan global.Internet kepanggih lan teknologi sanesipun.Era cyber menika ndadosaken lahiripun nilai-nilai enggal lan kelompok dominan enggal .Nanging kita mboten saget nglirwakaken bilih sedaya ingkang wonten ing donya menika wonten mumpangatipun ,nanging sedaya gumantung kaliyan sinten ingkang badhe ngginaaken teknologi menika.Ugi kados pundi kita sami migunaaken teknologi menika ,sahingga saestu saged mumpangati dhumateng kita sedaya,tuladhanipun.
Pangajeng-ajeng kula tumprap kanca-kanca,supados saged ngginaaken teknologi informasi menika kanti leres,sahingga wontenipun teknologi menika mboten ndamel kacilakaning tumprap kita sedaya.
Cekap semanten ingkang saged kula aturaken,menawi wonten kalepatanipun,kula nyuwun agunging samudra pangaksami.Matur nuwun .
Wassalamu’alaikum wr.wb
Diposting oleh Desy purwati di 21.43 0 komentar
rangkuman ubuntu 9.10
1. #sudo passwd root
2. #vim /etc/network/interfaces
3. auto eth0
iface eth0 inet static
address 200.100.50.9
netmask 255.255.255.240
auto eth0:1
iface eth0:1 inet static
address 200.100.51.9
netmask 255.255.255.240
4. #:wq
#/etc/init.d/networking restart
5. #cd /etc/bind
6. #cp db.127 9
7. #cp db.local www.smk1batang.sch.id
8. #vim 9
www.smk1batang.sch.id. root.smk1batang.sch.id. (
@ IN NS www.smk1batang.sch.id.
50.100.200 IN PTR www.smk1batang.sch.id.
9. #:wq
10. #vim www.smk1batang.sch.id
www.smk1batang.sch.id. root.smk1batang.sch.id. (
@ IN NS www.smk1batang.sch.id.
@ IN A 200.100.50.9
@ IN AAAA ::1
11. #:wq
12. #cd /etc/bind
13. #cp db.127 tkj
14. #cp db.local tkj.smk1batang.sch.id
15. #vim tkj
tkj.smk1batang.sch.id. root.smk1batang.sch.id. (
@ IN NS tkj.smk1batang.sch.id.
50.100.200 IN PTR tkj.smk1batang.sch.id.
16. #:wq
17. #vim tkj.smk1batang.sch.id
tkj.smk1batang.sch.id. root.smk1batang.sch.id. (
@ IN NS tkj.smk1batang.sch.id.
@ IN A 200.100.51.9
@ IN AAAA ::1
18. #:wq
19. #vim named.conf.default-zones
zone “25.in-addr.arpa” {
type master;
file “/etc/bind/25”;
};
zone “www.smk1batang.sch.id” {
type master;
file “/etc/bind/www.smk1batang.sch.id”;
};
zone “tkj.in-addr.arpa” {
type master;
file “/etc/bind/tkj”;
};
zone “tkj.smk1batang.sch.id” {
type master;
file “/etc/bind/tkj.smk1batang.sch.id”;
};
20. #:wq
21. #/etc/init.d/bind9 restart
22. #cd /etc
23. #vim resolve.conf
search www.smk1batang.sch.id
nameserver 200.100.50.9
search tkj.smk1batang.sch.id
nameserver 200.100.51.9
24. #:wq
25. #/etc/init.d/networking restart
26. #/etc/init.d/bind9 restart
27. #nslookup www.smk1batang.sch.id
28. #nslookup tkj.smk1batang.sch.id
29. #vim /etc/hosts
200.100.50.9 www.smk1batang.sch.id
200.100.51.9 tkj.smk1batang.sch.id
30. #/etc/init.d/networking restart
31. #vim /etc/apache2/sites-available/default
ServerAdmin webmaster@localhost
ServerName www.smk1batang.sch.id
ServerName tkj.smk1batang.sch.id
DocumentRoot /home/tkj
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
32. #:wq
33. #/etc /init.d/apache2 restart
34. #cd
35. #apt-get install samba
36. #mkdir /home/tkj
37. #cd /etc/samba
38. #vim smb.conf
[web sekolah]
comment = All Printers
browseable = yes
path = /var/www
writeable = yes
guest ok = yes
read only = no
create mask = 0700
[web jurusan]
comment = web
browseable = yes
path = /home/tkj
writeable = yes
guest ok = yes
read only = no
create mask = 0700
39. #:wq
40. #/etc/init.d/samba restart
41. #smbpasswd –a root
42. #smbpasswd –a peserta9
43. #cd /etc
44. #ls
45. #cd /var/www
46. #ls
46. #chmod 777 –R index.html
#chmod 777 –R /var
#chmod 777 –R /var/www
#chmod 777 –R /home/
#chmod 777 –R /home/tkj
Ip client 200.100.50.4
255.255.255.240
200.100.50.9
200.100.51.9
Start>run>//200.100.50.9>copykan web
Diposting oleh Desy purwati di 21.26 0 komentar
Jumat, 27 November 2009
ubuntu server & router
INSTALL UBUNTU UNTUK WEB SERVER
1) Kabel jaringan harus di lepas dulu
2) Masukkan cd ubuntu
3) Tekan del berkali-kali hingga muncul bios
4) Boot from cd [ENTER]
5) Install to the hardisk [ENTER]
6) pilih bahasa Englis [ENTER]
7) United status ENTER]
8) Keyboard……….. NO… [ENTER]
9) Us englis[ENTER]
10) Configure network eth0[ENTER]
11) continue[ENTER]
12) configure network manually[ENTER]
13) ip address 192.168.1.33 continue[ENTER]
14) netmask 255.255.255.192 continue[ENTER]
15) gateway 192.168.1.62 continue[ENTER]
16) nameserver 192.168.1.62 continue[ENTER]
17) hostname smk1 continue[ENTER]
18) partition disk manual [ENTER]
19) membuat partisi >partisi hardisk (sudah ter install ubuntu)>manual[ENTER]
kalau belum ada installan ubuntu >guided>resize.partisi punya windows bertanda ntfs (jangan di ubah)
20)klik free space yg sudah di partision klik free space yg sudah di partision [ENTER] Pilih creat new partition>ukuran Primary 20gb
Logikal(swap) 20gb
Free space………..gb
#Catatan:membuatnya satu-satu
Pilih type primary[ENTER]
Aktifkan :use as :ext3
jousnaling file system formal the partitions[ENTER] :yes,
mount point[ENTER] : /-
the root file system mount options:default
label:none
reserved blacks:5%
typical urage:standard
bootable flag :on
kemudian logical(swap)
21)pilih done setting up the partition
22)finish partitioning and write changes to disk >yes[ENTER]
23)select your time zone:Eastern[ENTER]
24)full name for the new user :smk1[ENTER]
25)user name for your account:smk1[ENTER]
26)password :smk1[ENTER]
27)confirmasi password:smk1[ENTER]
28)PROSES INSTALL……….
29)HTTP proxi information:dikosongi[ENTER]
30)choose software to install
<*>lamp server
<*>open ssh
<*>samba server
<*>dns
[ENTER]
#JIKA UNTUK ROUTER DI KOSONGI SAJA LANGSUNG CONTINUE TANPA DI ISI PILIHAN
…………..PROSES INSTAL
31)New password for the mysql root:smk1[ENTER]
32)install the GRUP :yes[ENTER]
33)finis the installation [ENTER]
34)install complete continue [ENTER]
35)cd di keluarkan
36)restart comtinue[ENTER]
KONFIGURASI UBUNTU SEBAGAI WEB SERVER
>>Membuat password root
Login:smk1[ENTER]
Pswd:smk1[ENTER]
Smk1@smk1:~$ sudo passwd root[ENTER]
[sudo]password for smk1:smk1[ENTER]
Enter new UNIX password:smk1[ENTER]
Retype new UNIX password:smk1[ENTER]
Passwd:password update successfully
Smk1@smk:~$ su[ENTER]
Password:smk1[ENTER]
Login ulang sebagai root
Login:root[ENTER]
Password:smk1[ENTER]
root@smk1:/home/smk1#cd /etc/network[ENTER]
root@smk1: /etc/network#vim interface[ENTER]
TEKAN i UNTUK MENGEDIT
auto eth0
iface eth0 inet static
address 192.168.1.33
netmask 255.255.255.192
gateway 192.168.1.62
TEKAN Esc :wq[ENTER]
root@smk1: /etc/network#/ /etc/init.d/networking restart[ENTER]
root@smk1: /etc/network#ifconfig[ENTER]
root@smk1: /etc/network#ping 192.168.1.62[ENTER]
>>SETTING DNS SERVER
root@smk1: /etc/network#cd /etc/bind[ENTER]
root@smk1: /etc/bind#cp db.172 3[ENTER]
root@smk1: /etc/bind#cp db.local www.server3.com[ENTER]
root@smk1: /etc/bind#vim 3[ENTER]
MUNCUL TAMPILAN
EDIT DG CARA TEKAN i Local host diganti www.server3.com. Root.server3.com. (
;
;BIND reverse data file for local host loop back interface
;
$ TTL 604800
@ IN SOA www.server3.com. root.server3.com. (
1 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800) ;Negative Chace TTL
;
@ IN NS www.server3.com.
1.168.192 IN PTR www.server3.com.
SETELAH SELESAI TEKAN Esc:wq[ENTER]
root@smk1: /etc/bind#vim www.server3.com
MUNCUL TAMPILAN
EDIT DG CARA TEKAN i Local host diganti www.server3.com. Root.server3.com. (
;
;BIND reverse data file for local host loop back interface
;
$ TTL 604800
@ IN SOA www.server3.com. root.server3.com. (
1 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800) ;Negative Chace TTL
;
@ IN NS www.server3.com.
@ IN A 192.168.1.33
SETELAH SELESAI TEKAN Esc:wq[ENTER]
root@smk1: /etc/bind#vim named.conf[ENTER]
TEKAN i UNTUK MENGEDIT
DI KETIK DI BAWAH TULISAN
Zone “255.in-addr.arpa” {
type master;
file “ /etc /bind/db.255”;
DIKETIK SENDIRI
};
Zone “3.in-addr.arpa” {
type master;
file ” /etc/bind/3”;
};
Zone “www.server3.com {
type master;
file “ /etc/bind/server3”;
};
SETELAH SELESAI TEKAN Esc:wq[ENTER]
root@smk1: /etc/bind# /etc/init.d/bind9 restart[ENTER]
root@smk1: /etc/bind#cd[ENTER]
root@smk1: /etc#cd /etc/bind[ENTER]
root@smk1: /etc/bind#vim resolv.conf[ENTER]
DIKETIK SENDIRI TEKAN i UNTUK MENGEDIT
search www.server3.com
nameserver 192.168.1.33
nameserver 192.168.1.62
SETELAH SELESAI TEKAN Esc:wq[ENTER]
root@smk1: /etc# /etc/init.d/networking restart[ENTER]
root@smk1: /etc#nslookup www.server3.com[ENTER]
>>INSTAL SAMBA DI UBUNTU
root@smk1: /etc/bind#cd[ENTER]
root@smk1:~apt-get install samba[ENTER]
root@smk1:~#cd /etc/samba/smb.conf /etc/samba/smb.conf.default[ENTER]
roor@smk1: /etc/samba#vim smb.conf[ENTER]
>>UNTUK MERESTART SAMBA:
root@smk1: /var/www# /etc/init.d/samba restart[ENTER]
>>CARA MEMBUAT FOLDER DI MK COMEN LINUX/MEMBUAT DIR SAMBA UNTUK SHARING:
root@smk1: /var/www#mkdir /sharing[ENTER]
root@smk1: /var/www#cd/[ENTER]
root@smk1: /var/www#ls[ENTER]
PINDAH dir cd /etc/samba
Mengedit smb.conf:vim smb.conf
Share definitions(tempat folder-folder yg di sharing)
DI HAPUS TANDA(;)
;[home]
;comment:Home directories
;browseable:no
MASIH TERTUTUP
KEMUDIAN DI UBAH
[home]
Comment:Home directories
Browseable:yes
SUDAH DI BUKA
>>SHARING FOLDER
DIKETIK SENDIRI
[nama folder]>MISAL wesite utama
comment:kelompok3
Path: /var/www
writable:yes
browseable:yes
read only:no
>>UNTUK MEMBERI INSTALAN WORDPRESS,SMF,PHP MY ADMIN:
1.Buka run /192.168.1.33[ENTER] Di computer client
2.Copykan file instalan wordpress,smf,php.my admin yang sudah di extract dan di rename….di folder web site
a.)wordpress di rename menjadi kelompok3,
b.)smf di rename menjadi forum_kelompok3
c.)php.myadmin di rename menjadi phpadmin.
Buka putty atau ketik di computer web server
root@smk1:~#cd /var[ENTER]
root@smk1: /var#chmod 777 –R www[ENTER]
root@smk1: /var#cd www[ENTER]
root@smk1: /var/www#ls[ENTER]
apache2-default kelompok3
root@smk1: /var/www#chmod 777 –R kelompok3/[ENTER]
root@smk1: /var/www#ls[ENTER]
apache2-default kelompok3 phpadmin
root@smk1: /var/www#chmod 777 –R phpadmin/[ENTER]
root@smk1: /var/www#ls[ENTER]
apache2-default kelompok3 phpadmin forum_kelompok3
root@smk1: /var/www#chmod 777 –R forum_kelompok3[ENTER]
3.buka mozila ketik di address bar192.168.1.33/kelompok3 dan buka mozila ketik di address bar 192.168.1.33/phpadmin>dan ikuti langkah selanjutnya……
4.buka mozila ketik di address bar 192.168.1.33/forum_kelompok3 dan buka mozila ketik di address bar 192.168.33/phpadmin>dan ikuti langkah selanjutnya….
Jika sudah jadi semua…folder-folder yg tadi sudah di copikan di folder web site yg folder installan di rename atau di hapus.supaya tidak ter install lagi….
>>PERINTAH UNTUK MENDAFTARKAN USER smk1 DI DALAM USER SAMBA
root@smk1: /var/www#smb passwd –a smk1[ENTER]
>>CARA MENBUAT USER UTK SAMBA:
root@smk1:~#useradd smk1[ENTER]
>>UNTUK MENGECEK:
root@smk1:~#cd /home[ENTER]
root@smk1:/home# ls[ENTER]
root@smk1:/home#adduser smk1[ENTER]
>>UNTUK MENAMPILKAN FILE WEB SAYA DI WEB SERVER
root@smk1: /var/www#
welcome
Pindahkan ke pointer yang paling bawah untuk menyimpan tekan esc:wq[ENTER]
INSTALL UBUNTU UNTUK ROUTER
1)Kabel jaringan harus di lepas dulu
2)Masukkan cd ubuntu
3)Tekan del berkali-kali hingga muncul bios
4)Boot from cd [ENTER]
5)Install to the hardisk [ENTER]
6)pilih bahasa Englis [ENTER]
7)United status ENTER]
8)Keyboard……….. NO… [ENTER]
9)Us englis[ENTER]
10)Configure network eth0[ENTER]
11)continue[ENTER]
12)configure network manually[ENTER]
13)ip address 192.168.1.14 continue[ENTER]
14)netmask 255.255.255.0 continue[ENTER]
15)gateway 192.168.1.1 continue[ENTER]
16)nameserver 192.168.1.62 continue[ENTER]
17)hostname smk1 continue[ENTER]
18)partition disk manual [ENTER]
19)membuat partisi >partisi hardisk (sudah ter install ubuntu)>manual[ENTER]
kalau belum ada installan ubuntu >guided>resize.partisi punya windows bertanda ntfs (jangan di ubah)
20)klik free space yg sudah di partision klik free space yg sudah di partision [ENTER] Pilih creat new partition>ukuran Primary 20gb
Logikal(swap) 20gb
Free space………..gb
#Catatan:membuatnya satu-satu
Pilih type primary[ENTER]
Aktifkan :use as :ext3
jousnaling file system formal the partitions[ENTER] :yes,
mount point[ENTER] : /-
the root file system mount options:default
label:none
reserved blacks:5%
typical urage:standard
bootable flag :on
kemudian logical(swap)
21)pilih done setting up the partition
22)finish partitioning and write changes to disk >yes[ENTER]
23)select your time zone:Eastern[ENTER]
24)full name for the new user :smk1[ENTER]
25)user name for your account:smk1[ENTER]
26)password :smk1[ENTER]
27)confirmasi password:smk1[ENTER]
28)PROSES INSTALL……….
29)HTTP proxi information:dikosongi[ENTER]
30)choose software to install
<>lamp server
<>open ssh
<>samba server
<>dns
[ENTER]
#JIKA UNTUK ROUTER DI KOSONGI SAJA LANGSUNG CONTINUE TANPA DI ISI PILIHAN
…………..PROSES INSTAL
31)New password for the mysql root:smk1[ENTER]
32)install the GRUP :yes[ENTER]
33)finis the installation [ENTER]
34)install complete continue [ENTER]
35)cd di keluarkan
36)restart comtinue[ENTER]
CATATAN KONFIGURASI UNTUK ROUTER:
>>Membuat password root
Login:smk1[ENTER]
Pswd:smk1[ENTER]
Smk1@smk1:~$ sudo passwd root[ENTER]
[sudo]password for smk1:smk1[ENTER]
Enter new UNIX password:smk1[ENTER]
Retype new UNIX password:smk1[ENTER]
Passwd:password update successfully
Smk1@smk:~$ su[ENTER]
Password:smk1[ENTER]
Login ulang sebagai root
Login:root[ENTER]
Password:smk1[ENTER]
root@smk1:/home/smk1#cd /etc/network[ENTER]
root@smk1: /etc/network#vim interface[ENTER]
TEKAN i UNTUK MENGEDIT
auto eth0
iface eth0 inet static
address 192.168.1.14
netmask 255.255.255.192
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.62
#dns-*options are implemented by the resolvconf package,if installed dns-nameserver 192.168.1.1
auto eth1
iface eth1 inet static
address 172.16.3.3
netmask 255.255.255.192
network 192.168.1.0
broadcast 192.168.1.62
TEKAN Esc :wq[ENTER]
root@smk1: /etc/network#/ /etc/init.d/networking restart[ENTER]
root@smk1: /etc/network#ifconfig[ENTER]
root@smk1:~#cat /etc/rc.local[ENTER]
KETIK DI BAWAH TULISAN:
#Bydefault this script does noting
Iptables –restore < /etc/iptables
Echo”1” > /proc/sys/net/ipv4/ip-forward exit0
TEKAN Esc :wq[ENTER]
root@smk1:#vim /etc/resolv.conf[ENTER]
TEKAN i UNTUK MENGEDIT
KETIK SENDIRI
nameserver 192.168.1.33
nameserver 192.168.1.62
TEKAN Esc :wq[ENTER]
rootsmk1:~#iptables –t nat –A POSTROUTING –S 192.168.1.22/255.255.255.0 –j MASQUERADE [ENTER]
root@smk1:~#iptables – save > /etc/iptables[ENTER]
root@smk1:~# /etc/init.d/networking restart[ENTER]
root@smk1:~#vim /etc/init.d/rc.local
esac
echo “i” > /proc/sys/net
-A PREROUTING –S 172.16.3.0/255.255.255.0 –P tcp –m tco –m tcp –dport 80-j DNAT –to – destination 172.16.3.3:3/28 –A POSTROUTING -0 eth0 –j MASQUERADE COMIT
INSTALL UBUNTU DG SATU LAN
login dg user yg di buat
pswd….
~sudo passwd root(password user)
~password baru
~root dan password
~vim /etc/network/interfaces
~shift:q[ENTER]
TEKAN i UNTUK MENGEDIT
auto eth0
iface eth0 inet static
address 192.168.1.32(terserah)
netmask 255.255.255.0
gateway 192.168.1.62
auto eth0=1
iface eth0=1 inet static
address 192.168.32.1
netmask 255.255.255.0
TEKAN Esc :wq[ENTER]
~ /etc/
~ifconfig
~ping ke gateway 192.168.1.62
Kemudian setting DNS SERVER computer server
~vim /etc/resolv.conf
Tambahkan :
nameserver 192.168.1.62
nameserver 202.134.0.155
TEKAN Esc :wq[ENTER]
~kemudian setting forward utk server
~vim /etc/sysctl.conf
Tambahkan di baris paling bawah
~net.ipv4.ip_forward=1
TEKAN Esc :wq[ENTER]
~sysctl –p(untuk menjalankan forward di atas)
~kemudian setting iptables
Ketik:
Iptables –t nat –A POSTROUTING –S 192.168.32.0/255.255.255.0 –j MASQUERADE
~iptables disimpan dg:
Iptables – save > /etc/iptables
~vim /etc/init.d/rc.local
~tambahkan di baris paling bawah
Iptables – restore. /etc/iptables
~restart computer server:reboot
Diposting oleh Desy purwati di 19.57 0 komentar
Jumat, 13 November 2009
syntax.php
for($i=1;$i<=549;$i++){
echo"desy";
}
?>
-------------------------------------------------------------------------------------
$jenkel='P';
IF($jenkel=='P'){
echo"Jenis Kelamin =Perempuan";
}elseif($jenkel=='L'){
echo"Jenis Kelamin=Laki-laki";
}else{
echo"Jenis Kelamin=Tidak Jelas";
}
?>
Diposting oleh Desy purwati di 22.29 0 komentar