The 15 Most Important Linux Commands For AWS This guide will take you through some of the most common and important Linux commands for AWS for your daily professional life. How to install Apache in Amazon Linux Machine sudo -i ( Login as Root User ) Yum install httpd Service httpd start Chkconfig httpd on Cat > /var/www/html/index.html ( Creating a web page) Webserver1 (ctrl + D) Service apache2 restart ( Restart Apache in Ubuntu) lsblk ( Commands to mount EBS Volume in Linux ) mkfs -t ext4 /dev/xvdf file -s /dev/xvdf mkdir /Data mount /dev/xvdf /Data df -hT vi /etc/fstab /dev/xvdf /Data ext4 defaults,nofail 0 0
Pulumi is an infrastructure as a code tool. IAAC's approach towards managing infrastructure is the main reason you a tool is gaining popularity in the n DevOps world. Infrastructure as Code Explained IAAC is all about implementing automation at its best and less possibility of having errors while managing infrastructure. You can only imagine the situation where you need to manage hundreds of servers and it is almost impractical to manage all this manually. Hence the IAC enable DevOps engineers to manage Infra with multiple cloud providers with tools of their choice Pulumi is becoming the top choice. What is Pulumi? An open-source infrastructure that uses mostly any programming language to provision and manages cloud resources with simplicity. In 2017, Pulumi revolinatised the DevOps world with the features like using several programming languages to manage cloud resources. Terraform is also a similar tool where it has one disadvantage where it is li...
In this article, we will see Download and Install Chef in Amazon EC2 Linux Instance. Steps to follow Download and Install Chef Launch Linux EC2 Instance. Connect to Linux EC2 Instance through Putty. Switch to root user. Update Server Packages. Download and Install the chef package. Verify the chef package and Version. Launch Linux EC2 Instance Please check the below link to Launch Linux Server. Launch Linux EC2 Instance We can see the Linux Server “Chef-Workstation” which was created earlier. connect with your Amazon Linux machine using Putty or ssh client in case of windows. Open Linux EC2 Instance Terminal 2 3 4 5 6 7 8 9 Using username "ec2-user" . Authenticating with public key "imported-openssh-key" Last login : Tue Dec 24 02 : 35 : 19 2019 from 124.123.103.5 __ | __ | _ ) _ | ( / Amazon Linux 2 AMI ___ | \ ___ | ___ | https : //aws.amazon.com/amazon-linux-2/ Switch to root user 1 2 3 [ ec2 - user @ ip - 172 - 3...
No comments:
Post a Comment