Ubuntu – Force fix errors on a mounted drive – fschk

You cannot repair sda because it is mounted. # fsck -nf /dev/sda1 fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) Warning!  /dev/sda1 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts … Read more

Use netstat to show IPv4 versus IPv6 traffic

http://ipv6-or-no-ipv6.blogspot.ca/2013/06/use-netstat-to-show-ipv4-versus-ipv6.html If you wonder how much IPv6 versus IPv4 traffic your system does, there is an nice estimation: use “netstat -s” to show the amount of inbound packets. Packets is not the same as bytes, but assuming the IPv4 packets have the same mean size as IPv6 packets, you’re fine. The exact commands are: netstat … Read more

Why am I seeing a 403 Forbidden error message?

Permissions and ownership errors – A 403 Forbidden error can also be caused by incorrect ownership or permissions on your web content files and folders. Rule of thumb for correct permissions: Folders: 755 Static Content: 644 Dynamic Content: 700 Linux permissions can be represented with numbers, letters, or words. They also include an entry for … Read more

How to install and configure vsftpd

http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/ This tutorial focuses on how to setup vsftpd server on your linux based VPS or a dedicated server. The vsftpd stands for “Very Secure FTP Daemon”. It is not just secure as the name suggests but also delivers excellent performance by consuming less memory. The tutorial also teaches you how to configure by adding … Read more