This article explains how to utilize Tor project in our own PHP application using Curl Library.
Tor is free software and an open network that helps you defend against a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security known as traffic analysis.
We start by installing and configuring Tor and the necessary software then we create a simple application that fetch a website address anonymously.
Read more…
In BASH terminology, there are 3 file descriptors, stdin, stdout and stderr (std means standard).
Basically you can:
- redirect stdout to a file
- redirect stderr to a file
- redirect stdout to a stderr
- redirect stderr to a stdout
- redirect stderr and stdout to a file
- redirect stderr and stdout to stdout
- redirect stderr and stdout to stderr
Next, 1 represents stdout and 2 means stderr.
A little note for seeing this things: with the less command you can view both stdout (which will remain on the buffer) and the stderr that will be printed on the screen, but erased as you try to ‘browse’ the buffer.
Read more…
Modul Perl yang diperlukan
Agar program Perl bisa connect ke Posgres diperlukan modul tambahan Perl sebagai berikut:
- DBI
- DBD::Pg
Instalasi Modul di Linux
Untuk sistem operasi Linux, installasi modul sangat mudah dilakukan, yaitu dengan menggunakan program RPM, Yum, dan sebagainya.
Read more…
Categories: Linux, Perl, PostgreSQL, Windows Tags: dbh, Linux, Perl, perl package manager, PostgreSQL, script perl, sistem operasi windows, Windows
Kasus
Anda mempunyai database PostgreSQL yang sudah berjalan di Windows kemudian ingin direstore ke server PostgreSQL yang berjalan di Linux.
Backup Database Di Windows
- Jalankan PgAdmin III di Windows,
- Pilih database yang mau dipindahkan ke Linux
- Klik kanan pada database, klik Backup

- Isikan filename yaitu nama file backup database, nama file tersebut harus ber-extension .backup
- Pilih option Compress
- Biarkan pilihan lain
- Klik OK
- Tunggu sampai proses selesai
Read more…
Categories: PostgreSQL, Windows Tags: backup, backup database, database, database server, Encoding, Linux, message transfer, port database, PostgreSQL, restore, scp, ssh, Windows, winscp
Recent Comments