Difference between revisions of "User talk:Stephdl"

From SME Server
Jump to navigationJump to search
Line 1: Line 1:
 
http://wiki.contribs.org/SME_Server:Documentation:QA:Verification
 
http://wiki.contribs.org/SME_Server:Documentation:QA:Verification
 +
*ajouter un utilisateur
 +
db accounts setprop toto Shell /bin/bash
 +
signal-event user-modify toto
 +
*empecher indexer repertoire
 +
db accounts setprop toto Indexes disabled
 +
signal-event ibay-modify toto
 +
*complexité mot de passe
  
=== Repository ===
 
  
The CENTOS repository for Transmission is [http://geekery.blog.com/ geekery], for the moment i do not know how adjust it directly in sme, so you need to download rpm manually. You are free to verify latest rpm before install them.
+
    none : aucune vérification n'est effectuée sur le mot de passe
 +
    normal : le mot de passe doit être composé d'au moins sept caractères avec des lettres en majuscule et en minuscule, des chiffres et des caractères non alphanumériques
 +
    strong : les restrictions sont les mêmes que pour le niveau normal mais, en plus, le mot de passe est vérifié par cryptlib qui permet de s'assurer de sa complexité réelle
  
Geekery Repoviews
+
Vous pouvez donc spécifier le niveau de complexité requis pour les mots de passe des :
  
     [http://geekery.altervista.org/geekery/el5/i386/repoview/ EL5-i386]
+
     Administrateurs
  
     [http://geekery.altervista.org/geekery/el5/x86_64/repoview/ EL5-x86_64]
+
     config setprop passwordstrength Admin strong
  
     [http://geekery.altervista.org/geekery/el6/i686/repoview/ EL6-i686]
+
     Utilisateurs
  
     [http://geekery.altervista.org/geekery/el6/x86_64/repoview/ EL6-x86_64]
+
     config setprop passwordstrength Users normal
  
=== Installation ===
+
    I-bays
  
in the directory where you want to work
+
    config setprop passwordstrength Ibays none
 
 
mkdir transmission
 
cd transmission
 
 
 
We need to install all the following files, you have to adjust with your cpu architecture. '''For SME8 you have to use el5 binaries.'''
 
 
 
wget http://geekery.altervista.org/geekery/el5/i386/libevent2-2.0.10-1geekery.i386.rpm
 
wget http://geekery.altervista.org/geekery/el5/i386/transmission-2.76-1geekery.i386.rpm
 
wget http://geekery.altervista.org/geekery/el5/i386/transmission-common-2.76-1geekery.i386.rpm
 
wget http://geekery.altervista.org/geekery/el5/i386/transmission-daemon-2.76-1geekery.i386.rpm
 
wget http://geekery.altervista.org/geekery/el5/i386/transmission-cli-2.76-1geekery.i386.rpm
 
or
 
wget http://geekery.altervista.org/geekery/el5/x86_64/libevent2-2.0.10-1geekery.x86_64.rpm
 
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-2.76-1geekery.x86_64.rpm
 
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-common-2.76-1geekery.x86_64.rpm
 
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-daemon-2.76-1geekery.x86_64.rpm
 
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-cli-2.76-1geekery.x86_64.rpm
 
 
 
the root user can install rpm above
 
 
 
yum local install *
 
 
 
=== Configuration ===
 
 
 
{{note box|we must stop the deamon before every manual modifications of setting.json}}
 
 
 
/etc/init.d/transmission-daemon stop
 
nano /var/lib/transmission/settings.json
 
 
 
allow your network range to connect to the transmission-deamon '''"*" can be used as a wild card'''
 
 
 
"rpc-whitelist": "'''127.0.0.1,192.168.1.*'''",
 
"rpc-whitelist-enabled": '''true''',
 
 
 
you can find a lot of useful option directly in the [https://trac.transmissionbt.com/wiki/EditConfigFiles Transmission wiki] but normally some of them are usable in the web utility
 
 
 
we can launch the deamon
 
 
 
/etc/init.d/transmission-daemon start
 
 
 
=== Allow port in sme firewall ===
 
 
 
by default the transmission-deamon use the 51413 port for sharing with other computer so we have to authorize it in the sme firewall and after you may need to allow it in the nat configuration of your router if the upnp configuration does'nt work.
 
 
 
db configuration set transmission-daemon service
 
db configuration setprop transmission-daemon TCPPort 51413
 
db configuration setprop transmission-daemon status enabled
 
db configuration setprop transmission-daemon access public
 
 
 
if you want to allow a range of ports you can take a look to this part of  [[DB_Variables_Configuration#IPTables_firewall_.28masq.29| DB documentation ]] and use the TCPPorts command
 
 
 
{{tip box|After that if you go to the menu "Edit Preferences/network you can verify if the port is "open"}}
 
 
 
=== Runlevel7 ===
 
if you restart your computer you can experiment that the service is not started because there is no link to rc.7d, so you have to do this command line to allow transmission deamon operate in runlevel 7.
 
 
 
ln -s /etc/init.d/transmission-daemon /etc/rc.d/rc7.d/S99transmission-daemon
 
 
 
=== Play with transmission ===
 
 
 
now you are able to use transmission deamon with this url in the web browser http://your-ip-sme:9091
 

Revision as of 17:19, 1 April 2013

http://wiki.contribs.org/SME_Server:Documentation:QA:Verification

  • ajouter un utilisateur

db accounts setprop toto Shell /bin/bash signal-event user-modify toto

  • empecher indexer repertoire

db accounts setprop toto Indexes disabled signal-event ibay-modify toto

  • complexité mot de passe


   none : aucune vérification n'est effectuée sur le mot de passe
   normal : le mot de passe doit être composé d'au moins sept caractères avec des lettres en majuscule et en minuscule, des chiffres et des caractères non alphanumériques
   strong : les restrictions sont les mêmes que pour le niveau normal mais, en plus, le mot de passe est vérifié par cryptlib qui permet de s'assurer de sa complexité réelle

Vous pouvez donc spécifier le niveau de complexité requis pour les mots de passe des :

   Administrateurs
   config setprop passwordstrength Admin strong
   Utilisateurs
   config setprop passwordstrength Users normal
   I-bays
   config setprop passwordstrength Ibays none