Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add readmore tag for 2011 and 2012 posts

  • Loading branch information...
commit a84543977cb286c9e8181f6f6f518e111a3ca8bd 1 parent 791438f
@gerold gerold authored
View
2  source/_posts/2011-04-03-install-apachesolr-in-ubuntu-for-drupal.markdown
@@ -57,7 +57,7 @@ You should see Solr access on your Tomcat admin/manager page (`http://hostname:8
**3.) Connect Drupal Site to Solr (multi-core setup)**
I already have a Drupal site with ApacheSolr module installed and SolrPHPclient library.
-
+<!--more-->
```
cp /path/drupal_site/sites/all/modules/apachesolr/schema.xml /usr/share/tomcat6/solr/conf/schema.xml
cp /path/drupal_site/sites/all/modules/apachesolr/solrconfig.xml /usr/share/tomcat6/solr/conf/solrconfig.xml
View
2  source/_posts/2011-04-22-amazon-aws-worse-failure.markdown
@@ -20,7 +20,7 @@ I'm sure almost everyone is aware at this point on the **failure** that caused A
The failure was specifically related to the **EBS** drives that made customer instances non responding, but also prevented them to start or stop new instances with the same EBS volumes (that probably 99% have tried immediately as they got paged). There are some sites that had failover mechanisms, but if they were in the same availability zone it was useless (something that looked like a good solution and fast and cost effective). Others, many startups, found out that they had no such mechanism at all, and that they depended way too much on the Amazon reliability. Until this issue, Amazon had a great uptime record; there were many issues but with individual instances, but not such a global issue. You would expect people running their application in the cloud to expect failures and be prepared and I'm sure most of them are compared with applications deployed in the regular datacenter, but apparently there is still much work to be done.
Overall I believe this showed (if we needed a reminder), that failures can happen and anyone can suffer from such a problem (Google had problems, Facebook the same, and Twitter is most of the time down, and now was just Amazon's turn). We need to be prepared and build and architect our applications with this in mind and be ready to failover. A great example of this is the twilio application design: [http://www.twilio.com/engineering/2011/04/22/why-twilio-wasnt-affected-by-todays-aws-issues/](http://www.twilio.com/engineering/2011/04/22/why-twilio-wasnt-affected-by-todays-aws-issues/)
-
+<!--more-->
Also I think Amazon will learn many things from this event, and hopefully one of them will be to _better communicate with their clients_. They can definitely improve on this, and not leave people to go to twitter or ec2 forums for the best updates on such problems instead from the source.
I've also seen different providers (I will not give names but they are everywhere on twitter) come out and offer their services to people hit by this. I don't believe this is the best approach to sell your very performant cloud solution or barebone datacenter servers or whatever, and probably it does worse for their reputation making them look like coyotes on a fallen prey. I'm sure like me, most people felt disgusted on their offers at this time, and it will definitely not make me look at their offering again.
View
2  source/_posts/2012-06-04-install-vsftpd-server-with-virtual-user-and-directory.markdown
@@ -31,7 +31,7 @@ aptitude install libpam-pwdfile
```
Next create your password file (example: _/etc/vsftpd_users.conf_) which contain the list of virtual users and password hash. You can use [htpasswd](http://httpd.apache.org/docs/2.0/programs/htpasswd.html) that's included in Apache or go to this website, [htaccesstools.com](http://www.htaccesstools.com/htpasswd-generator/) to generate the list of users and passwords.
-
+<!--more-->
Once you have the list of users (example: _demo1_ and _demo2_), you have to create their virtual directory as well, let's say I want to set ftp users home directory inside _/home/ftpusers_. This will be their home directory and they can't see or navigate outside of their home dir. Make sure they're writable as well.
```
View
2  source/_posts/2012-06-22-debian-6-backup-xen-with-lvm-and-rsnapshot.markdown
@@ -38,7 +38,7 @@ vi /etc/rsnapshot.conf
```
Here's my rsnapshot config changes and/or additions:
-
+<!--more-->
```
snapshot_root /backups/ #this is a mounted partition
interval daily 1 # i removed all other schedule and one daily copy only
View
2  source/_posts/2012-06-22-restore-xen-vm-from-lvm-snapshot-backups.markdown
@@ -32,7 +32,7 @@ Overview of "bare-metal" restore process:
create, format, and mount logical volumes to use on the vm that you want to restore or re-create, based on its original vm disk properties such as size, names, etc.
copy all files from backup location to the newly mounted lvm disk
-
+<!--more-->
adjust necessary xen vm configs (if any, like new ip address) and start/create the vm using the volume with restored contents or files, and you're done.
In the restore example below I'll refer to the vm as "domain.com" and we will restore the backups to a different volume with the same config as the original. Then we'll start the vm, domain.com, using the restored volume.
View
2  source/_posts/2012-08-09-integrate-sendgrid-with-redmine.markdown
@@ -31,7 +31,7 @@ The core of this funcionality is provided by the sendgrid gem which originates f
#### Redmine Configuration File
If your Redmine install is something like /var/www/redmine, your configuration file will be /var/www/redmine/config/configuration.yml. If you have a relatively clean Redmine install, chances are you might not have one or it's a default template with a lot of examples. You might find an example detailing how to integrate with GMail in the example file. Our set up will be similar. Paste the following into your configuration.yml file and change the necessary parameters.
-
+<!--more-->
```
production:
delivery_method: :smtp
Please sign in to comment.
Something went wrong with that request. Please try again.