portdx.blogg.se

Digitalocean install mysql ubuntu 14.04
Digitalocean install mysql ubuntu 14.04







  1. DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 INSTALL
  2. DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 REGISTRATION
  3. DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 FREE

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

DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 FREE

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 Making Odoo multiprocess and using Nginx as a reverse proxyĭigitalOcean offers you 100€ credit to use in 6 months since you can create machines and destroy them quickly it's a great place to experiment with Odoo installs or to choose it as your production server! Creating a DigitalOcean accountįirst of all, go to DigitalOcean and create an account using the link DigitalOcean RegisterĬreate your credentials, validate your email and follow the steps until you arrive on that page DigitalOcean Register Choose Control panel.Creating odoo user and making Odoo run as a service.Using Pyenv to prepare our server for multiple python versions and virtualenvs in case you want to host other versions of Odoo.

DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 INSTALL

Installing all the Ubuntu 20.4 requirements necessary to install Odoo from the source.

DIGITALOCEAN INSTALL MYSQL UBUNTU 14.04 REGISTRATION

  • Going through DigitalOcean registration.
  • Install it from GitHub source on a brand new DigitalOcean Droplet Ubuntu 20.04 (LTS) 圆4. So that it is mounted when the server reboots sudo nano /etc/fstabĪnd put this line at the bottom: /swapfile none swap sw 0 0įinally, you can check it has all worked… sudo swapon -s Filename Type Size Used PriorityĮnter your email address to subscribe to this blog and receive notifications of new posts by email.In this tutorial, we will deploy a production-ready Odoo 14 instance.

    digitalocean install mysql ubuntu 14.04

    sudo fallocate -l 4G /swapfileĤ – Set file permissions sudo chmod 600 /swapfileĥ – Convert it to a swap file sudo mkswap /swapfileħ – Check that the swap is there sudo swapon -s Fallocate is used because it doesn’t bother to write anything to the file system. I had 17G and so could easily give the server 1g swap.ģ – Use fallocate to reserve space on the file system.

    digitalocean install mysql ubuntu 14.04

    df -hįilesystem Size Used Avail Use% Mounted on Digital Ocean doesn’t seem to provide swap by default.Ģ – Check how much disk space you have.

    digitalocean install mysql ubuntu 14.04

    If you get blank response then you don’t have any swap. Here is how you add swap to an Ubuntu server:ġ – Check you what swap you have. Given that Digital Ocean server are SSD’s this would be quite quick. So, I opted to provide the server with more swap space. The longterm fix is to give MySQL more memory but I didn’t really want to do that. I could fix the problem by restarting MySQL – ‘sudo service mysql restart’. I manifested itself by WordPress complaining that it could not connect to the database. it isn’t very quick.Īnyhow, I started to have a few problems with MySQL crash. It has just 512MB Ram and 20GB SSD Disk and 1 logical core – i.e.

    digitalocean install mysql ubuntu 14.04

    I use their standard WordPress application (pre built WordPress on Ubuntu) with the smallest size Droplet possible. I host a couple of WordPress sites on Ubuntu hosted on Digital Ocean droplets.









    Digitalocean install mysql ubuntu 14.04