TheRinger / Portia_Installer_Script

Bash script that automates remote deployment of Portia Web Crawler. Tested on Ubuntu 14.04
MIT License
5 stars 5 forks source link

Install on turnkey linux #6

Open TMLutas opened 9 years ago

TMLutas commented 9 years ago

Here's what got my setup working on Turnkey Linux LAMP virtual server. I'm putting this up in the hopes that it will be useful and allow the installer script to evolve into something that is more generic.

instructions for turnkey linux LAMP app

As root: apt-get install sudo

useradd -d /home/portia -s /bin/bash -m portia passwd portia echo "portia ALL=(ALL:ALL) ALL">> /etc/sudoers.d/portia chmod 0440 /etc/sudoers.d/portia apt-get install gcc apt-get install apt-utils apt-get install aptitude aptitude update as portia: git clone https://github.com/tytek2012/Portia_Installer_Script.git -- the above step is optional because the script as written at present doesn't work

sudo aptitude install curl git git-core python-pip python-dev toilet libxml2-dev libxslt1-dev libffi-dev libssl-dev sudo aptitude upgrade sudo aptitude dist-upgrade

sudo pip install virtualenv sudo git clone https://github.com/scrapinghub/portia.git sudo virtualenv portia --no-site-packages source ~/portia/bin/activate

cd ~/portia/slyd/ sudo ln -s ~/portia/src ~/portia/slyd/ sudo chown -R portia:portia ~/portia

cd ~/portia/slyd/ ~/portia/bin/pip install service_identity cd ~/portia/ ~/portia/bin/pip install -r requirements.txt pip install -e ./slybot

TheRinger commented 9 years ago

you should post that to your github and I will link to it

On Sat, Feb 7, 2015 at 3:35 PM, TMLutas notifications@github.com wrote:

Here's what got my setup working on Turnkey Linux LAMP virtual server. I'm putting this up in the hopes that it will be useful and allow the installer script to evolve into something that is more generic.

instructions for turnkey linux LAMP app

As root: apt-get install sudo

useradd -d /home/portia -s /bin/bash -m portia passwd portia echo "portia ALL=(ALL:ALL) ALL">> /etc/sudoers.d/portia chmod 0440 /etc/sudoers.d/portia apt-get install gcc apt-get install apt-utils apt-get install aptitude aptitude update as portia: git clone https://github.com/tytek2012/Portia_Installer_Script.git -- the above step is optional because the script as written at present doesn't work

sudo aptitude install curl git git-core python-pip python-dev toilet libxml2-dev libxslt1-dev libffi-dev libssl-dev sudo aptitude upgrade sudo aptitude dist-upgrade

sudo pip install virtualenv sudo git clone https://github.com/scrapinghub/portia.git sudo virtualenv portia --no-site-packages source ~/portia/bin/activate

cd ~/portia/slyd/ sudo ln -s ~/portia/src ~/portia/slyd/ sudo chown -R portia:portia ~/portia

cd ~/portia/slyd/ ~/portia/bin/pip install service_identity cd ~/portia/ ~/portia/bin/pip install -r requirements.txt pip install -e ./slybot

— Reply to this email directly or view it on GitHub https://github.com/tytek2012/Portia_Installer_Script/issues/6.