cd ~
touch .bash_profile
nano .bash_profile
AAPT_HOME=/Users/xxx/Library/Android/sdk/build-tools/28.0.3
export AAPT_HOME
export PATH=$PATH:$AAPT_HOME
» Mac OSX の記事
download
1)vmware workstation pro form vmware web-site(free)
2)unlocker208 from insanelymac
3)Golden master 10.12 vm image
install vmware workstation pro with sn
patch vmware with unlocker208, click on win-install(run as admin)
CLOSE VMWARE before patch
Then go back to the vmware, and create a new vm for mac
press I will install the operating system later.
if <<apple Mac OS X>> is appear on the select box, then the patch process is successful.
Select store virtual disk as a single file, then edie the vm and remove the hdd
add back the existing Golden master virtual disk
finish edit, then go to the vm folder and edite the .vmx by using notepad ++
add this line at the back
smc.version = "0"
then switch on the vm
~ Clone OSX86 ~
必需東西
- USB TO SATA case
- Carbon Copy Cloner (Mac Backup software
- Destination HDD 要有足夠位置放晒Source HDD 的資料
- Chameleon BootLoader
先到Application>ultilies>Disk ulitily Format 左HDD 先
去drive 既partition到,選擇1 partition Format "Mac OS Extended(journaled)
之後按option, 選擇GUID PARTITION TABLE完成按OK and APPLY
FORMAT 後回到CCC , Select Source and destination , 打password , restore , 無乜特別野的
完成後,reboot , BIOS指返舊HDD boot 機,會入返去舊bootloader
入到去bootloader , 唔好boot 入舊HDD, boot 去新HDD
入到去OS後重新安裝Chameleon BootLoader
之後boot機就成了: )
openssl sha1 [full path to file]
VoodooHDA 有時會同nvidia 等display card 的hdmi audio out 撞左
VoodooHDA 會以為display card 個張先係main audio card
以下方法可以解決問題
[1]先確定graphic card 安裝成功,無有問題
到system report.. Hardware>graphics/Displays check 一下graphic card 的vendeor id and device id
先到 /system/library/extensions 找VoodooHDA.kext
右click show package content 入到去folder 改以下 file ./contents/Info.plist
找
<key>IOMatchCategory</key> <string>VoodooHDADevice</string>
在這code 下加入vendeor id and device id for skipping
<key>VoodooHDAVidSkip</key> <string>0x10de</string> <key>VoodooHDADivSkip</key> <string>0x1244</string>
之後clear caches
sudo -i cd /system/library/Caches rm -r com.apple.kext.caches
Mac OS X Server Apache 無法存取本機 MySQL Server 解決方式
由 phpinfo 中得知,是將 Mac 中的 PHP 是將 mysql.sock 放在 /var/mysql 下,
而 Mac 中的 MySQL 是放在 /tmp/mysql.sock。
所以要由本機的 Web Server 利用 PHP 連接本機的 MySQL 就會一直出現無法連線的錯誤。
利用底下的指令可以解決這個問題
sudo mkdir /var/mysql sudo chown mysql /var/mysql sudo ln -s /tmp/mysql.sock /var/mysql/
Recent Comments