Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
# hostname prod-server
- Modify the /etc/hosts file
If you have entries in the /etc/hosts file with the old hostname, you should modify it.
For example, the entry for 127.0.0.1 line in the /etc/hosts file will still show the old hostname. In this example, it shows as dev-server.
$ cat /etc/hosts 127.0.0.1 dev-server localhost.localdomain localhost
Modify this file, and set the new hostname here. For example, change dev-server to prod-server as shown below.
$ cat /etc/hosts 127.0.0.1 prod-server localhost.localdomain localhost
- Modify the /etc/sysconfig/network file
The /etc/sysconfig/network file also has an entry for HOSTNAME. Change the value here as shown below.
# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=prod-server
- Restart the Network
Restart the network service, if you want any other services that are using the hostname to pickup the changes.
# service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ]
If its still not work than restart the system than in startup it will set.
Hope this will help
Anil R.K. (SerpentCS)
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/13/13, 12:42 AM|
|Seen: 2051 times|
|Last updated: 3/16/15, 8:10 AM|