首页
项目概况
Odoo中文翻译项目
- 项目一期目标: Odoo 开发精要
- 项目性质:公益,保留所有参与人员的署名权;项目成果归全人类
- 项目使命:推倒 odoo 语言壁垒,助力 odoo 中国推广
- 项目成员:
- 统筹: 广州-唐振宽 广州-黄伟杰
- 审核:苏州-刘春涛
- 苏州-时威
- 苏州-庄春梅
- 杭州-胡恒
- 广州-陈厚源
- 翻译交流群:343593855(验证信息:参与odoo书籍翻译)
Getting Started with Odoo 发展
安装Odoo主机服务器
准备Debian主机
创建Odoo用户帐户
Creating a user account for Odoo
如果你正在使用有超级管理员权限的root账号登录,考虑到用root 用户运行不是一个好主意, 首先应该为你的工作创建一个普通用户账号,实际上,当你使用root用户启动odoo 服务器时, 他也会拒绝运行。
If you are logging in using the superuser root account, your first task should be to create a normal user account to use for your work, since it's considered bad practice to work as root. In particular, the Odoo server will refuse to run if you start it as the root.
If you are using Ubuntu, you probably won't need this since the installation
process must have already guided you through the creation of a user.
First, make sure sudo is installed. Our work user will need it. If logged in as the root, execute the following commands:
- apt-get update && apt-get upgrade
- Install system updates
- apt-get install sudo
- Make sure 'sudo' is installed
The next set of commands will create an odoo user:
- useradd -m -g sudo -s /bin/bash odoo
with sudo powers
- Create an 'odoo' user
- passwd odoo
- Ask and set a password for the new user
You can change odoo to whatever username you may want. The -m option
ensures its home directory is created. The -g sudo option adds it to the sudoers
list so it can run commands as the root. The -s /bin/bash option sets the
default shell to bash, which is nicer to use than the default sh.
Now we can log in as the new user and set up Odoo.