Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institut für Informatik
dbis
dbis-isochrone
isochrone
Commits
ff53d25a
Commit
ff53d25a
authored
10 years ago
by
User expired
Browse files
Options
Downloads
Patches
Plain Diff
changes for centos7 (firewall settings; service start/stop)
parent
22aa6d69
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/vagrant/bootstrap.sh
+14
-1
14 additions, 1 deletion
etc/vagrant/bootstrap.sh
etc/vagrant/conf/phpPgAdmin.conf
+7
-2
7 additions, 2 deletions
etc/vagrant/conf/phpPgAdmin.conf
with
21 additions
and
3 deletions
etc/vagrant/bootstrap.sh
+
14
−
1
View file @
ff53d25a
...
...
@@ -394,11 +394,20 @@ if $INSTALL_POSTGRES; then
yum
-y
localinstall
$DOWNLOAD_DIR
/epel-repo.rpm
>
install_epel_repo.log 2>&1
fi
echo
"Stopping
iptables
and SELinux"
echo
"Stopping
Firewall
and SELinux"
service iptables stop
>
stop_iptables.log 2>&1
service ip6tables stop
>>
stop_iptables.log 2>&1
service firewalld stop
>>
stop_iptables.log 2>&1
chkconfig iptables off
>>
stop_iptables.log 2>&1
chkconfig iptables off
>>
stop_iptables.log 2>&1
chkconfig iptables off
>>
stop_iptables.log 2>&1
systemctl disable iptables
>>
stop_iptables.log 2>&1
systemctl disable ip6tables
>>
stop_iptables.log 2>&1
systemctl disable firewalld
>>
stop_iptables.log 2>&1
if
[
$(
getenforce
)
==
"Enforcing"
]
;
then
setenforce 0
>
stop_selinux.log 2>&1
fi
sed
-i
's/SELINUX=enabled/SELINUX=disabled/'
/etc/selinux/config
if
$INSTALL_HTTPD
;
then
echo
"Installing httpd server"
...
...
@@ -739,21 +748,25 @@ fi
echo
"Starting services"
if
$INSTALL_HTTPD
;
then
service httpd start
>
start_httpd.log 2>&1
systemctl
enable
httpd
>>
start_httpd.log 2>&1
chkconfig httpd on
>>
start_httpd.log 2>&1
sleep
2
fi
if
$INSTALL_POSTGRES
;
then
service
$POSTGRESQL_SERVICE_NAME
start
>
start_pg.log 2>&1
systemctl
enable
$POSTGRESQL_SERVICE_NAM
>>
start_pg.log 2>&1
chkconfig
$POSTGRESQL_SERVICE_NAME
on
>>
start_pg.log 2>&1
sleep
2
fi
if
$INSTALL_NEO4J
;
then
service
$NEO4J_SERVICE_NAME
start
>
start_neo4j.log 2>&1
systemctl
enable
$NEO4J_SERVICE_NAME
>>
start_neo4j.log 2>&1
chkconfig
$NEO4J_SERVICE_NAME
on
>>
start_neo4j.log 2>&1
sleep
2
fi
if
$INSTALL_TOMCAT
;
then
service
$TOMCAT_NAME
start
>
start_tomcat.log 2>&1
systemctl
enable
$TOMCAT_NAME
>>
start_tomcat.log 2>&1
chkconfig
$TOMCAT_NAME
on
>>
start_tomcat.log 2>&1
sleep
2
fi
...
...
This diff is collapsed.
Click to expand it.
etc/vagrant/conf/phpPgAdmin.conf
+
7
−
2
View file @
ff53d25a
Alias
/
phpPgAdmin
/
usr
/
share
/
phpPgAdmin
<
Location
/
phpPgAdmin
>
Order
deny
,
allow
Allow
from
all
<
IfVersion
<
2
.
4
>
Order
deny
,
allow
Allow
from
all
</
IfVersion
>
<
IfVersion
>=
2
.
4
>
Require
all
granted
</
IfVersion
>
</
Location
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment