Posts

Showing posts with the label cloud

Create smtp mail server

Firstly by a domain in namecheap , and create droplet(VM) in digitalocean https://namecheap.com , https://digitalocean.com Instructions: https://www.youtube.com/watch?v=Az8PHq-ZqhU https://inguide.in/build-postal-smtp-server-send-bulk-emails-ubuntu-18-04/ https://inguide.in/simplest-way-to-configure-postal-create-smtp-install-ssl/ Pls make attention for step by step instruction netstat -nlptu | egrep -i postal - print smtp port

Jenkins enviroment installation on Azure

1) Install jenkins: https://docs.microsoft.com/en-us/azure/developer/jenkins/configure-on-linux-vm in vm creating part use this: az vm create \ --resource-group QuickstartJenkins-rg \ --name QuickstartJenkins-vm \ --image UbuntuLTS \ --size Standard B2s \ --admin-username "azureuser" \ --generate-ssh-keys \ --custom-data cloud-init-jenkins.txt in artice use other vm which is cost higher than B2s , but i am using B2s it works very well 2) Install docker: https://docs.docker.com/engine/install/ubuntu/ Then give permission to docker.sock for build image: Recommend way second one: sudo chmod 776 /var/run/docker.sock // for all sudo chown $USER /var/run/docker.sock // for current user 3) Install openjdk11 for build process, because our spring projects on jdk11 sudo apt install openjdk-11-jdk -y sudo update-alternatives --config java , then click enter for selecting * and configure openjdk11 in jenkins global tool configuration for further information about jenkins: https://www...