How To Install and Use the screen Command on AWS Linux

Author: , August 12th, 2016

Install it: yum install screen Start it up: screen Detach from the session: Control-a d Re-attach to the session later on: screen -r This is a good reference guide: https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

How To Install a .pkg file from the Command Line on MacOSX

Author: , August 12th, 2016

sudo /usr/sbin/installer -pkg /path/to/yourFile.pkg -target /

How To Install the AWS CLI

Author: , March 29th, 2016

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html 1 2 3 4 5 6 7 8 cd curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip yum install python26 /usr/bin/python26 awscli-bundle/install -i /opt/aws/awscli -b /usr/bin/aws aws configure aws s3 ls aws ec2 describe-instances –output text cd curl “https://s3.amazonaws.com/aws-cli/awscli-bundle.zip” -o “awscli-bundle.zip” unzip awscli-bundle.zip yum install python26 /usr/bin/python26 awscli-bundle/install -i /opt/aws/awscli -b /usr/bin/aws aws configure aws […]

How To Install Continuent Tungsten Replicator Using Puppet on AWS

Author: , April 15th, 2014

https://github.com/continuent/continuent-puppet-tungsten As user root: vi /root/install.pp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $clusterData = {     "myServiceNameHere" => {         "topology" => "master-slave",         "master" => "myDBHostName1",         "slaves" => "myDBHostName2",     }, } class { […]

How To Configure CPAN to Automatically Install Dependencies Without Confirmation

Author: , March 20th, 2014

perl -MCPAN -e ‘my $c = “CPAN::HandleConfig”; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => “follow”); $c->edit(connect_to_internet_ok => “yes”); $c->edit(build_requires_install_policy => “yes”); $c->commit’

How To install Boto on Amazon Linux using yum and pip

Author: , August 15th, 2013

1 2 3 yum install python python /usr/bin/easy_install pip pip install boto yum install python python /usr/bin/easy_install pip pip install boto

How To Install s3cmd

Author: , June 7th, 2013

Install Procedure Download and extract into /usr/local: http://downloads.sourceforge.net/project/s3tools/s3cmd/1.0.1/s3cmd-1.0.1.tar.gz 1 2 3 4 5 6 cd /usr/local/bin ln -s /usr/local/s3cmd-1.0.1/s3cmd /usr/local/bin/s3cmd –configure Access Key: {ACCESS_KEY} Secret Key: {SECRET_KEY} Encryption password: {PASSWORD} cd /usr/local/bin ln -s /usr/local/s3cmd-1.0.1/s3cmd /usr/local/bin/s3cmd –configure Access Key: {ACCESS_KEY} Secret Key: {SECRET_KEY} Encryption password: {PASSWORD} Configuration saved to ‘/root/.s3cfg’ Command Line Examples List all […]

How To Upgrade PHP to PHP53 On CentOS

Author: , August 22nd, 2011

1 2 3 4 # service httpd stop # yum erase php-common php # yum install php53* # service httpd start # service httpd stop # yum erase php-common php # yum install php53* # service httpd start To get mcrypt installed, read this post: http://www.ericmichaelstone.com/?p=4702

How To Install mcrypt For PHP53 On CentOS

Author: , August 12th, 2011

To get mcrypt support for PHP 5.3, compile and install just the mcrypt extension. First, get the prerequisites: 1 yum install php53-devel libmcrypt-devel gcc gcc-c++ yum install php53-devel libmcrypt-devel gcc gcc-c++ Download the php source code from php.net, for example: 1 2 wget http://mx2.php.net/get/php-5.3.6.tar.bz2/from/us3.php.net/mirror tar xvjf php-5.3.6.tar.bz2 wget http://mx2.php.net/get/php-5.3.6.tar.bz2/from/us3.php.net/mirror tar xvjf php-5.3.6.tar.bz2 Now, cd to […]

How To Configure MySQL For phpMyAdmin

Author: , July 29th, 2011

Securely, allow access ONLY from the local server NOT from the network 1 2 3 4 5 6 7 8 9 10 11 12 13 GRANT USAGE ON mysql.* TO ‘pma’@’localhost’ IDENTIFIED BY ‘pmapass’; GRANT SELECT (     Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,     Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,     File_priv, […]