#odoo 17 Installation on Ubuntu 22.04 LTS Tutorial | Odoo 17 Installation AWS EC2 on Ubuntu

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] so let's start how to install bodu on a2222 so first of all I will start from launching the instance and uh after launching the instance we'll we looking for the installation steps which I have already documented here like what are the steps needed to install the Odo 17 on and how how we are going to install what is the supported version what py version is supported for Theo u o 17 like Pi version 3. one start from the instance creation or do app so I'm taking the2 image free tire I will select the key I have one so selected the key selecting the existing group I already have one same 20gb and launch instance so for fun you can start with that after the launch it will give you the launch ID which is actually the instance ID uh so I clicked on that instance ID and now I am navigated to the instance page you may use other uh Cloud providers like Google cloud aure or Oracle Cloud digal otion any any provider you can choose but the installation me method will be remains same like how you are going to install the wo 17 on so let's see sing this instance with this IP and okay so it ask me to add the host key file first I will update this system repos sorry so have to upgrade so it will install the dependencies whatever dependency is needed and lat will start installing the uh dependencies for the Odo 17 these two already completed if you see these two already completed open server is already installed open SSH open SSH is already installed if you want to protect your application from fell to be firewell application firewell you can definitely go for it like to protect from the python Davis 3.10 is already set up let me check the version python 3.10 okay so it's installed 110 version so that's good I need this 110 version next is to install the dependencies of uh the uh Odo one by one this you can get from the uh okay so I think uh few of the libraries are missing here you can get this uh document from the python official document also uh I'll install the npm next if some package are failing then I will not care about that because those are already installed either when I run the Python 3 currently it's installing the npm and next I will uh soft link the node version it started installing that time it was downloading all the packages it taken a bit long time so next step is to uh uh yeah create the soft link setting up node done okay now it's all done okay 12 is installed I already exist so it's already created now I am installing the L plugin for clean CSS and after that I will install the nod L this is a dependency for the scss files used by Yu so this video is going to a bit uh long because it's uh holds too many things like it has many dependencies and all so next step is to install the database server post gr because it supports post grass server so I will be installing the postgress and let's see which version is being installed postgress 14 is being installed I think doc 14 it's say so post installed now I will see post this 14 status so it's running see now next is to sud sudo to the postgress user I will login with the postgress user postgress installation creates a separate user that is post G and uh because it manages all the uh all its operations with this user only so next is to create user DB user username postc no create table I am creating One auto 17 user if I want to access this uh access this uh database on my local system that will be accessed with the PG admin that will be assess I need to open the port public port and allow my IP as a p dependency here so first of all I will say like create DB user username password username is post address create table Ro no super this I will explain here like the user and the password are needed for the con file post address use a distinct system to use perform task to switch between users sudo post need to switch the user so so I am creating one user and the DB Model 17 okay new enter new password for all I'm giving some short password okay so my user is created now I will login with the pl psql I am in the root root of uh this database alter to be this super user Ro is altered and yeah Ro is altered and I will put from here I exit from here now if I go back I need to create a system user first for the AO 17 so I am creating Odo 17 as a system user and the home directory will be opt Odo 17 by default so creating directory in opt if I go here in opt o 17 permission denied I cannot only this user can access that directory for that I need to switch to that user next I will switch to this user let me install first git git is already installed so I'm switching the user to the Odo 17 user I switch to user Odo 17 now I have to clone the uh Branch from GitHub the Odo Branch Odo 17 branch I am cloning and it's started cloning the branch if you see the file permission the file permission and folder permission will be o 17 that's uh needed uh cover till now and half is spending like writing the configuration file of oo and adding odos Odo as a service when the system boot or or system restarts that time it should automatically start this service so if you see here like the permission of these files are Odo and uh here one is requirement file so it comes with some packages which need to be installed to process the next so I will exit from here I will install the required packages if you see here like I have to install it with the requirement txt file so it started installing the packages issue with the package and it's thrown error saying like metadata um py project Tom did not run successfully one of one of the package thrown error I need to fix that and then run it back again installing it and hope this time it will be installed successfully project here I had you see last time I was having a dependency issue of the Python Dev so I searched here and the like the python Dev was not installed and when I was trying to install the python Dev it's showing error like there is a no installation candidate so uh I need to install this libraries on this um machine first so what I will do I will add these things here what libraries I have installed till now so I need to match each of the library here and some somehow I missed to install this because of this python Dev I was installing here need to install the Python 3 Dev I missed to install this and because of this it was throwing the error so let's uh see next like uh my the dep my dependencies are installed what I have done I have installed with the Python 3 uh Python 3 last time let me install with the python 3.10 one Z so my dependencies are already satisfied all the dependencies are satisfied now let's see the what next step so this installation is done now I need to install the WK HTML to PDF this is a dependency which helps in printing the reports and all like printing the bills and the documents especially so what I will do I will install it as well right now so I downloaded so it's again throwing error like uh depends on leave1 one and the these things need to install these are the fonts and libraries which need to install before installing this uh W ktml so let's see let me install the dependency and then I will reinstall it back so so what I have done I have added one uh de repo focal Security man in the focal security list and then updated the list and then try to install it installed so uh the operating system which the person I am using there the SS this open SSL is not available that's why it's it was throwing me error too many times now once this is installed you will face this type of isue uh maybe uh while installing the Odo dependencies and all because sometimes it don't work andtime 12.6 now I will be moving for the uh configuration file I will copy this configuration file from the other into here and I will open it AO config here is it is so before that what I will do I will go with this sudo Ando 17 and I will change the permiss permission is already changed so what I will do uh be and I will simply run it I want to see like what are the things it's asking like it says like uh error in DB connection connection Hil something so I have to fix this uh these issues first so I will VC aut config database host I will give here as a local because it's un local p is uh 5 432 I think yeah and D user ISO 17 password I have given test only and uh let's see the next after saving this what I will do I will say like uh take the config file from PC and do 17 what it say would not translate first name local okay so okay local sorry Local Host that just I want to run so I can see like my uh is running on this uh HTTP Port uh 8069 but if I see my uh if I see my auto instance and if I go to my security and here I see my uh I have allowed only port 0443 and this this much things so what should I do now and it's not good also to access the main main application or something like some application like on port 8069 or 63 so better what we can do we can reverse proxy pass before that we I have left with few of the configuration this is changed okay so I have filled this detail like uh for DB host name Port DB username DB password path is already set I have to put the log file where the log will be stored let's see I can do that I have to put in this config file the log addon path you can change you can put your own addon path if you have custom addons of theodo you can put it up so uh log file I have given next is anything else admin password admin password is commented here suppose like I am going to set the admin password uh some password like all in one place so this is the basic configuration for my uh oo hope it will not uh throw any error after this CH log file is added there so it will be searching for the log file let me create it first so what I will do uh I need to change the file permission the file permission of this configuration file to the Odo user and change the ownership to the Odo user and uh the permission will be 640 only for that user and now I will make a directory here saying oo log in the v log file it's already exist I think that created and I will change the permission to this user Pho and group is root so till now my all things is done next is to write a service class there is two method of writing this service class either you can write in this uh init.d or either you can write it in the it is a system D system Lot Service like this both have different methods of writing One support function and One support like common unit and unit and description base so I will be using this one for short time of period of time and I will add this in this service class so description is O 17 uh server and documentation is given okay now you see that type simple 17 is internal default if you if you want to add multi-user you can add it here multiuser and all domain so here I copied this instance ID and I created one Erp Erp we point in to this Erp and now I am accessing with this domain like Erp dob house.in when I access it here I have pointed the uh I have pointed uh through the nginx to bypass the proxy if you can see it here I have just added installed the ngx and I am just bypassing it sites enabled default if you see this uh the port T is running on S and uh I just added here one uh Erp and what it does uh after enabling sell it is just bypassing it's adding a proxy pass to Local Host 8069 I am not exposing 8069 Port outside I am just bypassing it with the NX proxy so what I will do I will uh paste the admin user password which I have given in the Auto config and uh add the database name like Erp uh admin as username password some password phone number empty language company country India selected and I not taking the demo data I just create the database if you want to see uh the logs server log okay so it says like access T we have create to Port login something what I missed something I have missed here domain one place database creation error so I past the password urp admin create it so it will come to this screen here you have to login admin and the password you have given while the instance while the creation of the uh database and it comes here here you find the different applications listed you have the setting you can navigate to the uh technical things if you just put debug equal to one it will navigate you to the uh debugger mode and you can configure the outgoing mail server you can configure the system parameters and all if you have any question in installation of the AO or setup of the AO you can comment on my video and I will try to answer your questions uh possibly thanks for watching please subscribe and press the Bell icon for the latest updates
Info
Channel: FANATICUS
Views: 721
Rating: undefined out of 5
Keywords: Odoo 17, Odoo17 install on ubuntu Explained, How to Master odoo17 install on ubuntu, Everything You Need to Know About odoo17 install on ubuntu, The Future of odoo17 install on ubuntu is Here, install odoo on ubuntu, install odoo on ubuntu server, install odoo on ubuntu 22.04, install odoo on ubuntu 20.04, odoo 17 installation on ubuntu, install odoo 17 on ubuntu 22.04, install odoo 15 on ubuntu, install odoo 14 on ubuntu 22.04, Fanaticus Tutorials, Fanaticus videos
Id: 5od4CGwOOOw
Channel Id: undefined
Length: 24min 19sec (1459 seconds)
Published: Mon Mar 18 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.