I've Googled this about 10 times now, maybe if I write it down I'll remember: rm -rf The -r means recursive, and the -f means force; which means it will ignore the fact that the directory is full.
Jul
Samba: Meh.
I'll start by saying Samba is not as easy as it should be, even when it's fully set up and working, but it gets the job done, and SFTP gets so tedious after a while. Here's what I had to do to get it working. First, install it: apt-get install samba Next, edit /etc/samba/smb.conf and [...]
…no, not the money kind of inheritance. I'm talking about the ownership and permissions in Linux. Linux permissions are tricky for a Windows guy like me. When I copy a file to a directory on a server I expect the file to inherit the permission of the containing folder on the server. Period. Why? Because [...]
I couldn't embed thumbnail sizes on my new WordPress install on my new Ubuntu server; I could only embed the original size (which was 3072×2048). The options to embed other sizes were just grayed out. It turns out that the default LAMP install doesn't include php-gd, the graphics library that creates thumbnails. Well… I guess [...]
Given those four elements, ProFTPd, Ubuntu, pfSense, and 3.5 hours, I was able to get an FTP server working. There's a couple sticky points I'd like to note: To get FTP to work pfSense requires you to use CARP instead of Proxy ARP for your Virtual IP. That, and you have to enable (by un-checking) [...]
After flirting with Windows as a WordPress server we've realized that, since we went to the trouble of learning Linux, it's now easier to use Linux. So, Everything is Crap is back to Ubuntu and it's delicious. Would you like an Ubuntu? You might want some milk to help wash it down.
Add the following to /etc/initramfs-tools/modules hv_vmbus hv_storvsc hv_blkvsc hv_netvsc Generate a new initrd image update-initramfs –u make sure /etc/network/interfaces is pointed at the synthetic network adapter auto seth0 iface seth0 inet dhcp Thanks RobbieCanuck and ServerFault
So, Windows doesn't work well for WordPress. The more plug-ins I install, the more I realize that the world of WordPress is still a Linux-based world. We'll keep Everything is Crap on Windows because our needs are simple for this blog. But, in the future, all my WordPress are belong to Ubuntu. But, because Everything [...]
jjcv over in the Ubuntu forums taught me how to forward email to an external address: MAke sure you have a mail server installed…. something like postfix. Edit /etc/aliases added or edit an entry for root to forward email: root: myname@gmail.com Save the file. Run the program 'newaliases' which will update the aliase database and [...]
Mar
My first cron job
I needed a way to backup MySQL databases every night. So, I made my first cron job. Ubuntu has a site that explains cron, crontab, and anacron in simple enough terms that even I could understand. I ended up using anacron. That means I made a script file and placed it in /etc/cron.daily. After a [...]