A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
I see that jbd2/vda1-8 using high i/o in iotop. What is it doing?
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
You can type !ref in this text area to quickly search our full set of tutorials, documentation &
marketplace offerings and insert the link!
I accidentally typed root@xxxxx:/var/www/html/xxxxx.com/listimages# sudo chown -R www-data:www-data /. How do I restore the file permission?
I got this error whenever I try to use sudo
sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
sudo: fatal error, unable to load plugins
withou it I cant change owneship.
I've noticed that I have a lot of sleeping MySQL processes. I tried killing them one by one but there are too many to do so. Does anyone know if there is an easier way to kill all sleeping processes at once?
I am relatively new to UFW and iptables.
I need the following port forwarding to be permanent:
iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 8443 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443
I have enabled UFW and made settings in there as well.
When rebooting the UFW settings remain but the iptables settings disappear.
How do I make them permanent? Preferably via UFW - if possible.
Hi guys! I want to migrate a site to digitalocean. It's on wordpress, so I choose wordpress droplet.
I also installed phpMYAdmin, so I imported the database.
At this point, everything is alright!
But I want to upload the content to this new server. And it should be through filezilla, because the graphic way is more comfortable to me.
Can anyone help me please? But I need a step-by-step guide.
Thank you in advance!!!