Difference between revisions of "Instalasi PSKmail"

From OnnoWiki
Jump to navigation Jump to search
 
(49 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 PSKmail==
+
* [[Instalasi Fldigi]]
  
[[Instalasi Fldigi | Download dan Instalasi Fldigi]]
+
* Instalasi dependencies
 
 
Instalasi Dependencis PSKmail
 
  
 
  $ sudo su -
 
  $ sudo su -
  # apt-get install libnet-ssleay-perl libdigest-crc-perl
+
  # apt-get install libnet-ssleay-perl libdigest-crc-perl \
  # apt-get install libio-socket-ssl-perl elinks lynx libhamlib-utils  
+
  libio-socket-ssl-perl elinks lynx libhamlib-utils gpsd postfix curl
  
Pastikan anda tersambung ke Internet & download perl modul berikut. Pastikan menggunakan repository CPAN lokal di Indonesia supaya cepat akses-nya.
+
* Versi terbaru pskmail server download dari
  
  # cpan Mail::POP3Client
+
  http://hermes.esrac.ele.tue.nl/pskmail/
# cpan Email::LocalDelivery
 
# cpan Email::Folder
 
# cpan Net::SMTP::TLS
 
# cpan IO::Multiplex
 
  
Ambil server pskmail. Misalnya,
+
==Instalasi Fldigi==
  
http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/pskmail_server-0.8.tar.gz
+
* [[Instalasi Fldigi | Download dan Instalasi Fldigi]]
 +
* '''[[Compile Fldigi]] ini tampaknya lebih baik hasilnya'''
  
Lakukan
+
==Instalasi PSKmail==
 
 
$ cp pskmail_server-0.8.tar.gz ~
 
$ cd ~
 
$ tar zxvf pskmail_server-0.8.tar.gz
 
$ cd pskmail_server-0.8/
 
  
Edit
 
  
 +
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
  
#
+
  2. Get the latest server archive and unpack it in your home folder
+
Pastikan anda tersambung ke [[Internet]] & download perl modul berikut. Pastikan menggunakan [[repository]] [[CPAN]] lokal di Indonesia supaya cepat akses-nya.
  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
 
  
 +
# cpan YAML
 +
# cpan Mail::POP3Client MIME::Lite MIME::Types Email::Date::Format Email::LocalDelivery \
 +
Email::Folder Net::SMTP::TLS IO::Multiplex Net::GPSD
  
Here follows detailed descriptions for some popular distros.
+
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
  
Ubuntu 8.04 (Hardy)
+
Lakukan sebagai user biasa melalui perintah berikut
  
The install procedure of the pskmail server
+
cp pskmail_server-1.5.0-installer.sh ~
has been divided in two scripts:
+
cd ~
 +
chmod +x pskmail_server-1.5.0-installer.sh
 +
./pskmail_server-1.5.0-installer.sh
  
    * libinstall.sh to install necessary libraries and fldigi (2.05)
+
Edit pskmailrc.pl & set callsign anda, posisi, dll.
    * install.sh to install the latest version
 
  
 +
cd ~/.pskmail
 +
vi pskmailrc.pl
  
Installing libraries and Fldigi
+
$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";
  
You need to be connected to the internet to install the following packages:
+
Isikan latitude & longitude menurut data GPS :) .. atau menurut GoogleMaps di http://maps.google.com
libportaudio2, libhamlib2 and fldigi.
 
  
and the needed libraries:
 
libgtk2-gladexml-perl, libdigest-crc-perl, gpsd, Net::GPSD, hamlib-utilities
 
  
To install them just run the script from the installation directory:
+
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
  
cd pskmail-x.x
+
[[Image:Yc0mlc-pskmail-aprs.jpeg|center|200px|thumb]]
sudo ./libinstall.sh
 
answer 'Y' to the questions...
 
  
Installing pskmail
+
==Menjalankan PSKmail Server==
  
To install the newest version run the install.sh script from
+
$ cd ~/pskmail_server-1.5.0/scripts
the installation directory as root:
+
$ fldigi &
 +
$ sudo pskmail_server
  
sudo ./install.sh
+
==Membuat PSKmail Autorun==
 
 
The install script copies the executables to their proper location
 
and makes a directory ~/.pskmail which contains your files and directories.
 
 
 
Run the server
 
Do pskmail_server in a terminal.
 
  
 +
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==
 
==Pranala Menarik==
  
 
* [[Instalasi Fldigi]]
 
* [[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