installation serveur dédié - full

Retour

compte et ssh

sudo su -
ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAoBrnflaoJfcCETItWRL2TpFi4Fi3V1SzZxu7yLpuyR5RgTqp64HEAQJqTPxgD7vQpGAETjBByk7+8TyIQnFiWhWp30Gi9w6pxcfHpOR1PtwyyeTsKY7NiEl3zatA9fn2tNKOO0U6GsNIwvVTdyPDTltGpGsTnRSbvKtuCr+ok5Ns5iicgu2+Icqxavte0XM8GV9+V8v+XhmVJaGpkCUMwwzidw0cKc1BpZwDlOwZw7KMQ6BJVEdloBeyHjQm3QIxuMoqrhy+xeJeboc/4HDbnvlrLNs95EZAoEyNhm5oNsS0ujFkWbHB7Zrc/qdHre/fIPIIshPEB85myyXyLnOtkw== rsa-key-20120215-raf" >> /root/.ssh/authorized_keys
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAh3lDPLIg3/cjLOTsFC7S4Day5H4VkA2dBTb/LrsmPOb5/NJhSyq703p4kKM7mkzvB4gRJ0/YpH4iVbD9H39nDYOQqSokB9QfLyrRp0bgZqtt5R+jZ/YUPnu852yn+BLn1pn9+cn+ycuq9K35rbsXn9k7gVoG4AanwW/IeK8jGgU= rsa-key-20161116-martin" >> /root/.ssh/authorized_keys
passwd

authoriser le log root : http://blog.raphaelpiccolo.com/post/137

autocompletion bash en tant que root

apt-get install bash-completion

securité anti spam ssh

apt-get install fail2ban

inotify : http://blog.raphaelpiccolo.com/post/750

installation normale

apt-get update
apt-get upgrade
apt-get install unzip
apt-get install lm-sensors
apt-get install emacs screen git ssh
apt-get install build-essential
apt-get install software-properties-common
apt-get install locate
apt-get install lshw
apt-get install imagemagick
apt-get install lftp curl

DATE : http://blog.raphaelpiccolo.com/post/304
SUDO : http://blog.raphaelpiccolo.com/post/374
SERVEUR Postgresql : http://blog.raphaelpiccolo.com/post/377
SERVEUR MySQL : http://blog.raphaelpiccolo.com/post/389
SQL Mode : http://blog.raphaelpiccolo.com/post/328
SERVEUR MONGODB : http://blog.raphaelpiccolo.com/post/210
nodejs
installation : http://blog.raphaelpiccolo.com/post/63
casperjs : http://blog.raphaelpiccolo.com/post/106
mocha : http://blog.raphaelpiccolo.com/post/531
PHP
version 7 : http://blog.raphaelpiccolo.com/post/393
version 5 : http://blog.raphaelpiccolo.com/post/331

emacs /etc/php/5.6/apache2/php.ini
memory_limit
upload_max_filezize
post_max_zize
apachectl restart

SERVEUR WEB

apt-get install apache2
a2enmod proxy
a2enmod proxy_http

server status : http://blog.raphaelpiccolo.com/post/521
APACHE ITK : http://blog.raphaelpiccolo.com/post/396
APACHE PHP FPM : http://blog.raphaelpiccolo.com/post/399
APACHE SUEXEC : http://blog.raphaelpiccolo.com/post/401
APACHE ET NODEJS : http://blog.raphaelpiccolo.com/post/403
letsencrypt : http://blog.raphaelpiccolo.com/post/409
INTERDIRE L'ACCES AUX DOSSIERS .git : http://blog.raphaelpiccolo.com/post/405
RUTORRENT : http://blog.raphaelpiccolo.com/post/387
SQUID : http://blog.raphaelpiccolo.com/post/385
MAIL
complet : http://blog.raphaelpiccolo.com/post/383
relay : http://blog.raphaelpiccolo.com/post/381
VSFTPD : http://blog.raphaelpiccolo.com/post/379
netdata : http://blog.raphaelpiccolo.com/post/206
REDIS : http://blog.raphaelpiccolo.com/post/407
migrer sur un nouveau serveur : http://blog.raphaelpiccolo.com/post/579

docker : https://blog.raphaelpiccolo.com/post/844
loki driver : https://blog.raphaelpiccolo.com/post/838