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
# up-to-date the system | |
sudo dnf update | |
# install latest docker version | |
# see: https://docs.docker.com/installation/fedora/ | |
curl -sSL https://get.docker.com/ | sh | |
# start docker service | |
sudo systemctl start docker.service |
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
# install phpPgAdmin | |
sudo dnf install phpPgAdmin | |
# start apache2 service | |
sudo systemctl start httpd | |
# access phpPgAdmin on browser | |
http://localhost/phpPgAdmin |
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
# see: https://fedoraproject.org/wiki/PostgreSQL | |
# install latest postgresql | |
sudo dnf install postgresql-server postgresql-contrib | |
# init database | |
sudo postgresql-setup initdb | |
# start postgresql | |
sudo systemctl start postgresql |
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
# install PHP | |
sudo dnf install php php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-pgsql php-gd php-xml php-mbstring php-zip | |
# install composer | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
# install laravel | |
composer global require "laravel/installer=~1.1" | |
sudo ln -s ~/.composer/vendor/bin/laravel /usr/local/bin/laravel |
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
# install dependencies | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install git curl nodejs nodejs-legacy npm ruby-sass php php-pgsql php-json php-curl php-mcrypt php-mbstring php-gd postgresql phppgadmin phpunit -y | |
# enable mcrypt and restart apache2 | |
sudo phpenmod mcrypt | |
# enable mod_rewrite | |
sudo a2enmod rewrite |
NewerOlder