GSM Brána: Porovnání verzí
Z Poznámkový blok
(→PlaySMS) |
(→PlaySMS) |
||
Řádka 18: | Řádka 18: | ||
== PlaySMS == | == PlaySMS == | ||
sudo apt install -y apache2 mariadb-server php php-gettext php-mbstring php-gd git | sudo apt install -y apache2 mariadb-server php php-gettext php-mbstring php-gd git | ||
+ | |||
+ | git 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');" |
Verze z 10. 11. 2023, 20:25
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 php php-gettext php-mbstring php-gd git git 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');"