update
This commit is contained in:
parent
59267d413f
commit
543355b4b3
@ -17,7 +17,9 @@ mvn -version
|
||||
|
||||
echo "=== Installation de Tomcat 10 ==="
|
||||
cd /opt
|
||||
sudo wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.47/bin/apache-tomcat-10.1.47.tar.gz
|
||||
#sudo wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.47/bin/apache-tomcat-10.1.47.tar.gz
|
||||
sudo wget https://archive.apache.org/dist/tomcat/tomcat-10/v10.1.47/bin/apache-tomcat-10.1.47.tar.gz
|
||||
|
||||
sudo tar -xvzf apache-tomcat-10.1.47.tar.gz
|
||||
sudo mv apache-tomcat-10.1.47 tomcat
|
||||
sudo chown -R vagrant:vagrant /opt/tomcat
|
||||
@ -80,7 +82,9 @@ sudo systemctl restart postgresql
|
||||
sudo systemctl status postgresql --no-pager
|
||||
|
||||
echo "=== Import des schémas et données ==="
|
||||
sudo -u archiweb_user psql -U archiweb_user -d archiweb_db -f /vagrant/database/schema.sql -W <<< "archiweb_pass"
|
||||
sudo -u archiweb_user psql -U archiweb_user -d archiweb_db -f /vagrant/database/data.sql -W <<< "archiweb_pass"
|
||||
#sudo -u archiweb_user psql -U archiweb_user -d archiweb_db -f /vagrant/database/schema.sql -W <<< "archiweb_pass"
|
||||
#sudo -u archiweb_user psql -U archiweb_user -d archiweb_db -f /vagrant/database/data.sql -W <<< "archiweb_pass"
|
||||
PGPASSWORD=archiweb_pass psql -U archiweb_user -d archiweb_db -f /vagrant/database/schema.sql
|
||||
PGPASSWORD=archiweb_pass psql -U archiweb_user -d archiweb_db -f /vagrant/database/data.sql
|
||||
|
||||
echo "=== Installation et déploiement terminé ==="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user