Oracle Java install on Ubuntu 14.04

add deb http://archive.ubuntu.com/ubuntu trusty multiverse into /etc/apt/sources.list
if necessary
apt-get install java-package
Download jdk-8u40-linux-x64.tar.gz or recent tar ball from java.com
as a non-root user:
cd  /downloaddir
make-jpkg jdk-8240-linux-x64.tar.gz
sudo dpkg -i oracle-java8-jdk
8u40_amd64.deb

WordPress uploads dizinini php ve exec dosyalardan koruma

apt-get install incron
echo root >> /etc/incron.allow
/etc/init.d/incron restart
incrontab -e :
/var/www/wp-content/uploads/ IN_CREATE /bin/sh /usr/local/php.temizle.sh
 
/usr/local/php.temizle.sh:
find /var/www/wp-content/uploads -type f -name “*.php” -exec /bin/rm {} \;
 
Aynı işi bir dizin ya da dosya sistemi için özyinelemeli (recursive) olarak yapan alternatifi de var:
http://www.splitbrain.org/blog/2011-01/07-watcher_a_recursive_incron_alternative