Fix iTop in docker + documentation in Readme-itop.txt
This commit is contained in:
parent
d771efbdd0
commit
d92d434bfa
@ -2,9 +2,9 @@
|
|||||||
# Then use by browsing http://localhost:8000
|
# Then use by browsing http://localhost:8000
|
||||||
# iTop in Docker version 2.2.0 beta
|
# iTop in Docker version 2.2.0 beta
|
||||||
FROM ubuntu:15.04
|
FROM ubuntu:15.04
|
||||||
MAINTAINER vincent.misson@hp.com
|
MAINTAINER vincent.misson@hpe.com
|
||||||
ENV DEBIAN_FRONTEND noninterative
|
ENV DEBIAN_FRONTEND noninterative
|
||||||
# Install deps for Redfish mockup
|
# Install deps for iTop
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y install apache2 unzip sed
|
RUN apt-get -y install apache2 unzip sed
|
||||||
RUN apt-get -y install mysql-server
|
RUN apt-get -y install mysql-server
|
||||||
|
9
examples/iTop/Readme-itop.txt
Normal file
9
examples/iTop/Readme-itop.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Build image: docker build --tag=itop/docker:0.1 .
|
||||||
|
Run : docker run -p 80:80 -d itop/docker:0.1
|
||||||
|
|
||||||
|
|
||||||
|
DB username: root
|
||||||
|
DB password: password
|
||||||
|
iTop url: http://localhost/itop/
|
||||||
|
|
||||||
|
|
@ -25,11 +25,8 @@ mysqladmin -u root password password
|
|||||||
#Configure web part
|
#Configure web part
|
||||||
cd /var/www/html
|
cd /var/www/html
|
||||||
unzip -q -o /tmp/iTop-2.2.0-beta-2371.zip
|
unzip -q -o /tmp/iTop-2.2.0-beta-2371.zip
|
||||||
mkdir -p itop
|
|
||||||
chmod 777 -R /var/www/html/
|
chmod 777 -R /var/www/html/
|
||||||
cd itop
|
ln -sf web itop
|
||||||
ln -sf .. web
|
|
||||||
cd ..
|
|
||||||
ip a
|
ip a
|
||||||
#sed -i -e 's/Listen 80/Listen 8000/' /etc/apache2/ports.conf
|
#sed -i -e 's/Listen 80/Listen 8000/' /etc/apache2/ports.conf
|
||||||
start_apache
|
start_apache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user