Search Posts

Category: Ubuntu

Prefer/Precedence IPv4 over IPv6 for DNS lookups

We had an issue with DNS lookup/Querying the whois servers(Example: whois.crsnic.net) while Domain Search/Registration for any TLDs through WHMCS, Domain Manager etc. The tool/system used to timeout whenever the users searched a domain for availability. We found the following via CLI when telnet’ing to the whois server directly. The above indicates it attempts IPv6 DNS lookup first but the whois server doesn’t support or provide it, later our server tries IPv4 DNS lookup and it […]

How to change username when you have only one account in Ubuntu?

You cannot simply login as root in Ubuntu at the start up. Do it as the following way: 1) Open terminal and switch to root user. You can open terminal in search or by pressing Ctl+Alt+t. 2) Unlock root account and enable login as root like below # passwd -u root (:::should be as root) 3) Reboot the machine 4) Once the login page appears, press Ctrl+Alt+Fx (x can be from 1 to 6) to […]

Install Skype in Ubuntu

Download debian package for Skype from the following url, from it I chose Ubuntu multi arch version. http://www.skype.com/en/download-skype/skype-for-computer/ After downloading skype-ubuntu-precise_4.3.0.37-1_i386.deb , install it with dkpg which is the package manager for Debian version. # dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb If you get an error on it ———-   Errors were encountered while processing:   skype # skype skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory ———- Now […]

/etc/resolv.conf is being overwritten everytime??? | Ubuntu work around

Yes it is true in ubuntu, even if we manually set custom nameservers in /etc/resolv.conf it will overwrite on next reboot or network restart or modem/router restart. It is really annoying once we set google nameservers or opendns or whatever in resolv.conf it goes back to default page on each instance of restart or modem reconnect. The operation of setting attribute to /etc/resolv.conf is not supported here. =========== root@vaiocyber:~# chattr +i /etc/resolv.conf chattr: Operation not […]

Install Java and Enable it for Web Browsers | Linux

(Steps based on what I did in Ubuntu OS) As you know Java is essential to be installed and should be enabled to web browsers on local machines from where the system admins access their servers. The need of Java in most cases while we access consoles like KVM switches, IPMI etc to reboot a server which is down or to check what’s happening inside the server when SSH and network is down. In such […]