Misc. on AWS, Linux, Git, SSH, Development Platform #By Sayed Ahmed #Misc. Reading #RHCSA

Restart MySQL server on MacOS
https://coolestguidesontheplanet.com/start-stop-mysql-from-the-command-line-terminal-osx-linux/

Ubuntu: http://askubuntu.com/questions/82374/how-do-i-start-stop-mysql-server

Macos: sudo apachectl start

Redhat: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/chap-Managing_Confined_Services-MySQL.html

SSH, Secure copy (SCP), Sync (rsync) with Amazon AWS (Sure I did work with and used the following concepts)
Sure, did configure development and deployment platform on AWS

This works: ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
you might need to use ubuntu or root as the user
SSH: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html

Flavours of these commands will work for Secure Copy
$scp -i ~/Desktop/amazon.pem ubuntu@ec2-54-166-128-20.compute-1.amazonaws.com:/data/ecoli_ref-5m-trim.fastq.gz ~/Download/
$scp -i ~/Desktop/amazon.pem ~/Desktop/MS115.fa ubuntu@ec2-54-166-128-20.compute-1.amazonaws.com:~/data/
SCP: http://angus.readthedocs.io/en/2014/amazon/transfer-files-between-instance.html

rsync and was:
http://www.anthonychambers.co.uk/blog/rsync-to-aws-ec2-using-.pem-key/9
rsync -rave “ssh -i PEMKEYFILE.pem” /path/to/local/files/* ec2-user@EC2_INSTANCE_HOSTNAME:/path/to/remote/files

rsync -rave “ssh -i PEMKEYFILE.pem” /path/to/local/files/* ec2-user@EC2_INSTANCE_HOSTNAME:/path/to/remote/files

Some of my videos on Git, Version Control, and Similar:
https://www.youtube.com/playlist?list=PLUA7SYgJYDFqYR7YRow8cwX_RSgTJPCQH

From: http://sitestree.com/?p=4350
Categories:By Sayed Ahmed, Misc. Reading, RHCSA
Tags:
Post Data:2016-10-16 23:28:09

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada