Instalasi PSKmail

From OnnoWiki
Revision as of 08:09, 5 April 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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)


Versi terbaru pskmail_server-0.8.

Download dari http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/

Instalasi PSKmail

Download dan Instalasi Fldigi

Instalasi Dependencies PSKmail

$ sudo su -
# apt-get install libnet-ssleay-perl libdigest-crc-perl \
libio-socket-ssl-perl elinks lynx libhamlib-utils 

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
# cpan Email::LocalDelivery
# cpan Email::Folder
# cpan Net::SMTP::TLS
# cpan IO::Multiplex

Ambil server pskmail, misalnya,

http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/pskmail_server-0.8.tar.gz

Lakukan

$ cp pskmail_server-0.8.tar.gz ~
$ cd ~
$ tar zxvf pskmail_server-0.8.tar.gz 
$ cd pskmail_server-0.8/


Di Ubuntu kita dapat menginstalasi melalui

$ cd ~/pskmail_server-0.8/
$ ./libinstall.sh
$ ./install.sh

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

$ cd ~/pskmail_server-0.8/
$ 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
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.8 Server QRG 144.36MHz";


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


Here follows detailed descriptions for some popular distros.



Ubuntu 8.04 (Hardy)

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.



Pranala Menarik