HTTP/1.1 200 OK
Date: Thu, 24 Nov 2005 15:59:12 GMT
Server: Apache/ProXad [Sep 2 2005 07:05:41]
X-Powered-By: PHP/4.3.10
Connection: close
## UPDATES
deb http://fr.archive.ubuntu.com/ubuntu breezy-updates main restricted
## SECURITY
deb http://security.ubuntu.com/ubuntu breezy-security main restricted universe
## DISTRIB BREEZY
deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
Mise à jour de la base de données des paquets :
sudo apt-get update
Installation des paquets :
sudo apt-get install pure-ftpd cvs autoconf automake intltool libglib2.0-dev libgtk2.0-dev libglade2-dev make checkinstall libgamin-dev
Editer /etc/default/pure-ftpd-common
sudo gedit /etc/default/pure-ftpd-common
Changer
STANDALONE_OR_INETD=inetd
en
STANDALONE_OR_INETD=standalone
Commenter cette ligne dans /etc/inetd.conf
#ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
Désactiver l'autentification PAM
sudo echo "no" > /etc/pure-ftpd/conf/PAMAuthentication
Créer un lien symbolique pour gérer l'autentification avec PureDB
cd /etc/pure-ftpd/auth/
sudo ln -s ../conf/PureDB 50PureDB
Créez un répertoire où récuperer et compiler pureadmin
sudo mkdir -p /tmp/pureadmin
cd /tmp/pureadmin
export CVS_RSH=ssh
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/purify login
pas de password, appuyer sur entrée
si ça ne trouve pas le fichier .cvspass dans le /home ça n'est pas grave, continuer
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/purify co purify
cd purify
./autogen.sh
./configure
make
sudo checkinstall
quand on demande:
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: n
répondre n (non)
changer les paramètres du paquet pour avoir quelque chose comme ça :
0 - Maintainer: [ mail@example.com ] 1 - Summary: [ Gtk graphic front-end for PureFTPd ] 2 - Name: [ pureadmin ] 3 - Version: [ 0.2.2 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ purify ] 9 - Alternate source location: [ ]
Si tout se passe bien le paquet généré s'installe automatiquement. Sinon installer en tappant la commande
sudo dpkg -i pureadmin_0.2.2-1_i386.deb
lancer pureadmin
sudo pureadmin
Aller dans Préférences
Renseigner le "Dossier Home:" , ne pas tenir compte du reste pour l'instant
Remplir les commandes externes comme sur l'image
Cliquer sur "Gestion des comptes"
Répondre "Oui"
Répondre "Oui"
Créer un utilisateur
Cliquer sur "Ajouter compte" et quitter pureadmin
Créer le Répertoire ftp
sudo mkdir -p /home/ftp
Donner les bonnes permissions
sudo chown ftpuser:ftpgroup /home/ftp
Lancer pureadmin
sudo pureadmin
Aller dans le menu "PureFTPd" et cliquer sur "Démarrer serveur"
Lancer un client ftp et tester la connexion avec user qui vient d'etre créé.
Si "Démarrer serveur" est grisé , lancer une fois pureadmin en root
sudo -s
pureadmin
Quitter pureadmin , puis le relancer en user
exit
sudo pureadmin
09.09.2005 - Intervention devant les préfets
First they put away the dealers, Keep our kids safe and off the street. Then they put away the prostitutes, Keep married men cloistered at home. Then they shooed away the bums, Then they beat and bashed the queers, Turned away asylum-seekers, Fed us suspicions and fears. We didn't raise our voice, We didn't make a fuss. It's funny there was no one left to notice When they came for us. ...]]>
Hi this article was awesome I am using the same technique to image a hard drive to a new one. First i booted both of the laptops to live cd's then i did:
local$ mkfifo ddfifo; dd if=/dev/hda | bzip2 > ddfifo
remote$ nc -l -p 5000 | bunzip2 | dd of=/dev/hda
local$ cat ddfifo | nc remote 5000
Now I have my old filesystem perfectly set up on my new laptop....ta da.
Source : ce commentaire
]]>]]>Name-Based Virtual Hosting is a very popular method of identifying different virtual hosts. It allows you to use the same IP address and the same port number for many different sites. When people move on to SSL, it seems natural to assume that the same method can be used to have lots of different SSL virtual hosts on the same server.
It comes as rather a shock to learn that it is impossible.
The reason is that the SSL protocol is a separate layer which encapsulates the HTTP protocol. So the problem is that the SSL session is a separate transaction that takes place before the HTTP session even starts. Therefore all the server receives is an SSL request on IP address X and port Y (usually 443). Since the SSL request does not contain any Host: field, the server has no way to decide which SSL virtual host to use. Usually, it will just use the first one it finds that matches the port and IP address.
You can, of course, use Name-Based Virtual Hosting to identify many non-SSL virtual hosts (all on port 80, for example) and then you can have no more than 1 SSL virtual host (on port 443). But if you do this, you must make sure to put the non-SSL port number on the NameVirtualHost directive, e.g.
NameVirtualHost 192.168.1.1:80
Other workaround solutions are:
Use separate IP addresses for different SSL hosts. Use different port numbers for different SSL hosts.
Specifically, you cannot have multiple secure virtual hosts on the same SOCKET (IP address + port). By default, a secure host will use port 443. You can change configure your virtual host to use a different port number with the same IP, thus creating another socket. There are many disadvantages to this approach. The most obvious disadvantage is that if you are not using the default port, your URL must also contain the port number to access the secure site.
Example:
Site using default port - www.something.com - would be accessed as https://www.something.com
A site using port 8888 would be accessed as https://www.something.com:8888
Another disadvantage is that if you introduce more ports, you will be providing more opportunities for port sniffing hackers. Last, if you select a port that is used by something else, you will create conflict problem.
Evidement ceci n'aurait pas été possible sans ... Maurice bien sûr !
]]>It can be hard to prove one's innocence if nobody's listening.
C'est tellement vrai.
]]>Un grand merci à Olivier Guerrier qui a quasiment tout fait dans cette version, ça m'a fait très plaisir de travailler avec toi ;)
Version : 1.2
Changelog:
Il est a noter que les plugins thèmes d'icones fonctionnent toujours avec cette version. (voir wiki ou forum)
Avant d'installer il faut tout d'abord supprimer le plugin weather avec le gestionnaire de plugin puis effacer le dossier weather dans le dossier share.
]]>Version : 1.1
]]>