Libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \ wkhtmltox_0.12.6-1.bionic_b -y Python dev dependencies, git, Node, and other requirements apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev \ We will pull the deb of version 0.12.6-2 from Github and install it wget Īpt install. Wkhtmltopdf is used by Odoo to generate documents and is a necessary evil. The -O flag represents the owner of the database, we choose odoo because it's the name of the PostgreSQL user we created just before Wkhtmltopdf In this example, it's gonna be named coding_dodo. Next, we will already create that database that will hold our Odoo 14 instance. Shall the new role be allowed to create more new roles? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be a superuser? (y/n) n With the -interactive flag, PostgreSQL will ask us for a password and the privileges that will be given to our odoo PostgreSQL user. If you would prefer a different name, remember to keep that consistency to make things easier when you come back later to your environment. We will later create a Unix user named Odoo, so we will create a PostgreSQL user with the same name. Installing PostgreSQL apt install postgresql postgresql-contrib -y If you run into a message saying that the sshd_config has been modified: Choose to keep the local version currently installed of sshd_config fileĬhoose to keep the local version currently installed. We start by updating our packages apt update On a new machine, I have the habit of updating the packages first before beginning installing everything. ssh testingdodoĪnd answer yes to the security prompt, and you will be logged in Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-51-generic x86_64) We name our Host testingdodo so in our shell, we can type this shortcut to ssh into the machine. vim ~/.ssh/configĪdd this section with your IP address and the name of the public key you created. If you handle multiple SSH Keys this is a nice way to handle with which SSH Key you connect to each server. It will take a minute then your Droplet will be ready Droplet is ReadyĬopy the IP Address, we will add it to our SSH config file to make things easier for us. Scroll down more and click on Create Droplet. On DigitalOcean, click on New SSH Key and copy/paste the content printed out. Show the content of the newly generated key: cat ~/.ssh/id_rsa_codingdodo.pub When prompted for the name of the file we choose that /Users/codingdodo/.ssh/id_rsa_codingdodo Feel free to skip that part or read it to create your first key or handle multiple ssh keys. For this example, we will create a new SSH key that will be used to connect to our DigitalOcean Droplets. You probably already have an id_rsa.pub file in your. If you don't have an SSH Key yet you have to generate it with the command. Scrolling down you will see a space to add your ssh-key Adding the SSH KEY Adding SSH Key Choose at least 2 CPUs or everything will feel very slow. Remember that you are only billed for the time that the machine is up so you can choose a good machine and destroy it later. When on the Control Panel click on Get Started with a Droplet or Create / Droplet to arrive on this screen Create Ubuntu DropletĬhoose Ubuntu 20.04 and choose the right machine based on your needs. Here it can get a bit confusing because most of the links direct you to the DigitalOcean platform but we want the regular dashboard so click on Explore our control panel
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |