Locate your source for apache 1.3.36 cd ??/apache_1.3.36/modules/standard/ /usr/local/apache/bin/apxs -c mod_speling.c /usr/local/apache/bin/apxs -i -a -n speling mod_speling.so vi /usr/local/apache/conf/httpd.conf <VirtualHost x.x.x.x> ServerAlias www.xxx.com ServerName xxx.com CheckSpelling on </VirtualHost> /usr/local/apache/bin/apachectl restart
Enable Root User osX 10.6.8
sudo passwd root
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
Failed dependencies libcrypto.so.6
Solution yum install openssl098e
centos 6.2 install freezes on detecting hardware 2 TB drive
Issue: CentOS 6.2 x64 install halts during initial boot, with boot messages stopping at “Detecting hardware”. Solution: At boot menu screen from CD [click] TAB key when the install line is highlighted Add the following parameter to the vmlinux line and hit enter acpi=off
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.…
rake db:create -rake aborted Could not find a JavaScript runtime
****Fix yum groupinstall ‘Development Tools’ /usr/local/src/ wget http://nodejs.org/dist/v0.6.7/node-v0.6.7.tar.gz tar xzvf node-v0.6.7.tar.gz cd node-v0.6.7 ./configure make make install
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…
Fix -green blinking light power supply
Desktop won’t start, there is a blinking green light on the back of the power supply, which is normally solid green when 110V AC is plugged into it. I have tried the trick of holding the start button while plugging in the power cord ….. no help. Solution: (have your…