Tag Archives: ubuntu

Change default ssh port number on Ubuntu

Login as the root user or as a user that can execute sudo commands. #open this file for editing... vim /etc/ssh/sshd_config Find the line that reads Port 22 Change this to an different and an available port number… Port 8000 Next reload ssh /etc/init.d/ssh reload You won’t be kicked out of your session. But if you want to open a new connection [...]
Posted in Linux | Also tagged , , , | Leave a comment

Using sendmail to send mail on ubuntu box

I normally install postfix for my MTA. However, I’ve never really used sendmail so I’d decide to give it a whirl for a new application I’m working on. I don’t use it for anything but handling the mail that the application needs to send out, like new user welcome emails, password resets, etc. apt-get install [...]
Posted in Linux | Also tagged , , , , | Leave a comment

Install Sphinx on Ubuntu

It’s a pretty straightforward process. Download the source and compile it. There isn’t a package for it so here are the commands. wget http://sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz tar xzvf sphinx-0.9.8.1.tar.gz cd sphinx-0.9.8.1/ ./configure make make install When it’s done nothing fancy happens. You’ll need to test it out w/ an application/ the api.
Posted in Linux | Also tagged , , , , | Leave a comment

Installing Feedzirra RSS Parser on Ubuntu 8

I recently watched a RailsCasts episode (http://railscasts.com/episodes/168-feed-parsing) on parsing and persisting RSS feeds using Feedzirra. It took a little setting up on Ubuntu because it relies on some libraries that aren’t included with Ubuntu > 8. The gem will fail right off the bat gem sources -a http://gems.github.com # if you haven't already gem install pauldix-feedzirra Here is [...]
Posted in Ruby on Rails | Also tagged , , , | 5 Comments

Recursively Zip a Directory and Files on Linux

Short and sweet! Just remember that the finished zip filename is the first argument and the directory you wish to recursively zip comes after. zip -r name_of_your_directory.zip name_of_your_directory
Posted in Linux | Also tagged , | Leave a comment