Tags: debian

Sort by: Date / Title /

  1. 1 day ago by spirit
    quick tutorial
    1. # Enable ssl
    2. a2enmod ssl
    3.  
    4. # Edit /etc/apache2/ports.conf and add "Listen 443"
    5.  
    6. # Generate certs: use your domain as Common Name or *.domain.tld for multiple domains
    7. openssl req -x509 -nodes -days 365 -newkey rsa:1024 -out /etc/apache2/server.crt -keyout /etc/apache2/server.key
    8.  
    9. # In the virtualhost, use the following code:
    10. <VirtualHost 192.168.0.1:443>
    11.         SSLEngine On
    12.         SSLCertificateFile /etc/apache2/server.crt
    13.         SSLCertificateKeyFile /etc/apache2/server.key
    14. </VirtualHost>
    15.  
    16. # Reload apache2
    17. /etc/init.d/apache2 reload
  2. 3 weeks ago by spirit
    1. a2ensite mysite
    2. # 'mysite' refers to /etc/apache2/sites-available/mysite
    3. # This creates the symbolic link between configuration files in /etc/apache2/sites-available and /etc/apache2/sites-enabled
    4.  
    5. a2dissite mysite # disable the site
  3. 1 month ago by enoch
    Re: apt-? how do I get the feature whatprovides?
    The functionality you were looking for is supplied by apt-file. To install:
    
    sudo apt-get install apt-file
    
    To use:
    
    sudo apt-file update
    
    sudo apt-file search <filename>
    
    Enjoy,
    
    Tim.
    milstead is offline   	Reply With Quote
  4. 3 months ago by spirit
    // APT: Ajouter la ligne suivante dans /etc/apt/apt.conf.d/70debconf
    Acquire::http::Proxy "http://192.168.1.1:80";
    (éventuellement http://login:passwd@192.168.1.1:8080)
    
    // YUM: deux solutions:
    - export http_proxy=http://192.168.1.1:8080
    (éventuellement http_proxy=http://login:passwd@192.168.1.1:8080)
    - [ou] Editer le fichier /etc/yum.conf et rajouter proxy=http://192.168.1.1:8080
    (éventuellement aussi proxy_username=userxxx et proxy_password=passxxx)
  5. 4 months ago by bobuse
    1. dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
  6. 5 months ago by spirit
    Vérifier tout de même sur le site http://www.backports.org que le paquet plus récent à installer a bien été backporté
    1. echo "deb http://www.backports.org/debian etch-backpoprts main contrib non-free" >> /etc/apt/source.list   # Le mirroir
    2. aptitude update
    3. aptitude install debian-backports-keyring   # Clé publique du dépôt
    4. aptitude update
    5.  
    6. # Remplacer postgresql par le package que vous souhaitez
    7. echo "Package: postgresql
    8. Pin: release a=etch-backports
    9. Pin-Priority: 999" >> /etc/apt/preferences
    10.  
    11. aptitude install postgresql
  7. 5 months ago by spirit and saved by 1 other
    1. # Debian : edit the following file (mac to eth association)
    2. /etc/udev/rules.d/z25_persistent-net.rules
    3.  
    4. # The long way : change the name when loading the module for the NIC
    5. cat /etc/sysconfig/hwconf | grep -A 16 NETWORK
    6. class: NETWORK
    7. bus: PCI
    8. detached: 0
    9. device: eth0
    10. driver: 8139t
    11. # Then change the device name in the ifcfg script: /etc/sysconfig/network-scripts/ifcfg-ethX
  8. sponsorised links
  9. 5 months ago by advitam and saved by 4 others
    1. #faire un :
    2. lspci –n
    3. #Et copiez la sortie dans le site web :
    4. http://kmuto.jp/debian/hcl/
  10. 5 months ago by spirit and saved by 1 other
    apt-get install psmisc
  11. 5 months ago by spirit
    1. apt-get install linux-headers-`uname -r`

First / Previous / Next / Last / Page 1 of 3 (27 posteets)