By using socket.gethostname() we can get hostname of system:
>>> import socket
There is one more way to get hostname is by using platform.node():
To fix apt-get auto complete issue we need to edit /etc/bash.bashrc file.
Open /etc/bash.bashrc file with any text editor, here I am using vim.
$ vim /etc/bash.bashrc
Now search for below lines in /etc/bash.bashrc file:
Now that we have released version 8.7.0, planning for 8.8.0 is in full force. I thought I'd share some of those things that made it to the top of the todo list:
If we used code-names, the Xen 4.5 release should be called Panda on Diet! We have 78K new code with 141K deleted. In effect this release has -63KLOC code than the previous one.
The net effect of a skinnier Xen Project Hypervisor code base is increased usability, simplicity and innovation. This is all by design and one of many steps we’ll continue to take to fine-tune our development and release cycle.
One of the best ways to improve the performance of Microsoft Windows guest is to use paravirtualised devices and drivers for KVM in the guests. This provides close to bare performance (up to 95%). These drivers are provided by the virtio-win RPM packages in the RHEL.
1. The virtio-win packages can be found on RHEL server /usr/share/virtio-win/
If you encounter this error while trying to login or su –login
# su --login user1
"cannot set user id: Resource temporarily unavailable" while trying to login or su as a local user in CentOS.
To resolve the issue, extend the nproc value in /etc/security/limits.conf for the user.
We are looking to hire someone who loves working with open source developer communities.
The ideal candidate would have experience with the Oracle Database and at least two or more open source developer environments. The successful candidate would join a team of people responsible for helping database app developers be more productive while using prominent open source development tools. That person would also help to represent the needs of the community back to Oracle development.
There was a lengthy mailing list discussion in November and December of 2014 of whether or not to avoid git merge entries. There was also an intermingled discussion on QA and CI. The idea was to trim the git history and make sure tests are run a quickly as possible. As a result of that discussion, I added more automated testbench runs, which also required a new branch master-candidate, which is used as a staging area to run the test, and from which changes are (manually) migrated to master when all testbench runs are OK.