Affichage des articles dont le libellé est ubuntu. Afficher tous les articles
Affichage des articles dont le libellé est ubuntu. Afficher tous les articles

vendredi 2 décembre 2011

Update Grub in Ubuntu

In order to start have your windows first in your Ubuntu 11.10, just change the order of the files in /etc/grub.d by changing the number starting each entry.

By default, the directory contains the files : 00_header, 01_linux, 02_linux_xen, 03_os_probe etc.
If you change the file names so that numbers looks like 00_header, 01_os_probe, 02_linux, 03_linux_xen

And then run grub-update (to update /boot/grub/grub.cfg) in command line. Windows will launch first at startup.

mardi 28 septembre 2010

Créer un partage Webdav sur Ubuntu 10.4

Installer WebSAV sur apache2


Ajouter les lignes suivantes dans le fichier /etc/apache2/sites-available/default

<Directory "/var/www/webdav/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Alias /webdav /var/www/webdav/
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/.passwd.dav
Require valid-user
DavMinTimeout 600
<LimitExcept GET PUT HEAD OPTIONS POST>
Require valid-user
</LimitExcept>
</Location>


Gérer les droits


Puis nous allons créer les mots de passe.
htpasswd -c /var/www/.passwd.dav myuser
chown root:www-data /var/www/.passwd.dav
chmod 640 /var/www/.passwd.dav
chmod -R 0777 /var/www/webdav
chown www-data:www-data /var/www/webdav
/etc/init.d/apache2 restart