I created a repo on my GitHub account that will include powershell scripts
The first one will
- calculate the storage account size.
You can find the GitHub Link HERE
This will be updated.
Enjoy
Osama
For the people who think differently Welcome aboard
I created a repo on my GitHub account that will include powershell scripts
The first one will
You can find the GitHub Link HERE
This will be updated.
Enjoy
Osama
I posted before about AWS, Azure and OCI but this time i am trying to cover Alibaba , in this post i will show you how to setup your first Compute instance whatever OS you want CentOS or Ubuntu depeds on what you want
What you need ?
Connect to your Alibaba Cloud
Locate the Internet IP address (Public IP address) associated with your Alibaba Cloud ECS Instance.
If you are running Linux or Mac, use a terminal application to connect to the instance via SSH. If you are on Windows, you can use PuTTy.
Change the Hostname
The hostname is a default identifier when you communicate to a Linux server. It is like a computer name that is associated with your home PC or laptop. Naming your CentOS 7 server with a descriptive hostname helps you to differentiate your machines especially if you are running a bunch of them.
check the update
$ sudo yum update
check your hostname
$ hostname
change your hostname, we need to install nano text editor using the command below:
$ sudo yum install nano
Then, edit the /etc/cloud/cloud.cfg file and find the entry preserve_hostname. Change its value from false to true.
$ sudo nano /etc/cloud/cloud.cfg
preserve_hostname true
Then, edit the /etc/hostname file using a nano editor by typing the command below:
$ sudo nano /etc/hostname
You will need to add two entries on this file just below the 127.0.0.1 localhost entry. The first entry you are adding uses the loopback interface address 127.0.1.1. Please note that this is different from the address 127.0.0.1 which have a ‘localhost’ value in the same file.
Reboot your Alibaba Cloud ECS instance for the changes to take effect by typing the command below:
$ sudo reboot
Also you can create non root user by
$ sudo adduser
For instance, to add a user identified as osama on your server, use the command below:
$ sudo adduser osama
Next, we assign a password to the user we have created above:
$ sudo passwd osama
now assign the administrative task to this user
$ sudo gpasswd -a osama wheel
Cheers
Osama
Yes what you read it’s true …
Oracle now providing Free Online courses from Oracle University and not only this After complete the course you will be able to take the certficate for free,
Thank you Oracle for providing this and allow people to learn something new during this hard time for the whole world #CoronaVirus and quarantine.
Try to use your time wisely during these times, it will not come again and trust me when i am saying you will regret it.
The tracks :-
Note: Don’t Send me a message here or Linkedin Asking me about Dumps, if you ready to have the certificate apply for the exam otherwise don’t cheat.
Enjoy
Thanks
Osama