-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pali ondras
committed
Mar 24, 2017
1 parent
c4fa1c7
commit a4c5b86
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# stiahni a nainstaluj EPEL / REMI | ||
# download and install EPEL / REMI | ||
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | ||
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | ||
rpm -Uvh remi-release-7*.rpm epel-release-latest-7*.rpm | ||
|
||
# nainstaluj yum-config-manager | ||
# install yum-config-manager | ||
yum install -y yum-utils | ||
|
||
# povol php56 | ||
# enable php56 | ||
yum-config-manager --enable remi-php56 | ||
|
||
# nainstaluje sa nova verzia php | ||
# new version will be installed | ||
yum update -y | ||
|
||
# restart apache | ||
service httpd restart | ||
|
||
# downgrade | ||
# sudo yum-config-manager --disable remi-php56 | ||
# sudo yum remove php* | ||
# a potom nainstalovat php kniznice, ktore potrebujem (pripadne zbehnut vagrant provision) | ||
|
||
# restartuj apache | ||
service httpd restart | ||
# vagrant provision |