Sometimes you need to host a static website somewhere. It might be a simple index.HTML page that you can easily redirect servers to in case of downtime for your current site or for simple documentation. How you use it is really up to you. But Amazon S3 now has the ability to “host” static HTML pages. This means that if you provide the link to your .html page the Amazon S3 bucket will think it needs to interpret that as a website and display it accordingly. This behavior is different than it used to be, Amazon would only allow you to download the object and not display it in a web page. Let’s set up an index.html page in our Amazon S3 bucket.
This guide will help walk you through Amazon Web Services and some of it’s major features. Amazon web services announces new services on almost a weekly basis. Keeping up or even knowing where to get started with Amazon Web Services is often a challenge. Bookmark it or use it as a reference, new tutorials are added on a regular basis.
I’m not saying Linux is the best thing to use for everyone. I am saying, however, that it may be better for you than what you’re using now.
Linux is different from Windows or Mac OS X in some fundamental ways.
For thousands of people, these differences are a reason to choose Linux
over its alternatives. Are they for you? Read on to find out!
What is Linux?
If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if … then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and use. This tutorial aims to help the reader understanding conditions in bash, and provides a comprehensive list of the possibilities. A small amount of general shell knowledge is assumed.
Difficulty: Basic – Medium Continue Reading…
Varnish made some changes in how you clear the cache in Varnish 3. Hence the confusing title. However, it’s simple to clear the cache now, by using the “ban” command.
[:$] varnishadm -T 127.0.0.1:6089 ban.url /index.html
There are a few things you should be aware of. Varnish can run on different ports than 6089, so if you receive the following error: Continue Reading…
This is a guide for installing a virtual copy of Linux and is intended for people who have NO idea what they are doing. Prior to writing this guide, I had absolutely no experience with Linux. As I went on this journey, I took notes so that I may spread my wisdom to others and soften the learning curve a bit. There are a few other guides out there for doing and install like this, but they are all really old and a lot has changed since then. Hopefully this guide will save you a lot of the headache and troubles that I went through.
Many Linux distros usually start a lot of daemons when booting, resulting in a long wait before you can get to work after powering on your machine. Some of those daemons are rarely used (or even not al all) by the majority of users. This tutorial describes how to disable unused or rarely used daemons in a proper way, resulting in faster boot sequences and less CPU load. Continue Reading…
This lesson will show you how to install Git on your machine, create a basic GitHub repository, and configure our server to connect to GitHub with SSH. This will allow us to transfer files to and from the repository securely.
The grep command allows searching the contents of a file from the
command line. It’s a very useful tool to find a particular line in,
say, a log file or a conf file. And because it’s a command line
program, you can combine it with other commands in various ways to
produce powerful results. In this tutorial, you will learn both the
basics and some more advanced applications of grep.