http://blog.cartercole.com/2009/10/awesome-syntax-highlighting-made-easy.html
http://rehmoe.blogspot.com/2011/06/5-tools-syntax-highlighter-untuk.html
contoh code menghitung kecepatan komputer dalam memproses perkalian antar matrix 1000x1000
root@globus:~# /etc/init.d/mysql stopand then
root@globus:~# /usr/bin/mysqld_safe --skip-grant-tables &tunggu hingga proses selesai, lalu masuk sebagai root
root@globus:~# mysql --user=root mysql
mysql> update user set Password=PASSWORD('passwordbaru') WHERE User='root';
mysql> flush privileges;
ok, proses reset beres
sekarang masuk ke mysql lagi
masukkan yang kamu tulis di "passwordbaru"root@globus:~# mysql --user=root -p
#!/bin/shtaruh bnet-mati.sh di /root/ , karena aku punya masalah privilege kalau tidak disitu. Ok, setting cronnya adalah sbb :
cat /home/umek/script/bnet_die.txt > /etc/shorewall/rules && /etc/init.d/shorewall restart
sudo crontab -eisi sampai seperti gambar ini
sudo /etc/init.d/cron restart
list barang yang akan dibeli | |||||||
no | item | jumlah | keterangan tambahan | harga 1buah | |||
1 | UPS merk APC 8-16KW | 2 unit | keperluan lab | ||||
2 | PC server | 3 unit | cygnus, kirby, data center | 20 juta | |||
3 | Switch 24 port | 3 unit | keperluan lab | 15 juta | |||
4 | Wifi router | 2 unit | keperluan lab | 1 juta | |||
5 | PC rendering | 6 unit | dev game, TA, image pros | 30 juta | |||
6 | Mac mini | 2 unit | dev android + mobile | 8 juta | |||
7 | KURSI "paling urgent" | 40 unit | keperluan lab | 500 ribu | |||
8 | Lennovo thinkpad tablet | 3 unit | dev android + mobile | 8 juta | |||
9 | Printer bulit-in tank | 2 unit | keperluan lab | 2 juta | |||
10 | Kinnect | 2 unit | TA + game dev | 2 juta | |||
11 | Web Cam yang bagus | 10 unit | dev game, TA, image pros | 2,5 juta | |||
12 | 6 pc server oracle grid | 6 unit | dev networking | 20 juta | |||
13 | arm11 | 2 unit | dev embed | 2,5 juta | |||
14 | octorotor | 1 unit | dev embed | ||||
15 | cisco router asa5520-aip10-k9 | 1 unit | dev network + certified cisco | 130 juta | |||
16 | IBM Power 795 + Aix Unix | 1 unit | dev network + certified unix | 120 juta | |||
17 | 20 pc lab | 20 unit | keperluan lab | 6 juta | |||
18 | networking toolkit | 1 set | keperluan lab | 5 juta | |||
19 | toolsets | 1 set | keperluan lab | 2 juta | |||
20 | Playstation 3 | 2 unit | dev game, TA, rendering | 4 juta | |||
21 | OS Unix | 1 unit | dev network | 100 juta | |||
22 | Arduino bluetooth | 1 unit | dev embed | 1,5 juta | |||
23 | DVD-RW biasa + Portable | 4 unit | keperluan lab | 500rb | |||
24 | KVM 16 port | 1 unit | keperluan lab | 6 juta | |||
25 | kasur gulung | 8 unit | keperluan lab | 200rb |
tinggal masukkan password. tunnel pun jalan. (umek adalah user, server ip 10.122.1.1)ssh -fgCND 7777 umek@10.122.1.1
sudo apt-get install xrdpdi client windows, start+r, tulis mstsc -v 10.122.1.66 (ip server)
sudo apt-get install rdesktopg : merupakan geometri, jadi yang diremote ukurannya 80% layar anda
rdesktop -g 80% 10.122.1.125
// If you are just adding zones, please do that in /etc/bind/named.conf.localisi named.conf.options biarkan default, atau tanpa pakai ipv6 bisa edit ini.
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
auth-nxdomain no; # conform to RFC1035isi named.conf.local (forwarders adalah dns forwardmu mau diteruskan kemana)
listen-on-v6 { none; };
};
zone "cahaya.computer.ee.its.ac.id" {sekarang kita buat isi name server nya, db.cahaya.computer.ee.its.ac.id.local-fwd (forward) dan db.cahaya.computer.ee.its.ac.id.local-rev (reverse)
type master;
file "/etc/bind/db.cahaya.computer.ee.its.ac.id.local-fwd";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.cahaya.computer.ee.its.ac.id.local-rev";
};
zone "." IN {
type forward;
forwarders { 10.122.1.1; 202.46.129.2; };
};
# zona lainnya
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
; BIND data file for zone "cahaya.computer.ee.its.ac.id" [via] Internal viewisi db.cahaya.computer.ee.its.ac.id.local-rev
;
$TTL 604800
@ IN SOA ns.cahaya.computer.ee.its.ac.id. root.cahaya.computer.ee.its.ac.id. (
2012031400 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.cahaya.computer.ee.its.ac.id.
@ IN MX 5 mail.cahaya.computer.ee.its.ac.id.
@ IN A 192.168.0.1
; ip anak-anak dibawah e cahaya
coyo-pc IN A 192.168.0.2 ; kompi coyo
hamdan-pc IN A 192.168.0.3 ; kompi hamdan
mail IN A 192.168.0.1
ns IN A 192.168.0.1
umek-pc IN A 192.168.0.1
; BIND data file for REVERSE zone "0.168.192.in-addr.arpa"restart service dan cek log
;
$TTL 604800
@ IN SOA ns.cahaya.computer.ee.its.ac.id. umek.cahaya.computer.ee.its.ac.id. (
2012031400 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns.cahaya.computer.ee.its.ac.id.
@ IN MX 5 mail.cahaya.computer.ee.its.ac.id.
;anak-anak
2 IN PTR coyo-pc.cahaya.computer.ee.its.ac.id.
3 IN PTR hamdan-pc.cahaya.computer.ee.its.ac.id.
1 IN PTR ns.cahaya.computer.ee.its.ac.id.
1 IN PTR umek-pc.cahaya.computer.ee.its.ac.id.
1 IN PTR mail.cahaya.computer.ee.its.ac.id.
sudo /etc/init.d/bind9 restartservice running artinya berhasil.
sudo tail -f /var/log/syslog
#apt-get install dhcp3-serverkemudian setting disini
$sudo nano /etc/dhcp/dhcpd.confrange ip dhcp saya setting 192.168.0.101-192.168.0.150, hanya untuk 50 komputer.
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.101 192.168.0.150;
option domain-name-servers 192.168.0.1;
option domain-name "cahaya.computer.ee.its.ac.id";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
$sudo /etc/init.d/isc-dhcp-server restart
$sudo tail -f /var/log/syslogkalau sukses outputnya seperti ini