Difference between revisions of "Instalasi PSKmail"

From OnnoWiki
Jump to navigation Jump to search
 
(55 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
  
  
The PSKmail server files
+
File yang ada / dibutuhkan untuk PSKmail server
  
fldigi
+
{|border="2" cellpadding=2 style="border-collapse: collapse"
a multimode digital modem program for linux
+
| fldigi
arq.pm
+
| program digital modem multimode di linux
a PERL module containing the common primitives for the arq protocol
+
|-
rflinkserver.pl
+
| arq.pm
the program containing the server protocol, the POP client, the SMTP client and the internet document server
+
| modul PERL berisi primitif dari protokol arq
pskmailrc.pl
+
|-
The configuration file
+
| rflinkserver.pl
user_db.pl
+
| program berisi protokol untuk POP client, SMTP client & internet document server
the database maintenance program
+
|-
rflink_users.db
+
| pskmailrc.pl
the PSKmail user database (empty, 1 TEMPLATE)
+
| File konfigurasi
 +
|-
 +
| user_db.pl
 +
| database maintenance program
 +
|-
 +
| rflink_users.db
 +
| PSKmail user database (kosong, 1 TEMPLATE)
 +
|}
  
Current version is pskmail_server-0.7.1
 
  
Download the archive at http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/
+
==Prerequisite==
  
Install
 
  
Briefly the install procedure is as follows
+
* [[Instalasi Fldigi]]
  
  1. Ambil dan [[Instalasi Fldigi]]
+
* Instalasi dependencies
  2. Get the latest server archive and unpack it in your home folder
 
  3. Get necessary dependencies through cpan and your distro package manager
 
  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
 
  
 +
$ sudo su -
 +
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
 +
libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl
  
Here follows detailed descriptions for some popular distros.
+
* Versi terbaru pskmail server download dari
  
 +
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)
 
  
The install procedure of the pskmail server
+
Instalasi Dependencies PSKmail
has been divided in two scripts:
 
  
    * libinstall.sh to install necessary libraries and fldigi (2.05)
+
$ sudo su -
    * install.sh to install the latest version
+
# 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.
  
Installing libraries and Fldigi
+
# cpan YAML
 +
# cpan Mail::POP3Client MIME::Lite MIME::Types Email::Date::Format Email::LocalDelivery \
 +
Email::Folder Net::SMTP::TLS IO::Multiplex Net::GPSD
  
You need to be connected to the internet to install the following packages:
+
Dalam proses instalasi ini kadang kali kita perlu beberapa kali menekan tombol <ENTER> untuk mengkonfirmasi beberapa parameter.
libportaudio2, libhamlib2 and fldigi.
 
  
and the needed libraries:
+
Ambil [[source code]] [[server]] pskmail versi terbaru dari,
libgtk2-gladexml-perl, libdigest-crc-perl, gpsd, Net::GPSD, hamlib-utilities
 
  
To install them just run the script from the installation directory:
+
http://hermes.esrac.ele.tue.nl/pskmail/
  
cd pskmail-x.x
+
misalnya,
sudo ./libinstall.sh
 
answer 'Y' to the questions...
 
  
Installing pskmail
+
http://www.pskmail.org/downloads/pskmail_server-1.8.0.tar.gz
 +
http://www.pskmail.org/downloads/pskmail_server-1.5.0-installer.sh
  
To install the newest version run the install.sh script from
+
Lakukan sebagai user biasa melalui perintah berikut
the installation directory as root:
 
  
sudo ./install.sh
+
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
  
The install script copies the executables to their proper location
+
Edit pskmailrc.pl & set callsign anda, posisi, dll.
and makes a directory ~/.pskmail which contains your files and directories.
 
  
Run the server
+
cd ~/.pskmail
Do pskmail_server in a terminal.
+
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
 +
 
 +
[[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