There is no easier way to get your Ubuntu installation up and running with the tools you need than Automatix. I’m not entirely certain why this hasn’t been integrated into the core of the system yet, because it’s about as easy as it gets.
If you are familiar with linux/unix, you will be very accustomed to the ability to kill (and start) processes from the command line. Linux gives you a very rich set of command line tools that simply don’t exist on Windows by default.
To interact with the services panel from the command line, Windows provides the Net utility. From the command prompt, you can use this utility to start, stop, pause and continue services. What most people don’t realize is that you can also use this to display a list of services that are running on your computer.
The Routing table dictates where all packets go when they leave your system. On most environments, all packets that leave your system will be forwarded over to your router or hub, and from there out to the internet.
This seems to help out with the memory usage quite a bit. Generally, when you minimize a window the memory usage goes way down because that application isn’t active. Unfortunately, Firefox by default doesn’t adhere to this behavior. Here’s how to force it to.
From a command prompt or terminal window, run this command:
To find files containing keywords, linux has a powerful command called grep, which you can use to find the lines inside any file or a list of files. I use this very often to find a function declaration in a set of php files that I’m unfamiliar with.
Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don’t contain the right locations for most software packages that you’ll want to install. You will want to open up the /etc/apt/sources.list file, find and uncomment the following lines
Sometimes you will want to freeze the version of Ruby on Rails that you are using to ensure that system level upgrades to the Rails framework don’t break the application you are working on. From within your project directory, you will want to run this command:
There are many reasons you would want to restore a database from a backup file… But you should also test this on a test server just to make sure that your database backups are working correctly. Here’s the syntax:
Backing up your database is a very important system administration task, and should generally be run from a cron job at scheduled intervals. We will use the mysqldump utility included with mysql to dump the contents of the database to a text file that can be easily re-imported.
For every database, you should set the root or sa passwords to something other than the default, unless you want to get hacked. For mysql, the system administrator user is called root. You will use the mysqladmin utility from a command line to set the new password. Notice that there are two commands to be run.
I know for most of you this is a very simple tip, but I’ve received a number of requests for understanding what will make this screen go away for good, because otherwise it loads up every time you start up your computer.