SyntaxHighlighter

ラベル Mac の投稿を表示しています。 すべての投稿を表示
ラベル Mac の投稿を表示しています。 すべての投稿を表示

2018-10-04

Time Machine reset

最近やたらTime Machineがバックアップできない・完了しない。
あれこれでosX 10.12以降かな…

いろいろネットにある情報を探してみましたが、次の有利情報が手に入った。
参考サイト:https://wayohoo.com/mac/troubles/how-to-deal-with-the-problem-of-backup-for-time-machine.html

何をするというと、Time Machineの設定を削除して、1からやり直す…
まぁ、できないよりはマシかな?

という訳で、やってみましょう

つぎの設定ファイルを削除する
/Library/Preferences/com.apple.TimeMachine.plist

できるかどうかわからないが、とりあえずひとメモ。

2018-09-22

Homebrew 系統升級後設定

這次的問題發生在MacOS 10.13以後的版本上。主要由於MacOS本身升級後改掉了一些目錄的設定,導致Homebrew抓不到自己的設定。還好Homebrew自己的設定還滿容易升級的。

錯誤訊息發生於執行brew update時,brew會告訴你/usr/local這個目錄的使用者權限有問題,叫你用下面的指令進行修復後繼續


sudo chown -R $(whoami):admin /usr/local


但是執行了指令之後並沒有多大作用。還是一樣跳一大堆錯誤之後停下來。

找了找網路的解法,看起來是要重新install過brew。執行下面指令(建議先自己跑過Xcode把CommandLine Tool更新一下)


/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

以上,解決。暫時完成brew更新的問題。

參考資料:
High SierraにアップデートされたMacでHomebrewがうまく動かない時https://qiita.com/takustaqu/items/65aa67286345baac363e

2017-09-29

MacOS X wifi slow

先日、通常使っているMBAのネットワークが急に遅くなった事象が起こりました。
ちょうどHigh Sierra更新と共に現れたので、それのせいかなと思ったけど、どうやら違う問題だったようだ。

そう。問題はWifi自身です。しかもMBAのWifi設定自身か狂ったんだ。
まぁ、幸に、ネットサーフィン自体はまたできる(やや遅いけれども)。

解決方法は簡単。次のステップを踏めて設定を一度整理すること。

1. wifiをoffにする。
2. 次のフォルダを開ける
/Library/Preferences/SystemConfiguration/
3.フォルダ中の次のファイルらを消す。
com.apple.airport.preferences.plist
com.apple.network.eapolclient.configuration.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist

4.システムを再起動
5.wifiをonする。




wifiの設定を一度消して、システムに一から構築し直すことによって、過去の不要な設定などを省く、速度も早くなった→予想。
まぁ、早くなったし、App Storeも普通に開けられたし、High Sierraにアップデータしよう!

参考資料:http://osxdaily.com/2016/09/22/fix-wi-fi-problems-macos-sierra/

2014-05-15

Apache HTTP Server Down after MacOS Upgrade(Update)

My localhost Apache HTTP Server can't start after I update my MacOS.

In Mac, we can check the error with apachectl command

# apachectl -t

It will show you what's matter on startup, or something wrong with your configure file.

I get a php module error because the PNG module that PHP module try to load is an old version one(libPNG15). There is new version module at the same locate(or say folder). Since it happened because I use the old PHP module, I just fix it by upgrade php module.

2013-09-21

Enable/Disable the FTP Server service on MacOSX 10.8

In MacOSX 10.8, you cannot find the easy switch for enable/disable FTP server.

To Enable FTP Server:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

To Disable FTP Server:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

2013-08-22

Start / Stop / Restart Apache HTTP Service in MAC

START:
sudo apachectl start
STOP:
sudo apachectl stop
RESTART(unload service and load the service again):
sudo apachectl restart
RESTART but not disconnect all the linked connection(reload the config file)
sudo apachectl graceful

In fact, it calls the /usr/sbin/httpd, so you should set option -k before start|stop|restart|graceful|graceful-stop

for more information, try man apachectl or apachectl -h

2013-07-24

MACのSCREEN CAPTURE

Save as a png file(on desktop)
1) Command + Shift + 3 Capture Whole Screen 
2) Command + Shift + 4 Capture Part of Screen 
3) Command + Shift + 4 and press Space Bar Capture Objects (Icon, Dock, Menu, Submenu, etc)

Save in clipboard
1) Command + Shift + Control + 3 Capture Whole Screen 
2) Command + Shift + Control + 4 Capture Part of Screen 
3) Command + Shift + Control + 4 and press Space Bar Capture Objects

http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X

人気の投稿