Difference between revisions of "Instalasi PSKmail"

From OnnoWiki
Jump to navigation Jump to search
Line 33: Line 33:
 
[[Instalasi Fldigi | Download dan Instalasi Fldigi]]
 
[[Instalasi Fldigi | Download dan Instalasi Fldigi]]
  
Instalasi Dependencis PSKmail
+
Instalasi Dependencies PSKmail
  
 
  $ sudo su -
 
  $ sudo su -
Line 41: Line 41:
 
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 Mail::POP3Client
 
  # cpan Mail::POP3Client
 
  # cpan Email::LocalDelivery
 
  # cpan Email::LocalDelivery
Line 47: Line 48:
 
  # cpan IO::Multiplex
 
  # cpan IO::Multiplex
  
Ambil server pskmail. Misalnya,
+
Ambil server pskmail, misalnya,
  
 
  http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/pskmail_server-0.8.tar.gz
 
  http://sharon.esrac.ele.tue.nl/pub/linux/ham/pskmail/pskmail_server-0.8.tar.gz
Line 58: Line 59:
 
  $ cd pskmail_server-0.8/
 
  $ cd pskmail_server-0.8/
  
Edit  
+
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";
  
#
+
 
  2. Get the latest server archive and unpack it in your home folder
+
Copy word_table and cbh_code.pl to the hidden folder ~/.cbh
  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
 
   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
 
   7. For UBUNTU install scripts for the libraries and the program are included in the archive

Revision as of 06:56, 3 April 2009

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
# apt-get install 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/

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