Serveur de stockage

Venez discuter ici de tout ce qui touche à l'abandonware.
Verrouillé
Avatar du membre
Fredo_L
Scientifique dans l'âme !
Messages : 6880
Enregistré le : 26-12-2001 13:02
Localisation : Paris
Contact :

Serveur de stockage

Message non lu par Fredo_L »

Achat d'un nouveau serveur.
Avatar du membre
Fredo_L
Scientifique dans l'âme !
Messages : 6880
Enregistré le : 26-12-2001 13:02
Localisation : Paris
Contact :

Re: Serveur de stockage

Message non lu par Fredo_L »

Mises à jour du système.
apt-get update && apt-get upgrade -y

Installation de Apache
sudo apt-get install apache2 apache2-doc

Commandes Apache
service apache2 start => permet de démarrer le service
service apache2 stop => permet d’arrêter le service
service apache2 restart => permet de relancer ou recharger le service

Installation PHP
sudo apt-get install php

Installation de nano
sudo apt-get update
sudo apt-get install nano


Installation de MySQL
sudo apt-get install mysql-server

Changement du mot de passe MySQL
mysql_secure_installation

Installation de phpmyadmin
sudo apt-get install phpmyadmin

installations diverses
apt-get install build-essential
apt-get install autoconf
apt-get install automake
apt-get install libtool
apt-get install flex
apt-get install bison
apt-get install debhelper
apt-get install binutils-gold
apt-get install python
apt-get install ca-certificates
update-ca-certificates
apt-get install ssl-cert
Avatar du membre
Fredo_L
Scientifique dans l'âme !
Messages : 6880
Enregistré le : 26-12-2001 13:02
Localisation : Paris
Contact :

Re: Serveur de stockage

Message non lu par Fredo_L »

Installation de ISPConfig3.

touch /var/log/auth.log
apt-get install -f fail2ban


cd /tmp
sudo apt-get install ca-certificates
sudo apt-get install ssl-cert
wget -O installer.tgz "https://github.com/servisys/ispconfig_s ... all/master"
tar zxvf installer.tgz
cd servisys-ispconfig_setup-09539c9/
chmod +x install.sh
./install.sh
cd -
rm installer.tgz
rm -fr servisys-ispconfig_setup-09539c9/
Verrouillé