Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Revive Adserver ad server installation on Ubuntu 15.04 / CentOS7     - WEB-based Android Remote Tools Python implementation (Programming)

- Ubuntu: To install chat client Chatty 0.6.1 (Linux)

- C # function (Programming)

- Use FirewallD build dynamic firewall (Linux)

- Linux remote connectivity tools -OpenSSH (Linux)

- Analysis RabbitMQ cluster (Server)

- SaltStack installation and testing (Server)

- Ubuntu terminal command - see the port occupied and off (Linux)

- Use backup-manager system backup on Linux (Linux)

- Graphical interface for the CentOS 6.4 installed and connected by remote VNC (Linux)

- The easiest 11g Active DataGuard (ADG) to establish the configuration process (Database)

- How to deploy Icinga server (Server)

- How to choose the correct HTTP status code (Server)

- IntelliJ IDEA common list of shortcuts (Linux)

- Ubuntu set Swap Space Tutorial (Linux)

- Based AutoYaST automated installation of SUSE practice (Linux)

- 64-bit Windows Server 2012 R2 install Oracle 10g Second Edition (Database)

- linux firewall configuration (Linux)

- MySQL InnoDB table --BTree basic data structures (Database)

- GitHub multiplayer co-development configuration (Linux)

  Revive Adserver ad server installation on Ubuntu 15.04 / CentOS7
  Add Date : 2018-11-21      
  Revive Adserver is a free open source ad management system, which enables publishers, advertisers and advertising platform to serve and manage ads on the page system, applications, video. Revive Adserver formerly called OpenX Source, the GNU General Public License. It combines advertising management, site targeting, geo-targeting and tracking systems for data collection in one. Webmaster can make internal management, paid advertising and third-party sources, such as Google's AdSense. This tutorial will teach you to install and run Revive Adserver in Ubuntu 15.04 or CentOS 7.

1. Install LAMP

First, Revive Adserver requires a full LAMP environment to run, so we tried to install LAMP. LAMP is the Apache Web server, MySQL / MariaDB database and PHP module collection. To Revive normal operation, you need to install many PHP modules, such as apc, zlib, xml, pcre, mysql and mbstring. Different Linux distributions, we can LAMP configuration with the following command:

In Ubuntu 15.04 under

# Apt-get install apache2 mariadb-server php5 php5-gd php5-mysql php5-curl php-apc zlibc zlib1g zlib1g-dev libpcre3 libpcre3-dev libapache2-mod-php5 zip

7 Under CentOS

#yum install httpd mariadb php php-gd php-mysql php-curl php-mbstring php-xml php-apc zlibc zlib1g zlib1g-dev libpcre3 libpcre3-dev zip

2. Start the Apache Web services and MariaDB

You can start just installed Apache Web services and MariaDB database server with the following command.


In Ubuntu 15.04 under

Ubuntu15.04 Systemd use as the default initial system, the Apache and MariaDB start the process with the following command:

#systemctl start apache2 mysql
You can make it with the following command to start automatically:

#systemctl enable apache2 mysql
Synchronizing state for apache2.service with sysvinit using update-rc.d ...
Executing / usr / sbin / update-rc.d apache2 defaults
Executing / usr / sbin / update-rc.d apache2 enable
Synchronizing state for mysql.service with sysvinit using update-rc.d ...
Executing / usr / sbin / update-rc.d mysql defaults
Executing / usr / sbin / update-rc.d mysql enable

7 Under CentOS

CentOS 7 is the same as the default Systemd initial system, you can start with the following command:

#systemctl start httpd mariadb
ln-s '/usr/lib/systemd/system/httpd.service''/etc/systemd/system/multi-user.target.wants/httpd.service'
ln-s '/usr/lib/systemd/system/mariadb.service''/etc/systemd/system/multi-user.target.wants/mariadb.service'

3. Configure MariaDB


In CentOS 7 / Ubuntu 15.04 under

When we first start MariaDB, MariaDB is not assigned a password, so we have to set a root password. After create a new database for storing Revive Adserver data.

Use the following commands to configure MariaDB and set the root password:

# Mysql_secure_installation
Then we will ask for the root password, but we have not set a password before anything, so press Enter Next. Thereafter, the requirement to set the root password, then we enter Y, then enter your desired password. Enter to continue.

so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on ...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y / n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables ..
... Success!
installation should now be secure.
Configuring MariaDB

Configuring MariaDB


4. Create a new database

After you set a password for MariaDB root user, you can create a database to store application data Revive Adserver. First, by the following command to log MariaDB console:

# Mysql -u root -p
Then asked to enter the root user's password, as long as we enter the last step to set a good password. Then enter MariaDB console to create a new database, the database user and password, and grant create, delete, and edit all permissions and data storage table.

> CREATE USER 'reviveuser' @ 'localhost' IDENTIFIED BY 'Pa $$ worD123';
.> GRANT ALL PRIVILEGES ON revivedb * TO 'reviveuser' @ 'localhost';
Creating Mariadb Revive Database

Creating Mariadb Revive Database


5. Download Revive Adserver

Then download the latest version of Revive Adserver Revive Adserver.3.2.2 (at this writing). You can use the wget command to download from the official website Revive Adserverde archive site at: http: //www.revive-adserver.com/download/. Command is as follows:

# Cd / tmp /
#wget http://download.revive-adserver.com/revive-adserver-3.2.2.zip
--2015-11-0917: 03: 48-- http://download.revive-adserver.com/revive-adserver-3.2.2.zip
Resolving download.revive-adserver.com (download.revive-adserver.com) ...,,, ...
Connecting to download.revive-adserver.com (download.revive-adserver.com) | |: 80 ... connected.
HTTP request sent, awaiting response ... 200 OK
Length: 11663620 (11M) [application / zip]
Saving to: 'revive-adserver-3.2.2.zip'
revive-adserver-3.2100% [=====================>] 11.12M1.80MB / s in13s
2015-11-0917: 04: 02 (906 KB / s) - 'revive-adserver-3.2.2.zip' saved [11663620/11663620]
Unzip to a temporary directory:

# Unzip revive-adserver-3.2.2.zip
The entire file after extracting the folder to the root directory of the default Apache Web server / var / www / html / under:

#mv revive-adserver-3.2.2 / var / www / html / reviveads

6. Configure Apache Web Services

Now configure the Apache service to Revive running. By creating a profile reviveads.conf to create a new virtual host. This directory is different on different Linux distributions.


In Ubuntu 15.04 under

# Touch / etc / apache2 / sites-available / reviveads.conf
# Ln-s /etc/apache2/sites-available/reviveads.conf /etc/apache2/sites-enabled/reviveads.conf
# Nano / etc / apache2 / sites-available / reviveads.conf
Add the following few lines of text in the file:

ServerAdmin info@reviveads.linoxide.com
DocumentRoot / var / www / html / reviveads /
ServerName reviveads.linoxide.com
ServerAlias ​​www.reviveads.linoxide.com

Options FollowSymLinks
AllowOverride All

ErrorLog /var/log/apache2/reviveads.linoxide.com-error_log
CustomLog /var/log/apache2/reviveads.linoxide.com-access_log common

Configuring Apache2 Ubuntu

Configuring Apache2 Ubuntu

Save and exit and restart Apache Web services:

#systemctl restart apache2

7 Under CentOS

In CentOS, we created reviveads.conf directly at /etc/httpd/conf.d/ directory:

# Nano / etc / httpd / conf.d / reviveads.conf
Add the following few lines of text in the file:

ServerAdmin info@reviveads.linoxide.com
DocumentRoot / var / www / html / reviveads /
ServerName reviveads.linoxide.com
ServerAlias ​​www.reviveads.linoxide.com

Options FollowSymLinks
AllowOverride All

ErrorLog /var/log/httpd/reviveads.linoxide.com-error_log
CustomLog /var/log/httpd/reviveads.linoxide.com-access_log common

Configuring httpd Centos

Configuring httpd Centos

Save and exit and restart Apache Web services:

#systemctl restart httpd

7. repair permissions and ownership

Now we modify permissions and ownership of files under the installation path. The ownership of the Apache installation directory into all processes, so that Apache Web services have to edit files and directories, create and delete full privileges.


In Ubuntu 15.04 under

#chown www-data: -R / var / www / html / reviveads

7 Under CentOS

#chown apache: -R / var / www / html / reviveads

8. Set up a firewall

Now configure the firewall to open port 80 so Apache Web service running Revive Adserver can be accessed by other machines on the network.


7 Under Ubuntu 15.04 / CentOS

Ubuntu15.04 / CentOS 7 Systemd used as the default initial system, use firewalld as its firewall. To open port 80 (http service port), execute the following command:

# Firewall-cmd --permanent --add-service = http
# Firewall-cmd --reload

9. The installation site

Hopefully we can use to interact with the browser, and the browser can point to a network server is running. As long as the browser and enter http: // ip-address / or http://domain.com. Here we want to access http://reviveads.linoxide.com/

Revive Adserver can see the welcome page, as well as its top issue licenses GNU General Public License V2 open. I agree Click Next to continue the installation.

On the next page, we want to enter the database information in order to Revive Adserver and MariaDB database server connected. Before the database name you want to enter the settings, the user name and password. In this tutorial, we are entered into the database name revivedb, user name reviveuser, password Pa $$ worD123, and to make the host name localhost, click continue to proceed.

Configuring Revive Adserver

Configuring Revive Adserver

Enter to fill in information such as: the administrator user name, password and email. This information can log on Adserver control interface. Then skip to the last page, you can see Revive Adserver has been installed successfully.

Next, go to Adverstiser page, add a new ad management. In the control interface to add new users to the adserver, add titles, web pages, video ad for library users.


Sum up

In this article, we learn how to install and configure Revive Adserver on Ubuntu 15.04 and CentOS 7. Although Revive Adserver original code from OpenX bought it, but now Revive Adserver OpenX Enterprise and has been completely separated. You can get more plug-ins to extend from http://www.adserverplugins.com/ new features. Speak true, this software does make web pages, applications, video ad management becomes a lot easier.
- Android project and coding specifications (Programming)
- Python pickle module for simple use notes (Programming)
- Grub2: Save Your bootloader (Linux)
- Broadcom transplanted to OpenWrt summary (Programming)
- Linux - Common process the command (Linux)
- Valgrind * not * leak check tool (Linux)
- Install Linux Mint 17: 20 things to do (Linux)
- HAProxy Windows version of the compiler and its application in the CORS (Server)
- Android Studio Personalization (Linux)
- A brief description of Java 8 new features introduced syntax (Programming)
- Learn to read the source code of vmstat (Linux)
- UUID in Java (Programming)
- Configuring Eclipse Note Templates (Linux)
- Kickstart automated installation and deployment RHEL 7.0 (Linux)
- Changes in C # asynchronous programming model (Programming)
- Analysis of native Java keywords (Programming)
- Quickly locate the mistakes by gdb location (Programming)
- Using the Linux VNC service (Server)
- ActiveMQ configuration Getting Started Tutorial (Server)
- To achieve Linux Security (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.