Tag: ubuntu

ProFTPd, Ubuntu, pfSense, and 3.5 hours

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) …

Continue reading

Yes, I think I will have an Ubuntu

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.

Hyper-V integration for Ubuntu

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

Fixed slow Ubuntu in Hyper-V

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 …

Continue reading

Forwarding email in Ubuntu

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 …

Continue reading

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 …

Continue reading

Apache Redirect, the admin way

I needed to redirect the root of my Webserver. The first (and easiest) way I found was to add this to my default virtual host: Redirect / http://www.new-domain.com/ For me, that file was located in /etc/apache2/sites-available/default.

Fix "Could not reliably determine the server’s fully qualified domain name" apache error

To fix the error "Could not reliably determine the server’s fully qualified domain name…" that happens when you restart Apache on Ubuntu, add this to /etc/apache2/httpd.conf ServerName localhost restart Apache again (apache2ctl graceful) and the error message should be gone. Thanks to Mohamed Aslam

Turnkey Linux

TurnKey Linux offers all the power of Linux with none of the hassle of setting it up. They have created install images for many popular setups. In fact, this blog is running on a TurnKey Linux install of WordPress. All we had to do was create a new virtual machine in Hyper-V, install from the …

Continue reading

Root privileges using SFTP in WinSCP

My Ubuntu installation doesn't allow me to log in as root. But, it allows my user to escalate permissions and log in as root. I use WinSCP to transfer files from my Windows box to Ubuntu through SFTP. This works fine, except if I want to transfer files to a directory that requires root privileges. …

Continue reading