Ozh’ Tweet Archiver is a WordPress plugin that can archive your tweets on your own blog; it simply creates a new post for each tweet. Additionally, it offers converting hashtags to WordPress tags, and several other features. Nevertheless, one feature, I thought might be interesting, is to process the links on tweets and show them as a Facebook feed. Recently, I modified the code and it worked very well on my blog: Gadelkareem Tweets.
– All we need is to modify the “wp-content/plugins/ozh-tweet-archiver/inc/import.php” file as following:
– One of the dependencies of memcache is libevent, get latest version from libevent.org
mkdir libevent cd libevent wget https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz tar xfz libevent-2.0.17-stable.tar.gz cd libevent-2.0.17-stable
– get latest version from memcached.org
This is very important performance tuning for any web server more information here
#adduser www first http://gadelkareem.com/2012/02/26/adding-new-users-and-admins-to-linux-server/ ulimit -n unlimited - www #check default number of concurrently open file descriptors cat /proc/sys/fs/file-max #set the number to high value depending on server config echo '1773914' > /proc/sys/fs/file-max echo 'fs.file-max=1773914' >> /etc/sysctl.conf /sbin/sysctl -w fs.file-max=1773914