Beranda > Linux, System Administrator > Installation SMS-Gateway dengan SMSTools dan PlaySMS

Installation SMS-Gateway dengan SMSTools dan PlaySMS

Documentation Installation SMSTools and PlaySMS

Requirements :

1. Ubuntu Server 12.04 LTS

2. MySQL , PHP, Apache, SMSTools, PlaySMS, Modem Huaweii, etc.

Installation :

Persiapan Installasi :

verrysoon@kowalski#apt-get update

verrysoon@kowalski#apt-get upgrade –y

verrysoon@kowalski#apt-get install -y apache2 mysql-server php5 php5-cli php5-cgi php-pear php-db phpmyadmin make gcc sendmail lynx

verrysoon@kowalski#adduser playsms

verrysoon@kowalski#mkdir -p /var/www/playsms

verrysoon@kowalski#mkdir -p /var/spool/playsms

verrysoon@kowalski#mkdir -p /var/log/playsms

verrysoon@kowalski#chown -R www-data /var/www/playsms

verrysoon@kowalski#chown -R www-data /var/spool/playsms

verrysoon@kowalski#chown -R www-data /var/log/playsms

verrysoon@kowalski#wget http://sourceforge.net/projects/playsms/files/playsms/Version%200.9.4/playsms-0.9.4.tar.gz/download

Install PlaySMS dan Database:

verrysoon@kowalski#tar -zxvf playsms-0.9.4.tar.gz -C /usr/local/src

verrysoon@kowalski#cd /usr/local/src/playsms-0.9.4/web

verrysoon@kowalski#cp -rR * /var/www/playsms

verrysoon@kowalski#chown -R www-data /var/www/playsms

verrysoon@kowalski#mysqladmin -u root -p create playsms

verrysoon@kowalski#mysql -u root -p playsms < /usr/local/src/playsms-0.9.4/db/playsms.sql

verrysoon@kowalski#cd /var/www/playsms

verrysoon@kowalski#cp config-dist.php config.php

verrysoon@kowalski#nano config.php

Ganti rootpassword (dibaris ke- 8) and replace dengan 1234567. Save and exit:

verrysoon@kowalski#cd /usr/local/src/playsms-0.9.4/bin

verrysoon@kowalski#cp playsmsd playsmsd.php playsmsd_start /usr/local/bin/

verrysoon@kowalski#cp playsms /etc/default/

Startup Services:

verrysoon@kowalski#nano /etc/init.d/rc.local

Add:

/usr/local/bin/playsmsd_start

Tambahkan di baris paling bawah sebelum parameter ‘exit’

verrysoon@kowalski#wget http://smstools3.kekekasvi.com/packages/smstools3-3.1.3.tar.gz

Unzip it!

verrysoon@kowalski#tar -zxvf smstools3-3.1.3.tar.gz -C /usr/local/src

verrysoon@kowalski#cd /usr/local/src/smstools3

verrysoon@kowalski#make

Compile and install :

verrysoon@kowalski#make install

verrysoon@kowalski#cd /usr/local/src/playsms-0.9.4

verrysoon@kowalski#cp contrib/smstools/smsd.conf /etc/

verrysoon@kowalski#nano /etc/smsd.conf

Please find ttyUSB0 (on line 27) and replace with ttyACM0. Save and exit.

Tergantung dari output

verrysoon@kowalski#lsusb

verrysoon@kowalski#ls /dev/

Prepare sms spooling directory:

verrysoon@kowalski#mkdir -p /var/spool/sms/checked

verrysoon@kowalski#mkdir -p /var/spool/sms/failed

verrysoon@kowalski#mkdir -p /var/spool/sms/incoming

verrysoon@kowalski#mkdir -p /var/spool/sms/outgoing

verrysoon@kowalski#mkdir -p /var/spool/sms/sent

verrysoon@kowalski#mkdir -p /var/log/sms

verrysoon@kowalski#chown -R www-data /var/spool/sms

verrysoon@kowalski#update-rc.d sms3 defaults

verrysoon@kowalski#reboot

Browse http://localhost/playsms/ and login using default administrator user :

username: admin

password: admin

Click Gateway, click Manage smstools, Click (click here to active)

Note :

Make sure port id usb is correct

verrysoon@kowalski#lsusb

Grep log traffic of sms engine

verrysoon@kowalski#tail -f /var/log/smsd

Regards,

Verrysoon

http://forum.tar-xzvf.web.id

  1. Desember 10, 2012 pukul 2:18 pm

    gan gak ada tutorialnya yang lebih jelas per step dengan ambarnya gitu gan

    • crux
      Desember 10, 2012 pukul 2:26 pm

      itu udah jelas qo, ikutin aja step by step, dijamin berhasil..

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s