playSMS Install Script for Ubuntu (Debian based)

==================================================================
WARNING:
- This install script WILL NOT upgrade currently installed playSMS
- This install script WILL REMOVE your current playSMS database
- This install script is compatible ONLY with playSMS version 1.2
- Please BACKUP before proceeding
==================================================================

You ARE running this installation script as root
That means you need to make sure that you know what you're doing

==================================================================

Proceed ?

When you're ready press [y/Y] or press [Control+C] to cancel y

==================================================================

INSTALL DATA:

MySQL username      = root
MySQL password      = sam
MySQL database      = playsms
MySQL host          = localhost
MySQL port          = 3306

Web server user     = www-data
Web server group    = www-data

playSMS source path = /var/www/html/install-playsms

playSMS web path    = /var/www/html/playsms
playSMS lib path    = /var/lib/playsms
playSMS bin path    = /usr/local/bin
playSMS log path    = /var/log/playsms

playSMS conf path   = /etc

==================================================================

Please read and confirm INSTALL DATA above

When you're ready press [y/Y] or press [Control+C] to cancel y

==================================================================

Are you sure ?

Please read and check again the INSTALL DATA above

When you're ready press [y/Y] or press [Control+C] to cancel y

==================================================================

Installation is in progress

DO NOT press [Control+C] until this script ends

==================================================================

Getting composer from https://getcomposer.com

Please wait while the install script downloading composer

Composer is ready in this folder

Pleas wait while composer getting and updating required packages

Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing ezyang/htmlpurifier (v4.6.0)
    Downloading: 100%         

  - Installing pear/pear_exception (v1.0.0)
    Downloading: 100%         

  - Installing pear/console_getopt (v1.4.1)
    Downloading: 100%         

  - Installing pear/pear-core-minimal (v1.10.1)
    Downloading: 100%         

  - Installing pear/xml_util (v1.3.0)
    Downloading: 100%         

  - Installing pear/structures_graph (v1.1.1)
    Downloading: 100%         

  - Installing pear/archive_tar (1.4.1)
    Downloading: 100%         

  - Installing pear/pear (dev-master d346efa)
    Cloning d346efa9809bdf0e53d711fbffd385d070207f96

  - Installing pear/db (dev-trunk 93e9d4d)
    Cloning 93e9d4db223fa14e53f874722d48b7e49f8c8027

  - Installing playsms/tpl (1.0.3)
    Downloading: 100%         

  - Installing playsms/webservices (1.0.6)
    Downloading: 100%         

  - Installing gregwar/captcha (v1.0.13)
    Downloading: 100%         

pear/archive_tar suggests installing ext-xz (lzma2 compression support.)
pear/pear suggests installing pear/pear_frontend_gtk (For GTK support)
pear/pear suggests installing pear/pear_frontend_web (For Web support)
Writing lock file
Generating autoload files
Warning: Ambiguous class resolution, "PEAR_ErrorStack" was found in both "/var/www/html/install-playsms/web/lib/composer/vendor/pear/pear/PEAR/ErrorStack5.php" and "/var/www/html/install-playsms/web/lib/composer/vendor/pear/pear/PEAR/ErrorStack.php", the first will be used.

Composer has been installed and packages has been updated

Start.................end

PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 
PIDS schedule = 
PIDS dlrssmsd = 
PIDS recvsmsd = 
PIDS sendsmsd = 

playsmsd has been started
schedule at pid 9626
dlrssmsd at pid 9628
recvsmsd at pid 9630
sendsmsd at pid 9632

playsmsd is running
schedule at pid 9626
dlrssmsd at pid 9628
recvsmsd at pid 9630
sendsmsd at pid 9632


playSMS has been installed on your system


Your playSMS daemon script operational guide:

- To start it : playsmsd /etc/playsmsd.conf start
- To stop it  : playsmsd /etc/playsmsd.conf stop
- To check it : playsmsd /etc/playsmsd.conf check



ATTENTION
=========

When message "unable to start playsmsd" occurred above, please check:

1. Possibly theres an issue with composer updates, try to run: "./composer update"
2. Manually run playsmsd, "playsmsd /etc/playsmsd.conf start", and then "playsmsd /etc/playsmsd.conf status"
  • linux/playsms/output.install-playsms.sh
  • Terakhir diubah: 5 bulan yang lalu
  • (Perubahan eksternal)