mac Macports
Macports¶
Use BASH shell¶
Install Macports BASH and add /opt/local/bin/bash to list of approved shells.
Setup .bash_profile Add this Logout and login. Check with set command.Install essentials under /usr/local/vnix/setup¶
Swap Files¶
View swap files¶
Check swap files¶
Flush DNS Resolver Cache¶
If this doesn’t work, change the DNS server under Network and keep in mind the propagation on the internet for new domain names takes some time.
Install syslog-ng (not used)¶
Install with Macports
Notessyslog-ng has the following notes:
To use syslog-ng, first unload OS X's built-in syslog daemon:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.syslogd.plist
Then copy /opt/local/etc/syslog-ng.conf-dist to /opt/local/etc/syslog-ng.conf,
customize, and load syslog-ng:
sudo launchctl load -w /Library/LaunchDaemons/org.macports.syslog-ng.plist
A startup item has been generated that will aid in starting syslog-ng with launchd. It is disabled by default. Execute the following command to start it, and to cause
it to launch at startup:
sudo port load syslog-ng
Setup logrotate¶
Add thisTips¶
Show hidden files¶
cmd + shift + period