Skip to content

MMCA Server details

curaloucura edited this page Jul 13, 2012 · 9 revisions

Setting up the server

change hostname: edit /etc/hostname and /etc/hosts and run service hostname restart

add users and groups:

add users and copy ssh identities to the respective folder (e.g.: /home//.ssh/authorized_keys)

enable ssh login at /etc/ssh/sshd_config by setting the following options: PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys

install the required packages: sudo apt-get install python-setuptools mysql-server mysql-client libmysqlclient-dev build-essential python-dev sudo easy_install pip

create the directories for the sites at /var/www//projectname and virtualenv at /var/www//virtualenv

Clone this wiki locally