and the next thing is the hostname.
Permanent hostname change on RedHat based systems
RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This is set using the init script /etc/rc.d/rc.sysinit
/etc/sysconfig/network NETWORKING=yes HOSTNAME=”plain.domainname.com” GATEWAY=”192.168.0.1? GATEWAYDEV=”eth0? FORWARD_IPV4=”yes”
So in order to preserve your change on system reboot edit this file and enter the appropriate name using the HOSTNAME variable. Use sysctl to change the hostname
Why would someone need a different method of doing the same thing as above? No idea, but here is anyway: use sysctl to change the variable kernel.hostname: Use:
sysctl kernel.hostname
to read the current hostname, and
sysctl kernel.hostname=NEW_HOSTNAME
to change it.
… how long did you manage to get away without installing this one? 😎
approximately within 48hours.. hahaha.. (very slow-pace mode) as the file exist since..
Mon Mar 9 15:28:31 2009 UTC (32 hours, 49 minutes ago) by ..
quite weird when most of the item are just disappeared..
.. at first thought some config problem.. removing the whole project directory and re-checkout.. still the same..
then only figured one by one.. lol..
Worked for me. Many thanks!
@Andre : you’re welcome.. hopefully it help those in need.
I’m still having this problem. If done the yum install php-xml, but I still get the error about missing DomDocument class. I have read some posts that talk about executing a enable lib-xml extension command, but when I do this command, I get a error that lib-xml and extension is not a builtin command. Any suggestions would be appreciated.
really very helpful it works
Good, It worked
Awesome! Everywhere else I was looking referenced libxml2 which I had already installed. This fixed my issue!
Awesome! thanks so much.
Thx, after a lot of hours spend in the source the problem was in the server! 🙁
Updating the php-xml (note: it had already been installed long before the problem cropped up) on my CentOS server did the trick.
Thanks for the help.
Thanks, it worked !!
Just a note, if you’re on centos and you had to do a custom install of php 5.3, yum install php53-xml will do the trick
@rc – thank you!
Woooow, thank you!
U save my ass…
This worked great, thanks!
Thank you , was baffled with this error, your post saved the day
It worked for me like a charm. Thank you verry much.
ANSWER IS HANDY :)THANKS A LOT
Thank you, sir.
I also had to add the line:
extension=dom.so
to my php.ini file and restart apache. I’m using Fedora 16.
Thanks. saved a lot of time. Had that issue with owncloud
Thank you very much indeed! It solved my issue viewing the internal wiki syntax page with dokuwiki running over lighttpd in Scientific Linux.
Muito obrigado valeu muito o bizu de instalar esta yum install php-xml, excelente ajuda, estava precisando muito