If you want to make webthumbs (i.e. those pictures that show what the websites look like without you ACTUALLY going there) in BULK, there are two ways.
1. IECapt - basically IE port to command line for taking screen shots
2. khtml2png - this is same as IECapt, but with Mozilla. There’s a good instruction here on how to do this, except I recommend this set of instructions:
apt-get install g++ kdelibs zlib1g-dev cmake kdelibs4-dev
< get the khtml2png file and extract>
./configure
make
make install
There’s another one called webthumb but i couldn’t get it to work.
Apparently PPTP does a lot of disk IO… and it can lock up your Linux server. *sigh* Learned the hard way.
To remove these services…
/etc/init.d/pptp stop
/etc/init.d/cron stop
update-rc.d -f pptp remove
update-rc.d -f cron remove
Related Blogs
I’m no linux guru and I had to get a whole bunch of resources together to compile this list on how to set up LAMP (linux apache mysql and php).
You must run these as root:
-
apt-get update
-
apt-get upgrade
-
apt-get dist-upgrade
-
apt-get install ubuntu-standard
-
apt-get install lamp-server^
-
apt-get install php5-cli
- apt-get install php5-curl
-
(rest and/or go take a dump)
-
apt-get install curl
-
apt-get install wget
-
apt-get install imagemagick
-
apt-get install emacs
- apt-get install sendmail (if you need php mail() function)
Change apache’s memory usage setting ..
Then
12. a2enmod rewrite
13. a2enmod mod_headers (if you have wordpress blogs and want to have caching)
14. a2endmod mod_expires (same as #13)
15. a2endmod auth_basic (basic apache security)
16. a2endmod auth_digest
15. /etc/init.d/apache2 restart
16. /etc/init.d/mysql restart
PS:If your VPS provider doesn’t give you access to their nameservers (cuz they’re doosh bags), you can always go with EveryDNS. Set it up there and point to EveryDNS dns servers on your registrar.
PPS: If your Ubuntu distro doesn’t respond to this command:
apt-get install libapache2-mod-security
You need to manually download from here then run “dpkg -i libapache-mod-security_2.5.12-1_i386.deb”.
Recent Comments