This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sync; echo 3 > /proc/sys/vm/drop_caches | |
swapoff -a && swapon -a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) EC2 | |
Reference Link: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html | |
EC2 provides a lot of features using these resources: | |
BASICS: | |
-> Instances | |
-> AMIs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd / | |
$ du -sh * | |
4.0K jboss.sh | |
0 list.txt | |
4.0K log_rotation.sh | |
1.5G nohup.out | |
4.0K script.sh | |
4.0K stop_backup.sh | |
41M testdeploy | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre requisites - s3cmd installation and configuration (http://s3tools.org/s3cmd) | |
$ s3cmd put <folder_needs_to_be_pushed> s3://<bucket_name> --recursive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This gist contains everything you need to install StatsD and Graphite on CentOS 6.3. Unless I forgot something. If I did, shoot a reminder email to noah at one more bug dot com. **tl;dr: womm, ymmv, yolo.** | |
I (mostly) followed the steps shown in the [EZUnix wiki](http://www.ezunix.org/index.php?title=Install_statsd_and_graphite_on_CentOS_or_RHEL) | |
And I also referred back to [this gist by Michael Grace](http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let's say, you want to search 'file.txt' Go the directory where you want to search. | |
$ cd 'dir_path' | |
$ find . -name 'file.txt' | |
For detailed tutorial: http://content.hccfl.edu/pollock/unix/findcmd.htm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I would like to list out some of the points that differentiates GIT from SVN as a Version Control tool. | |
1. Basic difference between the above mentioned tools are that SVN is a Centralized and GIT is a Distributed version control tool. | |
2. Commit happens atomic in nature for SVN where as for GIT it's more like file versioning happens with every commit. | |
3. GIT versions by storing the contents of the files for tracking history where as in SVN the basic data storage is done by creating a differences between the individual files for each change. | |
4. GIT stores every changes in any of its sub-directories of its project structure within the .git folder that gets created only on the parent folder of the project structure where the git initialized a new git repository where as in SVN the .svn will be created in every sub-directories within the project structure to store the metadatas of each and every file and folder. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following this article: | |
http://thealarmclocksixam.wordpress.com/2013/01/06/git-repo-tutoria/ | |
http://www.saintsjd.com/2011/01/what-is-a-bare-git-repository/ | |
http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server | |
# SSH Server configuration | |
The machine that will host the git repository needs to be accessed by clients. A possible way to access a machine remotely is through SSH. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S3cmd tool for Amazon Simple Storage Service (S3) | |
================================================= | |
S3cmd is a free command line tool and client for uploading, | |
retrieving and managing data in Amazon S3 and other cloud | |
storage service providers that use the S3 protocol, such as | |
Google Cloud Storage or DreamHost DreamObjects. It is best | |
suited for power users who are familiar with command line | |
programs. It is also ideal for batch scripts and automated | |
backup to S3, triggered from cron, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Workshop: | |
-> Introduction to Go Continuous Delivery Software -- ThoughtWorks pitching in it's paid tool. | |
-> Linux containers (LXC) and future of software delivery -- Getting a lot of attention, perhaps due to Docker | |
-> SELinux for the Uninitiated -- Interesting...why would I choose to enable SELinux? Personally I end up disabling it each time. :) | |
-> Continuous deployment with Fabric -- Couldn't figure out what was the ISP..Chef offers it already and a lot more. [http://www.slideshare.net/tanihito/automated-deployment-with-fabric] | |
-> Continuous Delivery using Jenkins - Jenkins is an aswesome tool..create as a CI tool but easily extendible to CD as well.. my own presentation from few months back [http://www.slideshare.net/bhalothia/jenkins-a-complete-solution] |
OlderNewer