Go back

How to get CentOS GUI Linux on Alibaba Cloud

This section describes how to launch and connect to CentOS GUI Linux on Alibaba Cloud environment.

  1. Go to Alibaba Marketplace and search for CentOS GUI Linux.

/img/alibaba/debian-gui-linux/marketplace1.png

  1. Click on Choose Your Plan button

/img/alibaba/debian-gui-linux/ChooseYourPlan.png

You will be redirected to Basic Configurations Page.

  • Select the Billing Method, Region and Zone where you want to launch the VM(such as Singapore, Zone A)

/img/alibaba/debian-gui-linux/BillingandRegion.png

  • Optionally change the number of cores and amount of memory.

/img/alibaba/debian-gui-linux/InstanceType.png

  • Optionally change the Sytem Disk and size. Boot disk size should be greater than or equal to 20 GB

/img/alibaba/debian-gui-linux/Storage.png

  • On Networking tab, Optionally change the VPC, Bandwidth Billing and Bandwidth Options
    Select the Security Group. Be sure that whichever Security Group you specify has ports 22 (for ssh) and 3389 (for RDP) exposed.

/img/alibaba/debian-gui-linux/SG.png

  • On System Configurations tab, Select Logon Credentials as Password and enter the password for root user.

/img/alibaba/debian-gui-linux/LogonCredentials.png

  • On Grouping tab, Optionally change the Resource Group and other settings.
  • Click Preview and Create Instance when you are done.
  • CentOS GUI Linux will begin deploying.
  1. To SSH the VM, first note the public IP address of the instance as highlighted below.

/img/alibaba/centos-gui-linux/public-ip.png

  1. Open putty, enter the public IP here and hit Open.

/img/alibaba/debian-gui-linux/putty.png

  1. This will open SSH window. Login as root and enter the password set during VM creation

/img/alibaba/centos-gui-linux/putty-login.png

  1. Now update the password for centos user by following below command-
sudo passwd centos

/img/alibaba/centos-gui-linux/centos-passwd-update.png

  1. Now the password is set for centos user, you can connect to the VM’s desktop environment from any local windows machine using RDP or linux machine using Remmina.
  2. To connect using RDP via Windows machine, first note the Public IP of the VM
  3. Then From your local windows machine, goto “start” menu, in the search box type and select “Remote desktop connection”
  4. In the “Remote Desktop connection” wizard, paste the Public IP and click connect

/img/alibaba/debian-gui-linux/rdp.png

  1. This will connect you to the VM’s desktop environment. Provide username as centos and password set in above step 6 to authenticate. Click OK

/img/alibaba/debian-gui-linux/centos-rdp-login.png

  1. Now you are connected to out of box CentOS GUI Linux environment via Windows machines.

/img/alibaba/centos-gui-linux/centos-centos-rdp-desktop.png

  1. To connect using RDP via Linux machine, first note the external IP of the VM from VM details page,then from your local Linux machine, goto menu, in the search box type and select “Remmina”.

Note: : If you don’t have Remmina installed on your Linux machine, first Install Remmina as per your linux distribution.

/img/gcp/common/remmina-search.png

  1. In the “Remmina Remote Desktop Client” wizard, select the RDP option from dropdown and paste the external ip and click enter

/img/gcp/common/remmina-external-ip.png

  1. This will connect you to the VM’s desktop environment. Provide username as centos and password set in step 6 to authenticate. Click OK

/img/alibaba/centos-gui-linux/centos-remmina-login.png

  1. Now you are connected to out of box CentOS GUI Linux environment via Linux machine.

/img/alibaba/centos-gui-linux/centos-centos-rdp-desktop.png

  1. To add newuser, run below command-
sudo adduser username

/img/alibaba/centos-gui-linux/add-Networkinguser.png

  1. Now set the password for new user by running-
sudo passwd username

/img/alibaba/centos-gui-linux/newuser-passwd.png

  1. Add new user to wheel group to give it sudo rights by running –
sudo usermod -aG wheel username

/img/alibaba/centos-gui-linux/wheel-group.png

  1. Now new user setup is completed. You can connect to the VM’s desktop environment from any local windows machine using RDP or linux machine using Remmina as explained above. Right Click on desktop icons and select “Allow Launching” option.

/img/alibaba/centos-gui-linux/allow-launching.png

/img/alibaba/centos-gui-linux/newuser-desktop.png

Go back