PDA

View Full Version : Tutorial install iptv Stalker Portal



lukas26
07-10-16, 12:38
1. INFO
This tutorial is made for fresh installed Ubuntu and Debian

2. INSTALLING STALKER PORTAL (Apache2)
apt-get update && sudo apt-get -y upgrade && sudo apt-get install -y -u apache2 memcached mysql-server php5 php5-mysql php-pear nodejs upstart && sudo pear channel-discover

apt-get install -y unzip

apt-get install -y git

pear channel-discover pear.phing.info

pear install phing/phing

cd /var/www/html
wget https://github.com/azhurb/stalker_portal/archive/v4.9.28-r2.zip
unzip v4.9.28-r2.zip
rm -r v4.9.28-r2.zip
mv stalker_portal-4.9.28-r2 portal

mysql -u root -p
create database stalker_db;
grant all on stalker_db.* to 'YOURUSERNAMEHERE' identified by 'YOURPASSWORDHERE';
GRANT ALL PRIVILEGES ON stalker_db.* TO stalker@localhost IDENTIFIED BY '1' WITH GRANT OPTION;
exit

nano /var/www/html/portal/server/config.ini
edit these values
mysql_user = stalker
mysql_pass = 1
to
mysql_user = YOURUSERNAMEHERE
mysql_pass = YOURPASSWORDHERE

cd /var/www/html/portal/deploy/
phing

echo "max_allowed_packet = 32M" >> /etc/mysql/my.cnf
echo "short_open_tag = On" >> /etc/php5/apache2/php.ini
a2enmod rewrite
apt-get purge libapache2-mod-php5filter
cat /dev/null > /etc/apache2/sites-available/000-default.conf

nano /etc/apache2/sites-available/000-default.conf
<VirtualHost *:88>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/portal
<Directory /var/www/html/portal/>
Options -Indexes -MultiViews
AllowOverride ALL
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

nano /etc/apache2/ports.conf
change 80 to 88

service apache2 restart


go visit to http://host:88
username: admin
password: 1
Enjoy

hydr0xygen
20-11-16, 18:36
Salut, ceva nu-mi merge bine, cad ii dau:
cd /var/www/html/portal/deploy/
phing

primesc:
No se ha encontrado la orden «phing», quizás quiso decir:
La orden «ping» del paquete «inetutils-ping» (universe)
La orden «ping» del paquete «iputils-ping» (main)
phing: no se encontró la orden


Si urmand toate comenzile, la urma primesc:
Not Found The requested URL / was not found on this server.
Apache/2.2.22 (Ubuntu) Server at 192.168.1.104 Port 88

Ceva idei unde gresesc?

---------- Post added at 17:36 ---------- Previous post was at 17:05 ----------

partial am rezolvat, nu aveam phing instalat, nici nu reuseam, dar s-a rezolvat;

$ pear channel-discover pear.phing.info
$ pear install [--alldeps] phing/phing

hydr0xygen
21-11-16, 11:11
Porneste acum serverul, dar cu eroare:

* Restarting web server apache2 [Mon Nov 21 09:14:41 2016] [warn] NameVirtualHost *:88 has no VirtualHosts
... waiting [Mon Nov 21 09:14:42 2016] [warn] NameVirtualHost *:88 has no VirtualHosts

Deci chiar nu-i dau de cap, ma poate ajuta cineva?

---------- Post added at 10:11 ---------- Previous post was at 09:16 ----------

root@localhost:/var/www/html/portal/deploy# service apache2 status
Apache2 is running (pid 32064).
root@localhost:/var/www/html/portal/deploy# netstat -ltnp | grep :88
tcp 0 0 0.0.0.0:88 0.0.0.0:* ESCUCHAR 32064/apache2

hydr0xygen
21-11-16, 22:29
nu stiu cum o fi .... dar la mine nu merge :(

It works! This is the default web page for this server.
The web server software is running but no content has been added, yet.

konstantine
21-11-16, 22:35
" Contentu' " necesita o plata a unui "abonament". Cine a deschis topicul , ar fi trebuit sa specifice.Pe kodi era un plugin " clone iptv stalker" care era free.

hydr0xygen
22-11-16, 07:57
Eu vreau sa-l instalez dintr-un singur motiv; ma gandesc sa renunt la antena parabolica si la cele 8 receivere telekom (si toate firele intinse prin casa), sa-mi fac un singur abonament de cablu si sa-mi creed propriu server intranet cu care sa ma duc prin casa la toate televizoarele (in fiecare camera am mufa rj45). Momentan sunt la faza cu instalarea serverului, dar ma gandesc ca n-o fi compatibil cu ubuntu 12.04

hydr0xygen
22-11-16, 22:51
Nu stiu, poate ma ajuta cineva.. cand ii dau setarile

<VirtualHost *:88>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/portal
<Directory /var/www/html/portal/>
Options -Indexes -MultiViews
AllowOverride ALL
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

primesc eroare 500,

iar cand ii dau :

<VirtualHost *:88>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/htmt
<Directory /var/www/html/portal/>
Options -Indexes -MultiViews
AllowOverride ALL
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

imi apar fisierele situate in /var/www/html