DNS Not Resolving Mac OSx

Mac OS X 10.6.8 can’t ping, surf nslookup works 1. I logged into terminal mode Application,Utilities,Terminal 2. [typed the following commands] cd /System/Library/LaunchDaemons/ sudo mv com.apple.mDNSResponder.plist com.apple.mDNSResponder.plist.bak 3. [restarted laptop]Clicked on Apple, Restart

Change wordpress URL mysql

You move your wordpress to a different URL and you can’t access wp-admin to login and change it. Solution: Connect to database from command line. select * from wp_options where option_name =’siteurl’; update wp_options set option_value =’http://newaddress’ where option_name=’siteurl’; You’ve ever moved your WordPress site to another location and all…

Create github SSH key

ssh-keygen -t rsa -C  “your_email@youremail.com” #Creates a new ssh key using the provided email Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa):<press enter> Enter passphrase (empty for no passphrase):<enter a passphrase> Enter same passphrase again:<enter passphrase again> Your identification has been saved in /home/user/.ssh/id_rsa.…

Install ruby-1.9.3-p0.tar.gz

yum -y install make gcc openssl-devel zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel gettext-devel ncurses-devel sqlite3-devel mysql-devel httpd-devel wget which yum install php-mysql mysql mysql-server /sbin/chkconfig –levels 235 mysqld on /etc/init.d/mysqld start #/usr/bin/mysqladmin -u root password ‘new-password’ cd /usr/local/src wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz tar xzvf yaml-0.1.4.tar.gz cd yaml-0.1.4 ./configure…