yum check-update
yum update
##ajouter un sudo
ssh root@server_ip_address
useradd username
passwd username
/ajouter l'utilisateur au su groupe
usermod -aG wheel username
su - username
sudo ls -l /root
Installer GOOGLE
https://blog.microlinux.fr/chrome-centos/
Installer apache
yum install httpd
nano /etc/httpd/conf/httpd.conf
adapter le documetn root, notament le port et le servername
service httpd start
service httpd status
INSTALL POSTGRESQL
***https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-7
INSTALLE MYSQL
sans Maria
https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-centos-7
avec maria
https://www.microlinux.fr/mysql-centos-7/
MARIADB compris.. a changer de source
INSTALLER ADMINER
https://www.linuxhelp.com/how-to-install-adminer-on-centos
INSTALLER NODEJS
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install nodejs
INSTALLER YARN
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg
sudo yum install yarn
INSTALLER VSCODE
https://linuxize.com/post/how-to-install-visual-studio-code-on-centos-7/
npm -i sequelize-cli
### installer docker (https://linuxize.com/post/how-to-install-and-use-docker-on-centos-7/)
sudo yum update
sudo yum install yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
yum list docker-ce --showduplicates | sort -r
sudo systemctl start docker
sudo docker run hello-world
sudo usermod -aG docker $USER
voir lien au dessus pour toute les fonctionnalités
### installer docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo pip install docker-compose
sudo yum upgrade python *
docker-compose version