https://azure.microsoft.com/en-in/free/search/?
https://portal.azure.com/?bundlingKind=DefaultPartitioner&configHash=mq7rHpfaLoDK&env=portal&helppanenewdesign=true&l=en.en-gb&pageVersion=13.260.2.113.260.0.1593201853.240415-2109#view/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2FVirtualMachines
sreeharshaveerapalli
70-532 ( fror developers)
70-534 (implementing solutions in mic azure)
build azure
dIFFERENT TYPES OF CLOUD ENVIRONMENT
IAAS
PAAS
SAAS
https://build5nines.com/azure-cdn-endpoint-interactive-map/
it is telling that , where azure data center locations available
https://portal.azure.com/ it is called azrure resource manager arm
https://www.youtube.com/watch?v=tFG5YKvR2-s
after login it is showing like this
everything like a serviceazure with deveops => practicals =>
search for virtual machines in search bar and select that
https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2FVirtualMachines
select azure virtual machine
in resourc egroup
create resource
name give
some like pc name
myvm
give the details like below
==
click on next disk
disk
networking
management
next advanced and anext tags
after create
click on resource
https://portal.azure.com/#@narayanavamsikrishnagmail.onmicrosoft.com/resource/subscriptions/a0823459-3c2d-4588-8a0a-3b89321f35bb/resourcegroups/myvmg/providers/Microsoft.Compute/virtualMachines/laravel-deployment/overview
click on virtual machine
connect
click on ssh using azure cli
click on native os
ssh -i ~/.ssh/id_rsa.pem azureuser@20.195.168.136
azure-ssh-key.pem
ssh -i azure-ssh-key.pem azureuser@20.195.168.136
commands i used
exit
chmod 400 azure-ssh-key.pem
2004 ssh -i azure-ssh-key.pem azureuser@20.195.168.136
2 sudo apt update
3 sudo nano /etc/ssh/sshd_config
4 sudo service sshd reload
5 sudo apt update
6 sudo apt upgrade
7 sudo apt install zip unzip
8 sudo apt install apache2
9 sudo service apache2 restart
10 sudo mkdir www
11 cd www
12 git clone https://gitlab.com/vamsigdv/docker-laravel.git
13 cd ../
14 sudo chmod -R 777 www
15 cd www
16 git clone https://gitlab.com/vamsigdv/docker-laravel.git
17 ls
18 cd docker-laravel/
19 ls
20 git branch
21 git checkout laravel
22 git pull orgin laravel
23 git pull
24 ls
25 docker-compose u p -d
26 sudo apt install apt-transport-https ca-certificates curl software-properties-common
27 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
28 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
29 sudo apt install docker-ce
30 sudo systemctl status docker
31 docker -v
32 docker-compose -v
33 sudo apt install docker-compose
34 sudo docker-compose up -d
35 ls
36 docker-compose up -d
37 composer install
38 sudo apt install composer
39 composer install
40 php -v
41 sudo apt install php libapache2-mod-php php-mbstring php-xmlrpc php-soap php-gd php-sqlite3 php-cli php-zip php-bcmath php-tokenizer php-json php-pear php-mysql php-curl php-memcached php-xdebug php-intl php-fpm php-pgsql php-imap
42 composer install
43 sudo apt install php8.2-curl
44 sudo apt install php -curl
45 sudo add-apt-repository ppa:ondrej/php
46 sudo apt install php8.2
47 sudo update-alternatives --set php /user/bin/php8.2
48 sudo update-alternatives --set php /usr/bin/php8.2
49 php -v
50 sudo apt install php libapache2-mod-php php-mbstring php-xmlrpc php-soap php-gd php-sqlite3 php-cli php-zip php-bcmath php-tokenizer php-json php-pear php-mysql php-curl php-memcached php-xdebug php-intl php-fpm php-pgsql php-imap
51 composer install
52 sudo apt-get install php8.2-dom
53 composer install
54 composer self-update
55 php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
56 php composer-setup.php --install-dir=/usr/local/bin --filename=composer
57 composer clear-cache
58 composer self-update
59 sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
60 sudo chmod a+w /usr/local/bin
61 php composer-setup.php --install-dir=/path/to/your/directory --filename=composer
62 composer self-update
63 composer install
64 ls
65 nano composer.json
66 cd ../
67 composer create-project laravel/laravel:^8.0 example-app
68 sudo apt-get install php-mbstring
69 composer create-project laravel/laravel:^8.0 example-app
70 php -m | grep mbstring
71 php -i | grep php.ini
72 nano /etc/php/8.2/cli/php.ini
73 sudo i
74 sudo -i
75 php -i | grep mbstring
76 composer self-update
77 sudo apt update
78 sudo apt upgrade
79 composer self-update
80 sudo apt-get install php-mbstring
81 composer self-update
82 php -v
83 history
No comments:
Post a Comment