MACBOOK

MacBook Setup

  1. Unpack, plug-in, and power-up
  2. Login
  3. Record ps -ef
  4. Install microSD
  5. Start TimeMachine
  6. Setup app icons dashboard
  7. Set lower right sleep
  8. Add seven pages?
  9. Web server
  10. PHP
  11. Eclipse
  12. MySQL
  13. PhpMyAdmin
  14. Photo Editor - Image Tricks Lite
  15. Settings for WWW rsync
  16. Add aliases
  17. Mail
  18. Messages
  19. Install Firefox
  20. Install Chrome
  21. Setup auto bg processes
  22. Setup crontab
  23. Setup phplib
  24. Setup test environment
  25. Setup ZZZ
  26. Install Bash Scripts
  27. Install Desktop Background
  28. Install Postgres to test PDO

MacBook Debug

CHECK IF APACHE IS INSTALLED
httpd -v
Server version: Apache/2.4.54 (Unix)
Server built:   Jul 28 2022 16:19:07

CHECK IF APACHE IS RUNNING
ps -ef | grep httpd
    0   147     1   0  9:36AM ??         0:00.40 /usr/sbin/httpd -D FOREGROUND
   70   378   147   0  9:37AM ??         0:00.01 /usr/sbin/httpd -D FOREGROUND
   70   768   147   0  9:38AM ??         0:00.01 /usr/sbin/httpd -D FOREGROUND
  501  1404   859   0 10:13AM ttys000    0:00.01 grep httpd

START APACHE
sudo apachectl -k rt

LOAD APACHE
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist

RESTORE APACHE CONFIG FILE

sudo vi /opt/local/etc/apache2/httpd.conf
sudo vi /opt/local/etc/apache2/httpd.conf