Odoo-v9 installtion - installation

I have installed odoo-9 successfully, but it need to install few more packages I think because odoo-9 is dependent on node-less.
Problem :
After installed odoo-9 screen will not render completely, so anyone knows the reason why this happen ?
There is no more help available for odoo-9 and it's dependent packages.
Already refereed:
odoo 9 on Ubuntu Server 14.04 LTS
Odoo forum

Issue has been resolved by installing less.
Less CSS via nodejs
on Linux, use your distribution's package manager to install nodejs and npm.
Important
In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:
$ wget -qO- https://deb.nodesource.com/setup | bash -
$ apt-get install -y nodejs
In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs
$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Once npm is installed, use it to install less and less-plugin-clean-css:
$ sudo npm install -g less less-plugin-clean-css
For more help Click here

by the way thats a really outdated version of node.
instead of
wget -qO- https://deb.nodesource.com/setup | bash -
use
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
All the other instructions are the same.

You need to install nodejs and less for Ubuntu you need to run :-
sudo curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g less less-plugin-clean-css
after run your issue get resolve .
You can get more details tutorial about odoo installation here odoo Apache Ubuntu

You can chekout this also for dependency and configuration
Documentation

Related

"Yarn: command not found" even after being installed [duplicate]

This question already has answers here:
yarn command not found after installing via npm
(8 answers)
Closed 1 year ago.
I'm trying to install metronic on my computer and for this I need to have yarn installed. So I ran the command :
npm install --global yarn
/Users/cbarrial/.npm-global/bin/yarn -> /Users/cbarrial/.npm-global/lib/node_modules/yarn/bin/yarn.js
/Users/cbarrial/.npm-global/bin/yarnpkg -> /Users/cbarrial/.npm-global/lib/node_modules/yarn/bin/yarn.js
+ yarn#1.16.0
updated 1 package in 0.376s
So I guess the installation is working fine but then if I try the yarn command I'm getting this :
yarn --version
-bash: yarn: command not found
I have no idea where the problem could come from, I already have the latest npm and node.js installed and working fine.
You can install yarn in the next way:
sudo apt-get install curl # Only if you don't have installed curl
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
This way is an alternative to install yarn on debian/ubuntu, but you can find the alternative installation for different operative systems in the official page for Yarn in the section Alternatives

How to install GTK3 and Firefox on Amazon Linux (EC2) instance?

I'm trying to install the firefox on amazon linux (ec2) instance.. but this seems very difficult as gtk3 cannot be installed directly via yum.
I've seen some articles here. but not very helpful.
Thanks,
Considering its an amazon-linux-2 (you can check with--> cat /etc/os-release)
Install Dependencies for Firefox->
sudo yum install -y gtk3
sudo yum install -y libdbusmenu
sudo yum install -y libdbusmenu-jsonloader
Installing FireFox:
cd /opt
sudo wget
https://download-installer.cdn.mozilla.net/pub/firefox/releases/93.0/linux-x86_64/en-US/firefox-93.0.tar.bz2
sudo tar xfj firefox-93.0.tar.bz2
firefox --version
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

Gulp installation error on Laravel in Ubuntu

I run npm install gulp in Ubuntu. Show this error:
My Server is Ubuntu 16.04.
Framework is Laravel 5.6.
ERROR: npm is known not to run on Node.js v4.2.6
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least 4.7.0 to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/
I run node -v show this message: v4.2.6
I run sudo apt-get install --only-upgrade nodejs show this message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (9.11.1-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
How to solve this problem?
Try this.. First, Uninstall completely nodejs and npm.
sudo apt remove nodejs npm
Then, reinstall it:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
Refer: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
Try:
sudo apt-get update
sudo apt-get install nodejs (you already have node so this step is probably not required)
sudo npm install -g gulp
That should resolve your issue.

installing Heroku-toolbelt in Kali-sana

i am Trying to install heroku tool belt in Kali sana from :wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh and i keep getting the error below any help?
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
heroku-toolbelt : Depends: heroku (= 3.43.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So I know this thread is old but I just got heroku working on kali and found this thread while searching.
$ wget https://cli-assets.heroku.com/branches/stable/heroku-linux-386.tar.gz -O heroku.tar.gz
$ mkdir -p /usr/local/lib
$ tar -xvzf heroku.tar.gz -C /usr/local/lib
$ /usr/local/lib/heroku/install
Above is what I used, the 386 part for ARCH as in architecture is 32bit, so you would need amd64 for 64bit.
sudo apt install software-properties-common # debian only
[nano | echo | leafpad ] "deb https://cliassets.heroku.com/branches/stable/apt ./" """into""" /etc/apt/source.list
curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
sudo apt update
sudo apt upgrade
sudo apt-get install heroku
apt-get update
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku update
this would update all the plugins to the latest version of the heroku cli...goodluck

When I install odoo V9 it say me, "Could not execute command 'lessc'"?

When I try to install odoo_v9 it successfully install, and create demo database it also created, but after install demo database it give me error like "Could not execute command 'lessc'"....
Thanks in advance.
This error occurs almost everytime with a fresh installation of Odoo.
(Especially with Ubuntu 12.04)
First run these three commands in your terminal.
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
Then you install nodejs:
sudo apt-get install nodejs
You can then check version of nodejs using:
node -v
It should be at least greater than > 0.10
npm -v
Should return a version at least > 1.4
Then finally execute the following command, whick will update npm to a newer version as well as install the less plugin:
sudo npm install -g npm
sudo npm install -g less less-plugin-clean-css

Resources