@xavier, pourrais tu m'expliquer ? coment puis je verifier les rgles iptables contraignantes qu'ovh m'aurait mis ?
c'est quoi un kernel grsec ?
sory, suis un vrai noob.
c'est quoi un kernel grsec ?
sory, suis un vrai noob.
iptables -L
grsec=grsecurity c'est un kernel tres securisé https://fr.wikipedia.org/wiki/Grsecurity .a lepoque quand j'etait chez ovh on pouvais choisir si tu voulais un debian grsecbash: composer: command not found
bash: cd: seedbox-manager: No such file or directory
root@ns329032:/tmp/rutorrent-essential# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
oui, non, je pensais que tu me demandais si on avait le choix a l'install de debian depuis mon panel de kimsufi d'option quelconques pou rles iptables..root@ns329032:/tmp# curl -s http://getcomposer.org/installer | php
il ne se passe rien.moi nickel
fait cette commande
df -h
npm install -g bower
dont know why Installing Bower Done !
Do not run Composer as root/super user! See https://getcomposer.org/root for details
[Composer\Downloader\TransportException]
The "http://packagist.org/p/provider-latest%24a8e990a3d4c19c0e81b355563c039a0536a8467891
825de095bf3b8b0c794194.json" file could not be downloaded: failed to open stream: Connec
tion timed out
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
bash: cd: seedbox-manager: No such file or directory
en gros, je suis en root et "composer" ne veut pas se lancer en root par securité ? c'est ca ?server {
listen 80;
server_name mondomaine.tld;
return 301 https://mondomaine.tld$request_uri;
}
server {
listen 443 default_server ssl;
server_name mondomaine.tld;
#return 301 https://mondomaine.tld$request_uri;
charset utf-8;
index index.html index.php;
client_max_body_size 10M;
ssl_certificate /etc/letsencrypt/live/mondomaine.tld/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mondomaine.tld/privkey.pem;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## fin config accueil serveur ##
## début config rutorrent en page accueil##
location ^~ / {
root /var/www/rutorrent;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##
## début config munin ##
location ^~ /graph {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /PATONLINE1 {
include scgi_params;
scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_user";
}
}