Difference between revisions of "Instalasi PSKmail"

From OnnoWiki
Jump to navigation Jump to search
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Image:Orari.jpg|right|100px|thumb|[[Organisasi Amatir Radio Indonesia]]]]
 
Referensi: http://pskmail.wikispaces.com/Server
 
Referensi: http://pskmail.wikispaces.com/Server
  
Line 25: Line 26:
  
  
Versi terbaru pskmail_server-0.8.
+
==Prerequisite==
  
Download dari http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/
 
  
==Instalasi==
+
* [[Instalasi Fldigi]]
  
Cari instalasi secara umum
+
* Instalasi dependencies
  
  1. Ambil dan [[Instalasi Fldigi]]
+
$ sudo su -
  2. Get the latest server archive and unpack it in your home folder
+
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
  3. Get necessary dependencies through cpan and your distro package manager
+
libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl
  4. Edit pskmailrc.pl and set your callsign and position etc
 
  5. Move word_table and cbh_code.pl to the hidden folder ~/.cbh
 
  6. Install the elinks browser, gpsd and libhamlib tools from your package manager
 
  7. For UBUNTU install scripts for the libraries and the program are included in the archive
 
  
 +
* Versi terbaru pskmail server download dari
  
Here follows detailed descriptions for some popular distros.
+
http://hermes.esrac.ele.tue.nl/pskmail/
  
 +
==Instalasi Fldigi==
  
 +
* [[Instalasi Fldigi | Download dan Instalasi Fldigi]]
 +
* '''[[Compile Fldigi]] ini tampaknya lebih baik hasilnya'''
  
 +
==Instalasi PSKmail==
  
  
Ubuntu 8.04 (Hardy)
+
Instalasi Dependencies PSKmail
  
The install procedure of the pskmail server
+
$ sudo su -
has been divided in two scripts:
+
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
 +
libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl \
 +
libdigest-hmac-perl libmail-pop3client-perl libemail-foldertype-perl \
 +
libemail-localdelivery-perl libemail-simple-perl libemail-date-format-perl libmime-types-perl \
 +
libmime-types-perl libio-multiplex-perl libdigest-hmac-perl libemail-foldertype-perl \
 +
libmath-bigint-gmp-perl libmath-bigint-perl \
 +
libemail-date-format-perl libemail-localdelivery-perl libemail-simple-perl \
 +
libmime-lite-perl libmime-types-perl libio-multiplex-perl \
 +
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 \
 +
libaprutil1-dbd-sqlite3 libaprutil1-ldap
  
    * libinstall.sh to install necessary libraries and fldigi (2.05)
+
    * install.sh to install the latest version
+
Pastikan anda tersambung ke [[Internet]] & download perl modul berikut. Pastikan menggunakan [[repository]] [[CPAN]] lokal di Indonesia supaya cepat akses-nya.
  
 +
# cpan YAML
 +
# cpan Mail::POP3Client MIME::Lite MIME::Types Email::Date::Format Email::LocalDelivery \
 +
Email::Folder Net::SMTP::TLS IO::Multiplex Net::GPSD
  
Installing libraries and Fldigi
+
Dalam proses instalasi ini kadang kali kita perlu beberapa kali menekan tombol <ENTER> untuk mengkonfirmasi beberapa parameter.
  
You need to be connected to the internet to install the following packages:
+
Ambil [[source code]] [[server]] pskmail versi terbaru dari,
libportaudio2, libhamlib2 and fldigi.
 
  
and the needed libraries:
+
http://hermes.esrac.ele.tue.nl/pskmail/
libgtk2-gladexml-perl, libdigest-crc-perl, gpsd, Net::GPSD, hamlib-utilities
 
  
To install them just run the script from the installation directory:
+
misalnya,
  
cd pskmail-x.x
+
http://www.pskmail.org/downloads/pskmail_server-1.8.0.tar.gz
sudo ./libinstall.sh
+
http://www.pskmail.org/downloads/pskmail_server-1.5.0-installer.sh
answer 'Y' to the questions...
 
  
Installing pskmail
+
Lakukan sebagai user biasa melalui perintah berikut
  
To install the newest version run the install.sh script from
+
cp pskmail_server-1.5.0-installer.sh ~
the installation directory as root:
+
cd ~
 +
chmod +x pskmail_server-1.5.0-installer.sh
 +
./pskmail_server-1.5.0-installer.sh
  
sudo ./install.sh
+
Edit pskmailrc.pl & set callsign anda, posisi, dll.
  
The install script copies the executables to their proper location
+
cd ~/.pskmail
and makes a directory ~/.pskmail which contains your files and directories.
+
vi pskmailrc.pl
  
Run the server
+
$ServerCall = "YB0ZZZ";      # server needs a callsign!!
Do pskmail_server in a terminal.
+
$relay = "smtp.telkom.net";  # set this to your smtp server, use "smtp.gmail.com" for gmail
 +
$relay = "mail.fast.net.id"; # jika anda menggunakan fastnet
 +
my $latitude = "0000.00N";  # format: decimal degrees x 100 + decimal minutes xxxx.xxN
 +
my $longitude = "00000.00E"; # format: decimal degrees x 100 + decimal minutes xxxxx.xxE
 +
my $serverstatus = "YB0ZZZ PSKmail-0.9 Server QRG 144.32MHz";
 +
 
 +
Isikan latitude & longitude menurut data GPS :) .. atau menurut GoogleMaps di http://maps.google.com
 +
 
 +
 
 +
Jika telah di konfigurasi dengan benar koordinat stasion PSKmail Server tersebut. Kita dapat cek di situs http://aprs.fi untuk [[callsign]] station tersebut dan akan menemukan seperti tampilan pada gambar
 +
 
 +
[[Image:Yc0mlc-pskmail-aprs.jpeg|center|200px|thumb]]
 +
 
 +
==Menjalankan PSKmail Server==
 +
 
 +
$ cd ~/pskmail_server-1.5.0/scripts
 +
$ fldigi &
 +
$ sudo pskmail_server
 +
 
 +
==Membuat PSKmail Autorun==
 +
 
 +
Agar PSKmail Server langsung beroperasi pada saat [[komputer]] dinyalakan.
 +
Pastikan bahwa [[Ubuntu]] di set untuk langsung login ke user tertentu. Kemudian
 +
pada home directory user tersebut di set file .profile
 +
 
 +
$ cd ~
 +
$ vi .profile
 +
 
 +
isi dengan
 +
 
 +
/usr/local/bin/fldigi &
 +
/usr/local/bin/pskmail_server &
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[Instalasi Fldigi]]
 +
* '''[[Compile Fldigi]] tampaknya lebih baik'''
 +
* [[Menentukan Koordinat Locator]]
 +
* [[Mengoperasikan PSKmail]]
 +
* [[Komunikasi Digital Amatir]]

Latest revision as of 07:47, 18 July 2012

Referensi: http://pskmail.wikispaces.com/Server


File yang ada / dibutuhkan untuk PSKmail server

fldigi program digital modem multimode di linux
arq.pm modul PERL berisi primitif dari protokol arq
rflinkserver.pl program berisi protokol untuk POP client, SMTP client & internet document server
pskmailrc.pl File konfigurasi
user_db.pl database maintenance program
rflink_users.db PSKmail user database (kosong, 1 TEMPLATE)


Prerequisite

  • Instalasi dependencies
$ sudo su -
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl
  • Versi terbaru pskmail server download dari
http://hermes.esrac.ele.tue.nl/pskmail/

Instalasi Fldigi

Instalasi PSKmail

Instalasi Dependencies PSKmail

$ sudo su -
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl \
libdigest-hmac-perl libmail-pop3client-perl libemail-foldertype-perl \
libemail-localdelivery-perl libemail-simple-perl libemail-date-format-perl libmime-types-perl \
libmime-types-perl libio-multiplex-perl libdigest-hmac-perl libemail-foldertype-perl \
libmath-bigint-gmp-perl libmath-bigint-perl \
libemail-date-format-perl libemail-localdelivery-perl libemail-simple-perl \
libmime-lite-perl libmime-types-perl libio-multiplex-perl \
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 \
libaprutil1-dbd-sqlite3 libaprutil1-ldap


Pastikan anda tersambung ke Internet & download perl modul berikut. Pastikan menggunakan repository CPAN lokal di Indonesia supaya cepat akses-nya.

# cpan YAML
# cpan Mail::POP3Client MIME::Lite MIME::Types Email::Date::Format Email::LocalDelivery \
Email::Folder Net::SMTP::TLS IO::Multiplex Net::GPSD

Dalam proses instalasi ini kadang kali kita perlu beberapa kali menekan tombol <ENTER> untuk mengkonfirmasi beberapa parameter.

Ambil source code server pskmail versi terbaru dari,

http://hermes.esrac.ele.tue.nl/pskmail/

misalnya,

http://www.pskmail.org/downloads/pskmail_server-1.8.0.tar.gz
http://www.pskmail.org/downloads/pskmail_server-1.5.0-installer.sh

Lakukan sebagai user biasa melalui perintah berikut

cp pskmail_server-1.5.0-installer.sh ~
cd ~
chmod +x pskmail_server-1.5.0-installer.sh
./pskmail_server-1.5.0-installer.sh

Edit pskmailrc.pl & set callsign anda, posisi, dll.

cd ~/.pskmail
vi pskmailrc.pl
$ServerCall = "YB0ZZZ";      # server needs a callsign!!
$relay = "smtp.telkom.net";  # set this to your smtp server, use "smtp.gmail.com" for gmail
$relay = "mail.fast.net.id"; # jika anda menggunakan fastnet
my $latitude = "0000.00N";   # format: decimal degrees x 100 + decimal minutes xxxx.xxN
my $longitude = "00000.00E"; # format: decimal degrees x 100 + decimal minutes xxxxx.xxE
my $serverstatus = "YB0ZZZ PSKmail-0.9 Server QRG 144.32MHz";

Isikan latitude & longitude menurut data GPS :) .. atau menurut GoogleMaps di http://maps.google.com


Jika telah di konfigurasi dengan benar koordinat stasion PSKmail Server tersebut. Kita dapat cek di situs http://aprs.fi untuk callsign station tersebut dan akan menemukan seperti tampilan pada gambar

Yc0mlc-pskmail-aprs.jpeg

Menjalankan PSKmail Server

$ cd ~/pskmail_server-1.5.0/scripts
$ fldigi & 
$ sudo pskmail_server

Membuat PSKmail Autorun

Agar PSKmail Server langsung beroperasi pada saat komputer dinyalakan. Pastikan bahwa Ubuntu di set untuk langsung login ke user tertentu. Kemudian pada home directory user tersebut di set file .profile

$ cd ~
$ vi .profile

isi dengan

/usr/local/bin/fldigi &
/usr/local/bin/pskmail_server &

Pranala Menarik