alias git="/usr/local/git/bin/git"
Technology blog for personal research and diary. Short Notes, Quick Reference, scripts, source codes, commands, etc
Saturday, August 2, 2014
Tuesday, July 22, 2014
Setup Apache & PHP for Apple OS X 10.9 Mavericks
Check installed version of Apache, open up Terminal and type
httpd -v
Start Apache, open up Terminal and type
sudo apachectl start
Stop Apache, open up Terminal and type
sudo apachectl stop
Enable PHP, open up Terminal and type
sudo vi /etc/apache2/httpd.conf
Uncomment LoadModule statement php5_module
Restart Apache, open up Terminal and Type
sudo apachectl restart
httpd -v
Start Apache, open up Terminal and type
sudo apachectl start
Stop Apache, open up Terminal and type
sudo apachectl stop
Enable PHP, open up Terminal and type
sudo vi /etc/apache2/httpd.conf
Uncomment LoadModule statement php5_module
LoadModule php5_module libexec/apache2/libphp5.so
Restart Apache, open up Terminal and Type
sudo apachectl restart
Monday, July 21, 2014
Secure Google Gmail
Google has increased its security measures to block access to Google
accounts after July 15, 2014 if those accounts are being set up or
synced in apps and on devices that use Basic Authentication. You may disallow less secure apps via Google's "Allow less secure apps" settings page.
https://www.google.com/settings/security/lesssecureapps
https://www.google.com/settings/security/lesssecureapps
Tuesday, July 1, 2014
Sunday, June 15, 2014
Friday, June 6, 2014
OS X: Partition or Resizing Error / Partition failed with the error: Couldn’t modify partition map because file system verification failed.
Shutdown
Start system into Single User Mode by holding Command+S during boot
At the command prompt, type:
/sbin/fsck -fy then ENTER
When fsck is complete, type “exit” to restart
Start system and verify disk using Disk Utility
Start system into Single User Mode by holding Command+S during boot
At the command prompt, type:
/sbin/fsck -fy then ENTER
When fsck is complete, type “exit” to restart
Start system and verify disk using Disk Utility
Wednesday, June 4, 2014
Uninstall OS X EnterpriseDB PostgreSQL 9.1
Open a terminal window via Applications->Utilities->Terminal
Open User & Groups via System Preferences -> Users & Groups and delete PostgreSQL user
open /Library/PostgreSQL/9.1/uninstall-postgresql.app
sudo rm -rf /Library/PostgreSQL sudo rm /etc/postgres-reg.iniOpen User & Groups via System Preferences -> Users & Groups and delete PostgreSQL user
Subscribe to:
Posts (Atom)

