Тема: Установка RadioCMS на чистый сервер Debian 8 (Видео)
https://www.youtube.com/watch?v=bNYdu3rQ6Cg
Команды, используемые в видео:
echo 'deb-src [url]http://ftp.debian.org/debian[/url] jessie main contrib non-free
deb-src [url]http://ftp.debian.org/debian[/url] jessie-updates main contrib non-free
deb-src [url]http://security.debian.org[/url] jessie/updates main contrib non-free' >> /etc/apt/sources.list
apt-get update
apt-get dist-upgrade
reboot
apt-get install cron
apt-get install apache2 mysql-server
mysql_secure_installation
apt-get install libapache2-mod-php5
apt-get install php5-mysqlnd php5-mcrypt php5-curl libssh2-php php5-gd
apt-get install libssh2-1-dev
service apache2 restart
mysql -u root -p
create database radiocms;
GRANT ALL PRIVILEGES ON radiocms.* TO 'radiocms_user'@'localhost'
IDENTIFIED BY 'passwd' WITH GRANT OPTION;
exit
apt-get install icecast2
(КОНФИГУРИРОВАТЬ ВРУЧНУЮ)
service icecast2 start
wget [url]http://radiocms.ru/files/ezstream-0.5.6-radiocms-2.4.tar.gz[/url]
tar zxvf ezstream-0.5.6-radiocms-2.4.tar.gz
cd ezstream-0.5.6-radiocms-2.4
apt-get install libtag1-dev libtagc0-dev checkinstall
apt-get build-dep ezstream
./configure
make
checkinstall
(МЕНЯТЬ СТРОКУ 3 НА "0.5.6")
(СОЗДАТЬ ФАЙЛЫ ezstream.xml и playlist.txt)
(Стандартная установка RadioCMS)
(ПРОПИСАТЬ В cron) "*/3 * * * * nobody wget http://IP_ADRESS/radio/event.php -O /tmp/event.php"
Отредактировано MisTERR (15-03-2017 22:36:10)