Here is the list of commands I used, which might be helpful in updating the docs: === [bash]mkdir /var/www/bh.mysite.com/ cd !$ tar zxvf /usr/local/src/apache-bloodhound-0.7.tar.gz mv apache-bloodhound-0.7/ src cd src/installer/ virtualenv –system-site-packages ../../python-virtualenv . !$/bin/activate pip install -r requirements.txt python bloodhound_setup.py –environments_directory=../../env -d sqlite –project= –default-product-prefix= –admin-user=<admin username> tracd –port=8000 /var/www/bh.mysite.com/env/ …
Rsync
rsync -avz -e “ssh -p 22” /home/user/Scrivania/dati [email protected]:/home/user/dati copiare file da locale a server con rsync
Remote Desktop
SERVER [bash]apt-get install xrdp sudo netstat -anpt | grep -E "vino|vnc|xrdp"[/bash] CLIENT [bash]apt-get install rdesktop[/bash] [bash]rdesktop -a 24 -g 1240×800 -K 192.168.1.161[/bash] SERVER: You can start the environment you want only for xrdp (not for local login) in /etc/xrdp/startwm.sh For example, to start xfce, I use: [bash] #!/bin/sh if [ …
Postgresql Latest version install in Linux Debian
Postgresql Latest version install in Linux Debian
pip virtualenv virtualenvwrapper osx install on mac
To install pip, virtual environment (virtualenv, virtualenvwrapper) on OS X, do the following on the command line: sudo easy_install pip sudo pip install virtualenv sudo pip install virtualenvwrapper To enable the workon tab-completion feature, append the following to your profile file (located at ~/.profile): source /usr/local/bin/virtualenvwrapper.sh Create a directory …
Leggi tutto “pip virtualenv virtualenvwrapper osx install on mac”
Openwrt Band Shape
/etc/config/wshaper config ‘wshaper’ ‘settings’ option ‘network’ ‘wlan0’ option ‘downlink’ ‘500’ option ‘uplink’ ‘240’ wlan0 = SSid lalla (guardando su luci di openwrt) Now, start wondershaper. /etc/init.d/wshaper start By default, wshaper isnt enabled at startup. so, ln -s /etc/init.d/wshaper /etc/rc.d/S99wshaper http://jwalanta.blogspot.it/2012/03/multiple-ssid-on-openwrt-with-bandwidth.html
Installing PIL in a virtualenv on Ubuntu 12.04
http://www.sandersnewmedia.com/why/2012/04/16/installing-pil-virtualenv-ubuntu-1204-precise-pangolin/ APR 16, 2012 The following technique should work for both 32-bit and 64-bit systems. Install the build dependencies: sudo apt-get build-dep python-imaging Symlink the libraries: sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/ sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/ sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/ Install: pip install PIL You should see something like …
Leggi tutto “Installing PIL in a virtualenv on Ubuntu 12.04”
Installare PostgreSQL 9.0 e pgAdmin3 su Ubuntu Server 10.04LTS
I repository per PostgreSQL 9.0 sono mantenuti da Martin Pitt, come comunicato anche dal sito Postgresql Procediamo con l’installazione, apriamo un terminale e digitiamo: sudo apt-get install python-software-properties sudo add-apt-repository ppa:pitti/postgresql sudo apt-get update sudo apt-get install postgresql-9.0 libpq-dev postgresql-contrib-9.0 php5-pgsql L’installazione è terminale e da questo momento avremo …
Leggi tutto “Installare PostgreSQL 9.0 e pgAdmin3 su Ubuntu Server 10.04LTS”
Git Repository How To Create a Remote Shared
Per annullare l’ultimo push: “git reset –hard HEAD^” for one commit behind HEAD or “HEAD^^” for two commits behind HEAD – one ^ for each commit behind HEAD. I prefer this way. per connettersi (git clone): ssh://[email protected]:22/home/git/project2.git http://kovshenin.com/2011/howto-remote-shared-git-repository/ So Github doesn’t work for you? This article is about setting up …
exim how to add a domain and a user ||| aggiungere utente, dominio
andare su /etc/exim4/virtual e aggiungere il file dominio e la coppia utente /etc/exim4/update-exim4.conf.conf la riga da modificare è questa: dc_other_hostnames=’dominio1.com:dominio2.com,etc..” dove c’erano già gli altri domini, ho aggiunto dominio3.com. restart /etc/init.d/dovecot restart /etc/init.d/exim4 restart