Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Revive Adserver ad server installation on Ubuntu 15.04 / CentOS7     - Forwarding module with Apache reverse proxy server (Server)

- Terminal multiplexing tool tmux use (Linux)

- GAMIT10.5 under CentOS installation (Linux)

- Linux Shell Understanding and Learning (Linux)

- CentOS 6 Install Xen4.2 Virtualization Practice (Linux)

- Linux RHCS basic maintenance commands (Linux)

- Oracle to read and modify the data block process (Database)

- Production Environment MongoDB Fragmentation and Cluster Solution (Database)

- Install Websphere MB required system rpm package under Linux (Linux)

- Depth understanding of DB2 table space (Tablespace) (Database)

- MySQL combination Git achieve differential backups can be used in the production environment (Database)

- Detailed iptables (Linux)

- Write perfect printf (Programming)

- Oracle Sql Loader tool has shown signs (Database)

- Ubuntu 14.10 / Linux Mint 17.1 Win10 compiler install rdesktop 1.8.3 Remote Desktop connection (Linux)

- Linux file permissions and access modes (Linux)

- Use MongoDB C # MongoDB official driving operation (Database)

- Smack 4.1.x Upgrade Guide (Linux)

- Linux operating system, the internal and external security overview (Linux)

- Distributed transaction management Spring declarative transactions (Programming)

  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.
- Linux System Getting Started Learning: compile and install ixgbe driver in Ubuntu or Debian (Linux)
- ORA-38856: Unable instance UNNAMED_INSTANCE_2 (redo thread 2) marked enabled (Database)
- C # / iOS / Android Universal Encryption and decryption (Programming)
- linux firewall configuration (Linux)
- When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)
- Use CutyCapt to convert HTML pages to png images on Linux (Linux)
- What is Java EE (Programming)
- Android development environment to build under Fedora 13 (Linux)
- Oracle RMAN backups of the control file backup (Database)
- JQuery implements the same content merge cells (Programming)
- The SVN installation, configuration and start - up under Linux (CentOS 6.5) (Server)
- Learning OpenCV: (VS2010-openCV2.4.3-win7 configuration instructions) (Linux)
- How to run Kali Linux 2.0 in Docker container (Linux)
- Python 2.7 installed on CentOS 6.5 (Linux)
- CentOS6 install Redis (Database)
- C ++ hash function (Programming)
- Linux operating system ARP Spoofing Defense (Linux)
- Oracle 11g partition maintenance (Nice) - Truncating And Partitions (Database)
- Linux performance monitoring and common commands Introduction (Linux)
- Android project using the command to create and install the package (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.