Browsing the archives for the Tools category.

Push a Branch to Git

Tools

git-logo

I found this example of how to push a branch to Git in the GitHub documentation.

git push <remote_repository_name> <branch_name>

E.g.

git push origin master

Execute this from the base of your local repository. This pushes your local commits to the TOT.

No Comments

Useful Git Links

Tools

git-logo

Switching to Git has been an incremental learning experience. Below, are some useful links for learning about Git:

If you know of other useful introductory Git links, add them in the comments and we will update the post.

2 Comments

Create Amazon EBS

Examples, Tools

aws

The Amazon Web Services blog has a good post on how to setup an EBS volume using ElasticFox:

Amazon EBS (Elastic Block Store) – Bring Us Your Data

I do not see a way to schedule snapshots through the UI so, you may have to write a script to accomplish this feat.

Once you have created your EBS volume you still have to mount the new device. First add the following line to /etc/fstab:

/dev/YOUR_DEVICE_NAME  /data  ext3  defaults 0 0

E.g.

/dev/sde  /data  ext3  defaults 0 0

Next, you need to format the device. This is accomplished by executing:

mkfs.ext3 /dev/YOUR_DEVICE_NAME

E.g.

mkfs.ext3 /dev/sde

This post assumes you are using the ext3 filesystem. Next, you need to mount the device. This is done by issuing:

mount -t ext3 /dev/YOUR_DEVICE_NAME /DIRECTORY_TO_MOUNT_IN

E.g.

mount -t ext3 /dev/sde /data

After you mount the device you should be good to go. If possible, reboot your instance to make sure the process mounted properly on a restart.

1 Comment

S3 GUI

Tools

firefox_logo1

If you are looking for a simple GUI for Amazon’s S3 servcie, there is a pretty good (free) browser plugin product available for Firefox:

S3 Firefox Organizer

Warning: The author of the product states very clearly that he is not responsible for deleted files. He also mentions that he may not continue to maintain the application. Of course, you can still access your files in S3 with another client if he decides to stop working on this free app.

No Comments

Cronolog

Tools

Cronolog is a handy file rotation tool for Apache.

To create daily log files, add something like this to your httpd.conf file.

CustomLog "|/usr/local/sbin/cronolog /var/log/httpd/%Y/%m/%d/access.log" combinedio

Installation is simply:

configure && make && make install
No Comments