Category: Uncategorized

Some apt-get commands

Ubuntu uses the apt package management system which makes updates and upgrades pretty simple.

When logging on, ubuntu summarizes available updates. Use the following to do the updates:

sudo apt-get upgrade

Note, though:

However, if you want to upgrade, unconcerned of whether software packages will be added or removed to fulfill dependencies, use the ‘dist-upgrade‘ sub command.

Many more apt-get commands are summarized in 25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management.

‘man apt-get‘ or ‘man apt-cache’ are also useful.

Hello World

Today I set up a new D7 instance on Amazon Web Services.

Some basics about it:

  • The EC2 instance is based on an Ubuntu 12.10.
  • apt-get install added apache2, php5, then mysql, xml, mcrypt, mbstring and gd (sometimes the exact names were php5-name, e.g., php5-mcrypt.
  • Article at http://www.techrepublic.com/blog/datacenter/build-a-drupal-installation-on-amazon-ec2/5231 was a helphful checklist.
  • After the installation, df -h showed 6.3 Gb available out of 7.9 Gb total. Lots of room.