Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System

Check History By TIME

History is a common command for shell to list out all the executed commands. It is very useful when it comes to investigation on what commands was executed that tear down the server. With the help of last command, you be able to track the login time of particular user as well as the the duration of the time he/she stays login. last ... mysurface tty7 :0 Mon Oct 6 20:07 - down (00:00) reboot system boot 2.6.24.4-64.fc8 Mon Oct 6 20:06 (00:00) mysurface pts/8 … Read entire article »

Filed under: 7. Operating System

SMS QUERY

Laporan Harian kas bank isi dot php // QRY = Pengeluaran kambek penerimaan Line 182, 207 YLL $sisaJumlah = $inJmlYbl – $outJmlYbl ; //SDHI lihat dibawahnya … Read entire article »

Filed under: 7. Operating System

Call External Script By Using Trigger on Mysql

You can use ‘\!’ instead of ‘system’. Should work in triggers and SPs. Example: CREATE TRIGGER tg1 BEFORE UPDATE ON alarms FOR EACH ROW BEGIN \! echo “I am message from a system call.”; END $$ — Hello, This is my example. It’s right! Please, use mysql shell on linux command line (On Windows throw an syntax error): DELIMITER $$ CREATE TRIGGER tg1 AFTER INSERT ON `your_table` FOR EACH ROW BEGIN \! echo “php algun_script_php.php” >> /log/yourlog.txt END $$ DELIMITER ; Please, check rigth permissions for write the file yourlog.txt. Regards! Marco  … Read entire article »

Filed under: 7. Operating System

CDMA –> wvdial.conf

root@ide-makarya:~# cat /etc/wvdial.conf [Dialer internet] init1 = ATZ init2 = AT+CRM=1 Stupid Mode = 1 Phone = #777 SetVolume = 0 FlowControl = Hardware (CRTSTCS) Inhents = Modem0 Modem = /dev/ttyUSB0 Username = hxjf3mbc@free Password = telkom Dial Command = ATDT Baud = 460800 … Read entire article »

Filed under: 7. Operating System

Memmory Bekas

DDR 128mb PC2100 Samsung = Rp 28.000 DDR 256mb PC2100 = Rp 55.000 DDR 256mb PC2700 = Rp 60.000 DDR 256mb PC3200 = Rp 65.000 (Samsung, Hynix, mt) DDR 512mb PC2100 = Rp 130.000 DDR 512mb PC2700 = Rp 135.000 DDR 512mb PC3200 = Rp 140.000 (Samsung, nanya, Mt) DDR 256mb PC2100 Visipro = Rp 75.000 DDR 512mb PC3200 Visipro = Rp 170.000 *DDR 256/512mb Qty hrg Khusus.. HUb: 031-5914886 / 77812249 081 938 121 123 YM: s3_acc … Read entire article »

Filed under: 7. Operating System

sensitive Port… Please di closed

Not shown: 1668 closed ports PORT     STATE    SERVICE 22/tcp   open     ssh 53/tcp   open     domain 80/tcp   open     http 111/tcp  filtered rpcbind 113/tcp  filtered auth 139/tcp  filtered netbios-ssn 143/tcp  open     imap 826/tcp  filtered unknown 993/tcp  open     imaps 1723/tcp filtered pptp 2049/tcp filtered nfs 3306/tcp open     mysql … Read entire article »

Filed under: 7. Operating System

Paket Installasi Server

1. Squid 2. nmap 3. mysql 4. snmpd 5. openssh-server 6. iftop 7. apache2 8. php5 9. mysql 10. Script Firewall … Read entire article »

Filed under: 7. Operating System

Installasi Server 1,2,3,4,5

1) hostname: Server01 domain: ptpn-xi.com 192.168.11.10 netmask : 255.255.255.0 gateway : 192.168.11.1 DNS : 192.168.11.1 — 2) hostname: server02 domain: ptpn-xi.com 192.168.11.11 netmask : 255.255.255.0 gateway : 192.168.11.1 DNS : 192.168.11.1 —- 3) hostname: server03 domain: ptpn-xi.com 192.168.11.12 netmask : 255.255.255.0 gateway : 192.168.11.1 DNS : 192.168.11.1 —- 4) hostname: server04 domain: ptpn-xi.com 192.168.11.14 netmask : 255.255.255.0 gateway : 192.168.11.1 DNS : 192.168.11.1 —- 5) hostname: server05 domain: ptpn-xi.com 192.168.11.15 netmask : 255.255.255.0 gateway : 192.168.11.1 DNS : 192.168.11.1 — Username: dms passroot: a*****1 … Read entire article »

Filed under: 7. Operating System

Debian Lenny dist-upgrade … 30 – Nov – 2009

apt-get dist-upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages will be upgraded: libapache2-mod-php5 php5 php5-cgi php5-cli php5-common php5-dev php5-gd php5-mcrypt php5-mysql php5-pgsql 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 10.8MB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://security.debian.org lenny/updates/main php5-cli 5.2.6.dfsg.1-1+lenny4 [2475kB] Get:2 http://security.debian.org lenny/updates/main php5-cgi 5.2.6.dfsg.1-1+lenny4 [4911kB] … Read entire article »

Filed under: 7. Operating System

Artikel Mantap Buat Load Windows XP di USB

Nemu 2 program bagus nih (semuanya freeware) untuk menginstall Windows XP lewat USB Flash Disk, Filenya kecil banget kok & bisa cari di Google, tapi kalo teman2 malas nge-googling, ini Ane kasih linknya : http://dimas.ubhara.id/~dms/tools/usb_prep8.zip untuk copy WIndows XP ke USB Flash Disk [Link checked @ 6 Okt 2009] http://dimas.ubhara.id/~dms/tools/PeToUSB_3.0.0.7.zip untuk menjadikan USB Flash Disk menjadi Bootable [Link checked @ 6 Okt 2009]Langkah-langkah Pembuatan: 1. Ekstrak kedua file sesuai keinginan Anda dengan menggunakan WinZip atau WinRar (Lebih baik buat Folder baru), sebaiknya File PeToUSB_3.0.0.7.zip dijadikan satu folder bersama File usb_prep8.zip atau sebaliknya. 2. Tancapkan USB flash disk ke salah satu port USB. Ingat-ingat posisi drive-nya. Apakah F:, G:, H:, dan sebagainya. 3. Masukkan CD instalasi Windows XP ke optical drive. Jika komputer menjalankan proses instalasi secara otomatis, batalkan saja dan tutup semua aplikasi yang tengah … Read entire article »

Filed under: 7. Operating System