View manipular datos de una bd externa con django from django.db import load_backend, transaction, connection #manipular datos de una bd externa def sincronizeDB(self): myBackend = load_backend(‘mysql’) # or ‘mysql’,...Read More
View List installed kernel on debian and derivative dpkg -l | grep linux-image | awk {‘print $2’} | grep -v extraRead More
View map directive to switch the root for matching subdomains server { server_name mysite.tld ~^.+.mysite.tld$; map $host $files { default common; mysite.tld common; www.mysite.tld common; admin.mysite.tld admin; system.mysite.tld system; *.mysite.tld users; } root /var/www/mysite/$files;...Read More
View accès en écriture aux utilisateurs sur les montages fat #éditez le fichier /etc/fstab /dev/hdb2 /mnt/mes_files vfat users,umask=000 0 0Read More