Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download
  • New staff recruitment

    World of IPTV is recruiting new Staff members!
     
    If you also want to be a part of the Staff, then continue here:

    >>> HERE <<<

Download Ministra Manual Installation Guide on Ubuntu 14.04

Mkhuram786

Member
Member
Joined
Mar 6, 2020
Messages
9
Reaction score
82
Points
24
Location
Pakistan
This is the procedure to Install Ministra older version with PHP - 5 on Ubuntu 14

Link:

PHP:
Ministra 5.1.0, 5.2.0, 5.3.0 on Ubuntu Server LTS 14.04[/CENTER]

[LIST]
[*]Install Ubuntu server 14.04
[*]Upgrade Packages
[/LIST]
[CENTER]sudo apt-get update
sudo apt-get upgrade[/CENTER]

[LIST]
[*]Execute Command
[/LIST]
[CENTER]sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get install -y -u apache2 nginx memcached mysql-server php5 php5-mysql php-pear nodejs upstart && sudo pear channel-discover pear.phing.info && sudo pear install -Z phing/phing

[/CENTER]

[LIST]
[*]During installation you will prompted for sql password for use root. Please configure password
[*]Login to MySQL
[/LIST]
[CENTER]mysql -u root -p
CREATE DATABASE stalker_db;
SHOW DATABASES;
GRANT ALL PRIVILEGES ON stalker_db.* TO [email protected] IDENTIFIED BY '1' WITH GRANT OPTION;
FLUSH PRIVILEGES;
[/CENTER]

[LIST]
[*]Copy Ministra.zip files in the destination /var/www
[*]Install NPM
[/LIST]
[CENTER]sudo apt install npm
npm install --save get-ssl-certificate
Or 
npm config set strict-ssl false
sudo npm install -g [email protected]
sudo ln -s /usr/bin/nodejs /usr/bin/node[/CENTER]

[LIST]
[*]Install Unzip and Unzip Ministra.zip
[/LIST]
[CENTER]sudo apt-get install unzip
unzip Ministra.zip[/CENTER]

[LIST]
[*]

[*]Go to (/var/www/stalker_portal/deploy/) and run command
[/LIST]
[CENTER]sudo phing[/CENTER]
You will receive message after some time “Build Finished”. If not run the command again: 
[CENTER]sudo phing[/CENTER]

[LIST]
[*]

[*]Run command
[/LIST]
[CENTER]echo "max_allowed_packet = 32M" >> /etc/mysql/my.cnf[/CENTER]

[LIST]
[*]Restart sql services
[/LIST]
[CENTER]sudo service mysql restart[/CENTER]

[LIST]
[*]Run command to enable mod_encrypt
[/LIST]
[CENTER]php5enmod mcrypt[/CENTER]

[LIST]
[*]Run command
[/LIST]
[CENTER]echo "short_open_tag = On" >> /etc/php5/apache2/php.ini[/CENTER]

[LIST]
[*]Enable mode_rewrite
[/LIST]
[CENTER]a2enmod rewrite[/CENTER]
Make sure that the package libapache2-mod-php5filter is not installed on the system. If necessary, remove it.
[CENTER]apt-get purge libapache2-mod-php5filter[/CENTER]
Remove content of /etc/apache2/sites-available/ Do not forget to make backup.
[CENTER]cp 000-default.conf /etc/apache2/sites-available/000-default.backup
cat /dev/null > /etc/apache2/sites-available/000-default.conf[/CENTER]
Add following content to /etc/apache2/sites-available/000-default.conf
<VirtualHost *:88>
        ServerAdmin [email protected]
        DocumentRoot /var/www
        <Directory /var/www/stalker_portal/>
                Options -Indexes -MultiViews
                AllowOverride ALL
                Require all granted
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>



Set in /etc/apache2/ports.conf

[CENTER]Listen 88[/CENTER]
Run command

[CENTER]service apache2 restart[/CENTER]
Install nginx

[CENTER]sudo apt-get install nginx[/CENTER]
Go to /etc/nginx/sites-available/

[CENTER]cp default /etc/nginx/sites-available/backup-default[/CENTER]

Now edit default file and remove all content and paste the following

server {
    listen       80;
    server_name  localhost;

    location / {
        proxy_pass http://127.0.0.1:88/;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Real-IP $remote_addr;
    }

    location ~* \.(htm|html|jpeg|jpg|gif|png|css|js)$ {
        root /var/www;
        expires 30d;
    }
}
[LIST]
[*]Run command
[/LIST]
[CENTER]service nginx restart[/CENTER]

[LIST]
[*]Ministra Administration interface will be available via URL
[/LIST]
[CENTER]http://<your_ip_or_domain_name>/stalker_portal/server/adm/[/CENTER]

[LIST]
[*]Default access
[/LIST]
[CENTER]login: admin
password: 1
chmod -R a+rwx
 
Last edited by a moderator:
shape1
shape2
shape3
shape4
shape5
shape6
Top