|
|
|
@ -3,16 +3,16 @@ mysql -u root -e 'create database drupal;'
|
|
|
|
|
mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENTIFIED BY 'drupal';" |
|
|
|
|
|
|
|
|
|
# Java (Oracle) |
|
|
|
|
sudo apt-get install -y software-properties-common |
|
|
|
|
sudo apt-get install -y python-software-properties |
|
|
|
|
sudo add-apt-repository -y ppa:webupd8team/java |
|
|
|
|
sudo apt-get update |
|
|
|
|
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections |
|
|
|
|
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections |
|
|
|
|
sudo apt-get install -y oracle-java8-installer |
|
|
|
|
sudo update-java-alternatives -s java-8-oracle |
|
|
|
|
sudo apt-get install -y oracle-java8-set-default |
|
|
|
|
export JAVA_HOME=/usr/lib/jvm/java-8-oracle |
|
|
|
|
#sudo apt-get install -y software-properties-common |
|
|
|
|
#sudo apt-get install -y python-software-properties |
|
|
|
|
#sudo add-apt-repository -y ppa:webupd8team/java |
|
|
|
|
#sudo apt-get update |
|
|
|
|
#echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections |
|
|
|
|
#echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections |
|
|
|
|
#sudo apt-get install -y oracle-java8-installer |
|
|
|
|
#sudo update-java-alternatives -s java-8-oracle |
|
|
|
|
#sudo apt-get install -y oracle-java8-set-default |
|
|
|
|
#export JAVA_HOME=/usr/lib/jvm/java-8-oracle |
|
|
|
|
|
|
|
|
|
# phpcpd |
|
|
|
|
#sudo apt-get install -y phpcpd |
|
|
|
|