差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
memo:osx [2012/11/20 06:50]
hasegawa
memo:osx [2016/08/10 15:00] (現在)
hasegawa [OSアップグレード]
ライン 1: ライン 1:
 {{tag>​osx}} {{tag>​osx}}
 +
 +====== Mac OS X ======
 +
 +===== MS Office 2011 =====
 +先週末のアップデート後にExcelが落ちるようになり,セーフモードを試すも意味が無いので,仕方なく再インストールした.
 +
 +単純なアプリケーションフォルダからの削除・再インストールではダメで,AppClearnerでの削除でもダメで,MS公式の完全なアンインストール方法実施後の再インストールでようやく使用可能になった.
 +
 +http://​support.microsoft.com/​kb/​2398768/​ja
 +
 +疲れた.
 +
  
 ====== メンテナンス ====== ====== メンテナンス ======
ライン 8: ライン 20:
  
 2012/05/14 2012/05/14
-====== emacs ====== 
-===== インストール ===== 
-http://​sakito.jp/​emacs/​emacs23.htmlに書いてあることを実行すればOK 
  
-ダウンロード +===== Yosemite 10.10.5からEl Capitan 10.11.6にアップグレード ===== 
-  curl -O http://ftp.gnu.org/​pub/​gnu/​emacs/​emacs-23.4.tar.gz + 
-解凍 +0Time Machineでバックアップを取っておく 
-  tar xvfz emacs-23.4.tar.gz +1App Storeからアップグレード 
-解凍ディに移動 +2. 再起動,起動時にcmd+Rを押し続けて「OS X 復元」を起動 
-  cd emacs-23.4 +3. 「ディユーティティ」でシステムドライブを削除 
-ドとインストール(かなり時間が掛かる +4. 「OS Xを再インストー」でEl Capitanをネットワークインストール 
-  ​./​configure --with-ns --without-x +5. インストール後に起動し,データやアプリをTime Machineら復元する 
-  ​make + 
-  make install +
-開く +
-  open nextstep/​Emacs.app+
  
 +```
 +brew cask install qlcolorcode quicklook-csv qlmarkdown
 +```
 ====== vim ====== ====== vim ======
 ===== インストール ===== ===== インストール =====
ライン 91: ライン 101:
  
 ==== トラックパッド関係 ==== ==== トラックパッド関係 ====
-----+
 BetterTouchTool:トラックパッドの機能を拡張するアプリ BetterTouchTool:トラックパッドの機能を拡張するアプリ
  
ライン 99: ライン 109:
  
 参考:http://​d.hatena.ne.jp/​RyoAnna/​20110731/​1312100591 参考:http://​d.hatena.ne.jp/​RyoAnna/​20110731/​1312100591
- 
----- 
  
 ===== Finder ===== ===== Finder =====
ライン 111: ライン 119:
  
 半年ほど前に買ったTotalFinderは封印し,しばらくはXtraFinderで行こうと思う. 半年ほど前に買ったTotalFinderは封印し,しばらくはXtraFinderで行こうと思う.
 +
 +==== タイトルバーにパスを表示 ====
 +
 +http://​inforati.jp/​apple/​mac-tips-techniques/​system-hints/​how-to-display-the-full-path-of-folder-in-macos-finder-titlebar.html
 +
 +便利かと思ったけど,パスバー表示&タブ環境では使いにくい.パスが右寄せでカレントディレクトリが表示されるような形になれば便利かも.
  
 ===== その他の環境整備 ===== ===== その他の環境整備 =====
 +
 +==== プリンタの設定 ====
 +モノクロをデフォルトにしたい場合
 +
 +http://​d.hatena.ne.jp/​pcmaster/​20111203/​p2
 +
 +を参考に設定する.
 +
 +ただし,ブラウザはFirefoxではアクセス出来なかったのと,シェルから
 +  cupsctl WebInterface=yes
 +を実行する必要があった.
  
 ==== 起動音を消す ==== ==== 起動音を消す ====
ライン 124: ライン 149:
 戻すとき 戻すとき
   sudo nvram -d SystemAudioVolume   sudo nvram -d SystemAudioVolume
 +
 +==== メールリンクの処理 ====
 +2013/04/18
 +
 +Firefoxでmailtoのリンクを踏んだとき,デフォルトではOSの標準メールアプリケーションとなる.
 +https://​support.mozilla.org/​ja/​kb/​Changing%20the%20e-mail%20program%20used%20by%20Firefox
 +
 +標準メールアプリケーションが設定したつもりのないアプリになっていたので,変更したい.
 +
 +OS標準のメーラー・ブラウザの変更方法は以下を参照
 +http://​support.apple.com/​kb/​HT1637?​viewlocale=ja_JP&​locale=ja_JP
 +
 +まさか,Safari.appとMail.appからしか変更できないとはビックリした.Mail.appなんか一度も使ってないから,アカウントの設定をしなくちゃならなかった.下手にきちんと登録して受信されても迷惑なので,適当なサーバ情報で実際はアカウントにアクセス出来ない状態に設定した.この設定方法はポンコツだろう.
  
 ====== homebrew ====== ====== homebrew ======
ライン 137: ライン 175:
   export https_proxy="​http://​proxy.com:​8080/"​   export https_proxy="​http://​proxy.com:​8080/"​
   export ftp_proxy="​http://​proxy.com:​8080/"​   export ftp_proxy="​http://​proxy.com:​8080/"​
-を記述し(プロクシアドレスとポート番号は適宜変更)+を記述し(プロクシアドレスとポート番号は適宜変更).
  
 curlのマニュアルを読むと,http://​www.hcn.zaq.ne.jp/​___/​unix/​curl_manpage.html#​O-proxy にproxyのオプションがあった.これを使って, curlのマニュアルを読むと,http://​www.hcn.zaq.ne.jp/​___/​unix/​curl_manpage.html#​O-proxy にproxyのオプションがあった.これを使って,
ライン 144: ライン 182:
  
 シェルを再起動してから上記スクリプトを実行すると, シェルを再起動してから上記スクリプトを実行すると,
 +
   ==> This script will install:   ==> This script will install:
   /​usr/​local/​bin/​brew   /​usr/​local/​bin/​brew
ライン 168: ライン 207:
   ​   ​
   Press enter to continue   Press enter to continue
 +
 と出て,エンターを押すと,パスワードを求められる.ログインパスワードを入力すると... と出て,エンターを押すと,パスワードを求められる.ログインパスワードを入力すると...
 +
   ==> Downloading and Installing Homebrew...   ==> Downloading and Installing Homebrew...
   ==> Installation successful!   ==> Installation successful!
   You should run `brew doctor'​ *before* you install anything.   You should run `brew doctor'​ *before* you install anything.
   Now type: brew help   Now type: brew help
 +
 とりあえずインストールは出来た とりあえずインストールは出来た
-  $ brew -v 
 バージョンチェック バージョンチェック
 +
 +  $ brew -v
   0.9   0.9
 +
 homebrewを使って何かをインストールする前に`brew doctor'​を実行すれというので実行 homebrewを使って何かをインストールする前に`brew doctor'​を実行すれというので実行
 +
   $ `brew doctor'​   $ `brew doctor'​
 +
 すると,Warningがたくさん出た. すると,Warningがたくさん出た.
 +
   Warning: Some directories in /​usr/​local/​share/​man aren't writable.   Warning: Some directories in /​usr/​local/​share/​man aren't writable.
   This can happen if you "sudo make install"​ software that isn't managed   This can happen if you "sudo make install"​ software that isn't managed
ライン 188: ライン 235:
     /​usr/​local/​share/​man/​de     /​usr/​local/​share/​man/​de
     /​usr/​local/​share/​man/​de/​man1     /​usr/​local/​share/​man/​de/​man1
 +
 書き込めなくってエラーが出るから,所有者を変えろとのこと.変えましょう. 書き込めなくってエラーが出るから,所有者を変えろとのこと.変えましょう.
 +
   $ chown -v hasegawa /​usr/​local/​share/​man/​de   $ chown -v hasegawa /​usr/​local/​share/​man/​de
   chown: /​usr/​local/​share/​man/​de:​ Operation not permitted   chown: /​usr/​local/​share/​man/​de:​ Operation not permitted
 +
 権限が足りないので,sudo 権限が足りないので,sudo
 +
   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de
   Password:   Password:
   /​usr/​local/​share/​man/​de   /​usr/​local/​share/​man/​de
 +
 OK.次 OK.次
 +
   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de/​man1   $ sudo chown -v hasegawa /​usr/​local/​share/​man/​de/​man1
   Password:   Password:
   /​usr/​local/​share/​man/​de/​man1   /​usr/​local/​share/​man/​de/​man1
 +
 OK.次の警告はXcodeが古いから新しくすれとのこと. OK.次の警告はXcodeが古いから新しくすれとのこと.
 +
   Warning: You have Xcode 4.2.1, which is outdated.   Warning: You have Xcode 4.2.1, which is outdated.
   Please install Xcode 4.3.   Please install Xcode 4.3.
 +
 App Store見ても更新がない.アップデート方法を検索すると,このサイト App Store見ても更新がない.アップデート方法を検索すると,このサイト
 http://​null.ly/​post/​17783037515/​switch-xcode-4-2-1-to-4-3 http://​null.ly/​post/​17783037515/​switch-xcode-4-2-1-to-4-3
 で別にXcode使わないならコマンドラインツールだけ別にインストール出来るとのこと. で別にXcode使わないならコマンドラインツールだけ別にインストール出来るとのこと.
 Xcode使わないから,アンインストール. Xcode使わないから,アンインストール.
 +
   $ sudo /​Developer/​Library/​uninstall-devtools --mode=all   $ sudo /​Developer/​Library/​uninstall-devtools --mode=all
 +
 アップルの開発者向けサイトhttps://​developer.apple.com/​ でユーザ登録し, アップルの開発者向けサイトhttps://​developer.apple.com/​ でユーザ登録し,
 https://​developer.apple.com/​downloads/​index.action でcommand lineを検索して https://​developer.apple.com/​downloads/​index.action でcommand lineを検索して
 cltools_lion_latemarch12.dmg をダウンロードしてインストールする.とりあえずgcc入っているかチェック cltools_lion_latemarch12.dmg をダウンロードしてインストールする.とりあえずgcc入っているかチェック
 +
   $ gcc -v   $ gcc -v
   略   略
   gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)   gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
 +
 入ってる. 入ってる.
  
ライン 218: ライン 278:
  
 次, 次,
 +
   Warning: Unbrewed dylibs were found in /​usr/​local/​lib.   Warning: Unbrewed dylibs were found in /​usr/​local/​lib.
   If you didn't put them there on purpose they could cause problems when   If you didn't put them there on purpose they could cause problems when
ライン 236: ライン 297:
   Unexpected static libraries:   Unexpected static libraries:
     /​usr/​local/​lib/​libmecab.a     /​usr/​local/​lib/​libmecab.a
 +
 mecab関連のファイルが邪魔らしい.面倒なのでmecabをアンインストールする. mecab関連のファイルが邪魔らしい.面倒なのでmecabをアンインストールする.
 +
   $ cd mecab-0.98   $ cd mecab-0.98
   $ make uninstall   $ make uninstall
 +
 もう一度 もう一度
 +
   $ brew doctor   $ brew doctor
   ​   ​
ライン 254: ライン 319:
   ​   ​
   DO NOT SET / OR EVERYTHING BREAKS!   DO NOT SET / OR EVERYTHING BREAKS!
 +
 確かに,I have *only* installed the Command Line Tools for Xcode.なので,いろいろ調べるのも面倒なので,App StoreからXcodeをインストールする. 確かに,I have *only* installed the Command Line Tools for Xcode.なので,いろいろ調べるのも面倒なので,App StoreからXcodeをインストールする.
 +
   $ xcode-select -print-path   $ xcode-select -print-path
   /Developer   /Developer
 +
 正しいpathに変更 正しいpathに変更
 +
   $ sudo xcode-select -switch /​Applications/​Xcode.app/​Contents/​Developer   $ sudo xcode-select -switch /​Applications/​Xcode.app/​Contents/​Developer
   Password:   Password:
   $ xcode-select -print-path   $ xcode-select -print-path
   /​Applications/​Xcode.app/​Contents/​Developer   /​Applications/​Xcode.app/​Contents/​Developer
 +
 さて,もう一度 さて,もう一度
 +
   $ brew doctor   $ brew doctor
   Warning: Your Homebrew is outdated   Warning: Your Homebrew is outdated
   You haven'​t updated for at least 24 hours, this is a long time in brewland!   You haven'​t updated for at least 24 hours, this is a long time in brewland!
   hasegawa99:​Developer hasegawa$   hasegawa99:​Developer hasegawa$
 +
 一応homebrewのインストールスクリプトを再実行したが,やはりbrew doctorで同じ警告が出る.のでアップデート 一応homebrewのインストールスクリプトを再実行したが,やはりbrew doctorで同じ警告が出る.のでアップデート
 +
   $ brew update   $ brew update
   Initialized empty Git repository in /​usr/​local/​.git/​   Initialized empty Git repository in /​usr/​local/​.git/​
ライン 281: ライン 354:
   HEAD is now at 457c025 cassandra 1.1.0   HEAD is now at 457c025 cassandra 1.1.0
   Already up-to-date.   Already up-to-date.
 +
 もう一度確認. もう一度確認.
 +
   $ brew doctor   $ brew doctor
   Your system is raring to brew.   Your system is raring to brew.
 +
 OK. OK.
  
memo/osx.1353394211.txt.gz · 最終更新: 2016/07/17 04:19 (外部編集)
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0

- Rental Orbit Space -