-- indexing problem
Originally Posted By: andreab82
Hey, thanks for the quick answer.
Sorry, I'm pretty new to Yioop. How do you crawl from the command line?
If you tell me the command I can run it (either tomorrow or Monday as I'm leaving for the week-end).
Anyway, here is a simple script I wrote to install Yioop v0.98 on a clean Debian/Ubuntu 12.04 VM.
It might be useful to someone.
-----------------------------------------------------------------------------------------------------------------------------------
#!/bin/bash
apt-get -y install curl apache2 php5 php5-cli php5-sqlite php5-curl php5-gd
sed -i 's/post_max_size = 8MB/post_max_size = 32MB/g' /etc/php5/apache2/php.ini
sed -i 's/post_max_size = 8MB/post_max_size = 32MB/g' /etc/php5/cli/php.ini
#not strictly necessary
sed -i 's/DocumentRoot \/var\/www/DocumentRoot \/var\/www\/yioop/g' /etc/apache2/sites-available/default
sed -i 's/Directory \/var\/www\//Directory \/var\/www\/yioop\//g' /etc/apache2/sites-available/default
wget -O yioop.zip 'http://www.seekquarry.com/viewgit/?a=archive&p=yioop&h=bf48e34ffa1fc707b13107a4981e4ef9c6952048&hb=f5fe1a90318da6cf242484f15bb3661b02d64fca&t=zip'
unzip yioop.zip
rm yioop.zip
mv yioop-v0.98 /var/www/yioop/
mkdir /var/www/yioop_data
chmod 777 /var/www/yioop_data
chmod 777 /var/www/yioop/configs/config.php
echo "" > /var/www/yioop/configs/local_config.php
chown -R www-data:www-data /var/www/yioop*
service apache2 restart
----------------------------------------------------------------------------------------------------
'''Originally Posted By: andreab82'''
Hey, thanks for the quick answer.<br><br>Sorry, I'm pretty new to Yioop. How do you crawl from the command line?<br>If you tell me the command I can run it (either tomorrow or Monday as I'm leaving for the week-end).<br><br>Anyway, here is a simple script I wrote to install Yioop v0.98 on a clean Debian/Ubuntu 12.04 VM.<br><br>It might be useful to someone.<br><br>-----------------------------------------------------------------------------------------------------------------------------------<br><br>#!/bin/bash<br><br>apt-get -y install curl apache2 php5 php5-cli php5-sqlite php5-curl php5-gd<br><br>sed -i 's/post_max_size = 8MB/post_max_size = 32MB/g' /etc/php5/apache2/php.ini<br>sed -i 's/post_max_size = 8MB/post_max_size = 32MB/g' /etc/php5/cli/php.ini<br><br>#not strictly necessary<br>sed -i 's/DocumentRoot \/var\/www/DocumentRoot \/var\/www\/yioop/g' /etc/apache2/sites-available/default<br>sed -i 's/Directory \/var\/www\//Directory \/var\/www\/yioop\//g' /etc/apache2/sites-available/default<br><br>wget -O yioop.zip 'http://www.seekquarry.com/viewgit/?a=archive&p=yioop&h=bf48e34ffa1fc707b13107a4981e4ef9c6952048&hb=f5fe1a90318da6cf242484f15bb3661b02d64fca&t=zip'<br><br>unzip yioop.zip<br>rm yioop.zip<br>mv yioop-v0.98 /var/www/yioop/<br><br>mkdir /var/www/yioop_data<br>chmod 777 /var/www/yioop_data<br><br>chmod 777 /var/www/yioop/configs/config.php<br><br>echo "" > /var/www/yioop/configs/local_config.php<br><br>chown -R www-data:www-data /var/www/yioop*<br><br>service apache2 restart<br><br>----------------------------------------------------------------------------------------------------