Telechargé par Vincent Leguy

Notes

publicité
Procédure Installation Linux
OS Linux
Ubuntu 18
Login : vleguy
Pwd : AzertY78
Install OpenJDK 11 in Ubuntu – Package
sudo apt-get install openjdk-11-jdk
java -version
Install PostgreSQL 10 on Ubuntu
# Create the file repository configuration:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt
$(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc
| sudo apt-key add # Update the package lists:
sudo apt-get update
# Install the latest version of PostgreSQL.
# If you want a specific version, use 'postgresql-12' or similar
instead of 'postgresql':
sudo apt-get -y install postgresql-10
sudo systemctl status postgresql
sudo -u postgres psql template1
ALTER USER postgres WITH PASSWORD 'postgres';
\q
FTP
sudo apt-get install vsftpd
sudo nano /etc/vsftpd.conf
sudo service vsftpd reload
CMDBBuild
wget -O ready2use-2.1-3.3.1.sh
https://sourceforge.net/projects/cmdbuild/files/ready2use2.1/Core%20updates/ready2use-2.1-3.3.1/ready2use-2.13.3.1.sh/download
sudo chmod +x ready2use-2.1-3.3.1.sh
sudo apt-get install unzip
./ready2use-2.1-3.3.1.sh install
Configuration
sudo ufw allow 8080
cd /home/vleguy/cmdbuild_30/bin
./catalina.sh start
Lien progiciel
http://IPSERVER:8080/cmdbuild
Username: admin
Password: admin
pgAdmin4
sudo nano /etc/postgresql/10/main/postgresql.conf
 listen_addresses = '*'
sudo ufw allow 5432
Webservice API
http://192.168.186.128:8080/cmdbuild/services/rest/v3
=>
HTTP/1.1 401
CMDBuild-RequestId=6mhxwj8smt1wtdg7ubihqun2
X-Content-Type-Options=nosniff
X-XSS-Protection=1; mode=block
Cache-Control=no-cache, no-store, max-age=0, must-revalidate
Pragma=no-cache
Expires=0
X-Frame-Options=SAMEORIGIN
Content-Type=application/json;charset=UTF-8
Content-Length=215
Date=Sun, 28 Feb 2021 16:43:58 GMT
Keep-Alive=timeout=20
Connection=keep-alive
http:// 192.168.186.128:8080/cmdbuild/services
http:// 192.168.186.128:8080/cmdbuild/services/rest/v3/cards
Téléchargement