Just copy and paste it terminal.
- $ sudo service apache2 stop
- $ sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
- $ sudo apt-get autoremove
- $ whereis apache2
- $ sudo rm -rf /etc/apache2
rm in this case if you are afraid. Use find:find . -name "*.bak" -type f -delete
find . -name "*.bak" -type f
-delete is the last argument in your command. If you put it before the -name *.bak argument, it will delete everything.$ sudo mkdir backup_eprints
$ cd backup_eprints
$ sudo tar -czf backup_eprints_`date +%Y%m%d_%H%M%S`.tar.gz /usr/share/eprints3
$ mysqldump -u root -p namadatabaseeprints /home/rido/backup_eprints/backup_$(date +%Y%m%d_%H%M%S).sql
queue simple disable [find priority=8] queue simple enable [find priority=8]
//Untuk proxy ip proxy cache disable [find comment=blokir] ip proxy cache enable [find comment=blokir] //untuk firewall fillter berdasar ip ip firewall filter disable [find comment=blokir] ip firewall filter enable [find comment=blokir] //Blok situs paksa dns ip firewall nat disable [find comment=dns] ip firewall nat enable [find comment=dns] //Disable schedule on weekend (berdasarkan schedule comment) system scheduler disable [find comment=daily] system scheduler enable [find comment=weekend]
#system schedule add scheduler name=blokir_enable_1 start-date=Jan/01/2001 start-time=08:00:00 interval=1d on-event=”/ip proxy cache enable [find comment=blokir];/ip firewall filter enable [find comment=blokir]; /ip firewall nat enable [find comment=dns]” disabled=no comment=daily
#system schedule add scheduler name=blokir_disable_1 start-date=Jan/01/2001 start-time=12:00:00 interval=1d on-event=”/ip proxy cache enable [find comment=blokir];/ip firewall filter enable [find comment=blokir]; /ip firewall nat enable [find comment=dns]” disabled=no comment=daily
#system schedule add scheduler name=blokir_enable_2 start-date=Jan/01/2001 start-time=13:00:00 interval=1d on-event=”/ip proxy cache enable [find comment=blokir];/ip firewall filter enable [find comment=blokir]; /ip firewall nat enable [find comment=dns]” disabled=no comment=daily
#system schedule add scheduler name=blokir_disable_2 start-date=Jan/01/2001 start-time=17:00:00 interval=1d on-event=”/ip proxy cache enable [find comment=blokir];/ip firewall filter enable [find comment=blokir]; /ip firewall nat enable [find comment=dns]” disabled=no comment=daily
#system schedule add scheduler name=blokir_weekend start-date=Jul/13/2013 start-time=06:00:00 interval=7d on-event=”/system scheduler disable [find comment=daily]” disabled=no comment=weekend
#system schedule add scheduler name=start_blokir_monday start-date=Jul/15/2013 start-time=06:00:00 interval=7d on-event=”/system scheduler enable [find comment=daily]” disabled=no comment=weekend
Downloading update from http://downloads.wordpress.org/plugin/your-plugin.0.9.3.1.zip…
Unpacking the update…
Could not create directory. /wp-content/upgrade/yourplugin.tmp
Return to Plugins page
chown -R www-data:www-data your-wordpress-directorysudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;