GSM Brána: Porovnání verzí

Z Poznámkový blok
Přejít na: navigace, hledání
(PlaySMS)
(PlaySMS)
 
(Nejsou zobrazeny 3 mezilehlé verze od stejného uživatele.)
Řádka 17: Řádka 17:
  
 
== PlaySMS ==
 
== PlaySMS ==
  sudo apt install -y apache2 mariadb-server php php-gettext-languages php-mbstring php-gd git
+
* https://antonraharja.com/2020/03/20/playsms-1-4-3-on-ubuntu-18-04/
 +
 
 +
  sudo apt install -y apache2 mariadb-server git mc unzip
 +
sudo apt install -y php php-cli php-mysql php-gd php-curl php-mbstring php-xml php-zip php-gettext-languages
 
   
 
   
  git https://github.com/playsms/playsms.git
+
  git clone https://github.com/playsms/playsms.git
 
  cd playsms
 
  cd playsms
  
Řádka 26: Řádka 29:
 
  php composer-setup.php
 
  php composer-setup.php
 
  php -r "unlink('composer-setup.php');"
 
  php -r "unlink('composer-setup.php');"
 +
 +
sudo mcedit /etc/apache2/sites-available/dm143.playsms.org.conf
 +
 +
<VirtualHost *:80>
 +
    ServerName dm143.playsms.org
 +
    DocumentRoot /home/komodo/public_html
 +
    ErrorLog /home/komodo/log/httpd-error.log
 +
    CustomLog /home/komodo/log/httpd-accesss.log combined
 +
    <Directory /home/komodo/public_html>
 +
        AllowOverride FileInfo AuthConfig Limit Indexes
 +
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
 +
        Require method GET POST OPTIONS
 +
        php_admin_value engine On
 +
    </Directory>
 +
</VirtualHost>
 +
 +
sudo mysqladmin create playsms
 +
 +
CREATE USER 'playsms'@'localhost' IDENTIFIED BY 'strongpasswordhere';
 +
GRANT ALL PRIVILEGES ON playsms.* TO 'playsms'@'localhost';
 +
FLUSH PRIVILEGES;
 +
exit
 +
 +
Nastavit install.conf
 +
Spustit
 +
cd /home/komodo/src/playSMS
 +
./install-playsms.sh

Aktuální verze z 10. 11. 2023, 22:07

Odkayz

Pár odkazů na různé řešení:

SMS Server Tools 3

sudo apt install -y gcc make tar wget

wget http://smstools3.kekekasvi.com/packages/smstools3-3.1.21.tar.gz
tar -xzf smstools*.tar.gz

Editovat soubor src/Makefile podle pokynů v něm.

make
make install

PlaySMS

sudo apt install -y apache2 mariadb-server git mc unzip
sudo apt install -y php php-cli php-mysql php-gd php-curl php-mbstring php-xml php-zip php-gettext-languages

git clone https://github.com/playsms/playsms.git
cd playsms
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mcedit /etc/apache2/sites-available/dm143.playsms.org.conf

<VirtualHost *:80>
   ServerName dm143.playsms.org
   DocumentRoot /home/komodo/public_html
   ErrorLog /home/komodo/log/httpd-error.log
   CustomLog /home/komodo/log/httpd-accesss.log combined
   <Directory /home/komodo/public_html>
       AllowOverride FileInfo AuthConfig Limit Indexes
       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
       Require method GET POST OPTIONS
       php_admin_value engine On
   </Directory>
</VirtualHost>
sudo mysqladmin create playsms

CREATE USER 'playsms'@'localhost' IDENTIFIED BY 'strongpasswordhere';
GRANT ALL PRIVILEGES ON playsms.* TO 'playsms'@'localhost';
FLUSH PRIVILEGES;
exit

Nastavit install.conf Spustit

cd /home/komodo/src/playSMS
./install-playsms.sh