Вы находитесь на странице: 1из 3

1.

) Cron jobs
Two cronjobs at app1
2.) disk space
root@INFIAPP01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 4.0G 4.0K 4.0G 1% /dev
tmpfs 810M 724K 810M 1% /run
/dev/sda5 18G 3.0G 15G 18% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 4.0G 0 4.0G 0% /run/shm
none 100M 0 100M 0% /run/user
//172.19.23.4/boe 1.5T 990G 547G 65% /home/cmsappuser/epgdata

infiapp@INFIAPP02:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 55G 593M 52G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 4.0G 4.0K 4.0G 1% /dev
tmpfs 810M 680K 810M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 4.0G 0 4.0G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda2 181M 35M 133M 21% /boot
/dev/sda4 8.8G 630M 7.7G 8% /usr

3.) operating system. ( Minor differenct INFIAPP01 is Ubuntu 14.04.5 LTS and
INFIAPP02 is Ubuntu 14.04.3 LTS)
4.) database connectivity
5.) code copy
6.) Install apache
root@INFIAPP01:~# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 15 2016 15:32:47

infiapp@INFIAPP02:~$ apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 24 2015 17:25:15

7.) php installation


root@INFIAPP01:~# dpkg -l | grep php
ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.21 i386
server-side, HTML-embedded scripting language (Apache 2 module)
ii libssh2-php 0.12-1build1 i386
PHP Bindings for libssh2
ii php-geshi 1.0.8.11-2 all
Generic Syntax Highlighter
ii php-getid3 1.9.7-1 all
scripts to extract informations from multimedia files
ii php-gettext 1.0.11-1 all
read gettext MO files directly, without requiring anything other than PHP
ii php-google-api-php-client 0.6.2-1 all
Google APIs client library for PHP
ii php-guzzle 3.7.0-1 all
object-oriented PHP HTTP client
ii php-pear 5.5.9+dfsg-1ubuntu4.20 all
PEAR - PHP Extension and Application Repository
ii php-symfony-eventdispatcher 2.3.1-1 all
Symfony framework - Event Dispatcher component
ii php5 5.5.9+dfsg-1ubuntu4.20 all
server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.5.9+dfsg-1ubuntu4.21 i386
server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.5.9+dfsg-1ubuntu4.21 i386
command-line interpreter for the php5 scripting language
ii php5-common 5.5.9+dfsg-1ubuntu4.21 i386
Common files for packages built from the php5 source
ii php5-curl 5.5.9+dfsg-1ubuntu4.21 i386
CURL module for php5
ii php5-gd 5.5.9+dfsg-1ubuntu4.21 i386
GD module for php5
ii php5-gdcm 2.2.4-1.1ubuntu4 i386
Grassroots DICOM PHP5 bindings
ii php5-gearman 1.1.2-1build2 i386
PHP wrapper to libgearman
ii php5-geoip 1.0.8-5build1 i386
GeoIP module for php5
ii php5-gmp 5.5.9+dfsg-1ubuntu4.21 i386
GMP module for php5
ii php5-gnupg 1.3.3-1build2 i386
wrapper around the gpgme library
ii php5-json 1.3.2-2build1 i386
JSON module for php5
ii php5-mcrypt 5.4.6-0ubuntu5 i386
MCrypt module for php5
ii php5-memcache 3.0.8-4build1 i386
memcache extension module for PHP5
ii php5-mysql 5.5.9+dfsg-1ubuntu4.21 i386
MySQL module for php5
ii php5-readline 5.5.9+dfsg-1ubuntu4.21 i386
Readline module for php5

These PHP packages were already installed at INFIAPP02 SERVER:


infiapp@INFIAPP02:~$ dpkg -l | grep php
ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.11 i386
server-side, HTML-embedded scripting language (Apache 2 module)
ii php5-cli 5.5.9+dfsg-1ubuntu4.11 i386
command-line interpreter for the php5 scripting language
ii php5-common 5.5.9+dfsg-1ubuntu4.11 i386
Common files for packages built from the php5 source
ii php5-json 1.3.2-2build1 i386
JSON module for php5
ii php5-mysql 5.5.9+dfsg-1ubuntu4.11 i386
MySQL module for php5
ii php5-readline 5.5.9+dfsg-1ubuntu4.11 i386
Readline module for php5

These PHP PACKAGES NEED TO BE INSTALLED AT INFIAPP02 SERVER:


ii libssh2-php 0.12-1build1 i386
PHP Bindings for libssh2
ii php-geshi 1.0.8.11-2 all
Generic Syntax Highlighter
ii php-getid3 1.9.7-1 all
scripts to extract informations from multimedia files
ii php-gettext 1.0.11-1 all
read gettext MO files directly, without requiring anything other than PHP
ii php-google-api-php-client 0.6.2-1 all
Google APIs client library for PHP
ii php-guzzle 3.7.0-1 all
object-oriented PHP HTTP client
ii php-pear 5.5.9+dfsg-1ubuntu4.20 all
PEAR - PHP Extension and Application Repository
ii php-symfony-eventdispatcher 2.3.1-1 all
Symfony framework - Event Dispatcher component
ii php5 5.5.9+dfsg-1ubuntu4.20 all
server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.5.9+dfsg-1ubuntu4.21 i386
server-side, HTML-embedded scripting language (CGI binary)
ii php5-curl 5.5.9+dfsg-1ubuntu4.21 i386
CURL module for php5
ii php5-gd 5.5.9+dfsg-1ubuntu4.21 i386
GD module for php5
ii php5-gdcm 2.2.4-1.1ubuntu4 i386
Grassroots DICOM PHP5 bindings
ii php5-gearman 1.1.2-1build2 i386
PHP wrapper to libgearman
ii php5-geoip 1.0.8-5build1 i386
GeoIP module for php5
ii php5-gmp 5.5.9+dfsg-1ubuntu4.21 i386
GMP module for php5
ii php5-gnupg 1.3.3-1build2 i386
wrapper around the gpgme library
ii php5-mcrypt 5.4.6-0ubuntu5 i386
MCrypt module for php5
ii php5-memcache 3.0.8-4build1 i386
memcache extension module for PHP5

COMMANDS TO INSTALL PHP:


sudo apt-get install php5
sudo apt-get install libssh2-php php-geshi php-getid3 php-gettext php-google-api-
php-client php-guzzle php-pear php-symfony-eventdispatcher php5-cgi php5-curl php5-
gd php5-gdcm php5-gearman php5-geoip php5-gmp php5-gnupg php5-mcrypt php5-memcache

COMMAND TO MOUNT

sudo mount -t cifs -o username=b02836,password=Dell@123 //172.19.23.4/boe


/home/infiapp/epgdata/ (This is mounted on

Вам также может понравиться