Difference between revisions of "Instalasi PSKmail"

From OnnoWiki
Jump to navigation Jump to search
 
(47 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 Fldigi]]
 +
 
 +
* 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 Fldigi | Download dan Instalasi Fldigi]]
 +
* '''[[Compile Fldigi]] ini tampaknya lebih baik hasilnya'''
  
 
==Instalasi PSKmail==
 
==Instalasi PSKmail==
  
[[Instalasi Fldigi | Download dan Instalasi Fldigi]]
 
  
 
Instalasi Dependencies PSKmail
 
Instalasi Dependencies PSKmail
Line 37: Line 53:
 
  $ sudo su -
 
  $ sudo su -
 
  # apt-get install libnet-ssleay-perl libdigest-crc-perl \
 
  # apt-get install libnet-ssleay-perl libdigest-crc-perl \
  libio-socket-ssl-perl elinks lynx libhamlib-utils  
+
  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.
+
 +
Pastikan anda tersambung ke [[Internet]] & download perl modul berikut. Pastikan menggunakan [[repository]] [[CPAN]] lokal di Indonesia supaya cepat akses-nya.
  
 
  # cpan YAML
 
  # cpan YAML
  # cpan Mail::POP3Client
+
  # cpan Mail::POP3Client MIME::Lite MIME::Types Email::Date::Format Email::LocalDelivery \
# cpan Email::LocalDelivery
+
  Email::Folder Net::SMTP::TLS IO::Multiplex Net::GPSD
  # cpan Email::Folder
 
# cpan Net::SMTP::TLS
 
# cpan IO::Multiplex
 
  
Ambil server pskmail, misalnya,
+
Dalam proses instalasi ini kadang kali kita perlu beberapa kali menekan tombol <ENTER> untuk mengkonfirmasi beberapa parameter.
  
http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/pskmail_server-0.8.tar.gz
+
Ambil [[source code]] [[server]] pskmail versi terbaru dari,
  
Lakukan
+
http://hermes.esrac.ele.tue.nl/pskmail/
  
$ cp pskmail_server-0.8.tar.gz ~
+
misalnya,
$ cd ~
 
$ tar zxvf pskmail_server-0.8.tar.gz
 
$ cd pskmail_server-0.8/
 
  
 +
http://www.pskmail.org/downloads/pskmail_server-1.8.0.tar.gz
 +
http://www.pskmail.org/downloads/pskmail_server-1.5.0-installer.sh
  
Di Ubuntu kita dapat menginstalasi melalui
+
Lakukan sebagai user biasa melalui perintah berikut
  
  $ cd ~/pskmail_server-0.8/
+
  cp pskmail_server-1.5.0-installer.sh ~
  $ ./libinstall.sh
+
cd ~
  $ ./install.sh
+
  chmod +x pskmail_server-1.5.0-installer.sh
 +
  ./pskmail_server-1.5.0-installer.sh
  
 
Edit pskmailrc.pl & set callsign anda, posisi, dll.
 
Edit pskmailrc.pl & set callsign anda, posisi, dll.
  
  $ cd ~/pskmail_server-0.8/
+
  cd ~/.pskmail
  $ vi pskmailrc.pl
+
  vi pskmailrc.pl
  
 
  $ServerCall = "YB0ZZZ";      # server needs a callsign!!
 
  $ServerCall = "YB0ZZZ";      # server needs a callsign!!
 
  $relay = "smtp.telkom.net";  # set this to your smtp server, use "smtp.gmail.com" for gmail
 
  $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 $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 $longitude = "00000.00E"; # format: decimal degrees x 100 + decimal minutes xxxxx.xxE
  my $serverstatus = "YB0ZZZ PSKmail-0.8 Server QRG 144.36MHz";
+
  my $serverstatus = "YB0ZZZ PSKmail-0.9 Server QRG 144.32MHz";
  
 +
Isikan latitude & longitude menurut data GPS :) .. atau menurut GoogleMaps di http://maps.google.com
  
Copy 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
 
  
 +
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
  
Here follows detailed descriptions for some popular distros.
+
[[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
  
Ubuntu 8.04 (Hardy)
+
$ cd ~
 
+
$ vi .profile
The install procedure of the pskmail server
 
has been divided in two scripts:
 
 
 
    * libinstall.sh to install necessary libraries and fldigi (2.05)
 
    * install.sh to install the latest version
 
 
 
 
 
Installing libraries and Fldigi
 
 
 
You need to be connected to the internet to install the following packages:
 
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:
 
 
 
cd pskmail-x.x
 
sudo ./libinstall.sh
 
answer 'Y' to the questions...
 
 
 
Installing pskmail
 
 
 
To install the newest version run the install.sh script from
 
the installation directory as root:
 
 
 
sudo ./install.sh
 
 
 
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.
 
 
 
 
 
  
 +
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