Monthly Archives: November 2011

install oracle instance client on ubuntu 11.10 x64

download *.rpm from oracle sudo alien to install rpms vi /etc/  /lib /usr/lib/oracle/11.2/client64/lib sudo ldconfig Advertisements

Posted in oracle | Leave a comment

mysql testdb

mysql> create database testdb;Query OK, 1 row affected (0.03 sec) mysql> create user ‘testuser’@’localhost’ identified by ‘password’;Query OK, 0 rows affected (0.06 sec) mysql> use testdb;Database changedmysql> grant all on testdb.* to ‘testdb’@’localhost’;Query OK, 0 rows affected (0.00 sec) mysql>flush … Continue reading

Posted in mysql | Leave a comment

DNS wildcard and DHCP with BIND vs dnsmasq

Disable dnsmasq from networkmanager sudo vim /etc/NetworkManager.conf and #dnsmasq sudo service network-manager restart Install and configure dnsmasq sudo apt-get install dnsmasq sudo vim /etc/dnsmasq.conf     listen-address= To add *.dev, *.prod      address=/dev/     address=/prod/ To add alias:    cname=svn, … Continue reading

Posted in dns, dnsmasq | Leave a comment