Setting Multiple Profile for AWS CLI
AWS CLI The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. AWS CLI…
AWS CLI The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. AWS CLI…
In the most common configurations, when running your web app behind Nginx or Apache, your https:// request will get redirected to http://. Sometimes, you may want to rewrite all HTTP…
Before you beginEnable Virtualization in BiosVT-x or AMD-v virtualization must be enabled in your computer’s BIOS.Install a HypervisorIf you do not already have a hypervisor installed, install the appropriate one…
RequirementIAM Roles for the Instance to run with AmazonSSMFullAccessAWS System Manager, AmazonEC2RoleforSSM Policy attached to your userInstall or Update the SSM AgentAWS CloudWatch AgentYour AWS Instance must have internet access…
First stop Mysql service /etc/init.d/mysqld stop rename the mysql directory mv /var/lib/mysql /var/lib/mysql_old Mount a secondary disk as data disk, I have mounted /disk2 to my /dev/sdb create a folder…
Apache’s mod_rewrite makes it easy to require SSL to be used on your site and to gently redirect users who forget to add the https when typing the URL. Using…
The MySQL slow query log and the general log can be written to a file or a database table by setting parameters in your DB parameter group. You must set…