Information

生成AIの普及により、生成AIの回答を含んだ記事も含まれているため、必ずしも正しいとは限りません。
重要な情報は確認するようにしてください。

ESXiのダウングレード

ESXiのダウングレード

あまり、やりたくない作業ではあるが、ESXiのダウングレード方法

ESXiの起動時に、SHIFT+Rキーを押すとリカバリーモードになるので、旧バージョンを選択するだけです。373269951668

[Read More]

ESXi 5.0から5.1へアップグレード

ESXi 5.0から5.1へアップグレード

Esxcliを使って行おうと思ったが、上手くいかなかったので、ISOファイルをCDに焼いて、CD-ROMブートにてアップグレード。
ESXiはUSBメモリからブートしてます。

[Read More]

Macでパス付きZIP圧縮

時々、書類を圧縮する際にパスワードかけなきゃいけない時があるのでメモ

GUIでは、右クリックで圧縮は出来るがパスワードをかけられないので、CUIで行った方が楽。

[Read More]
OSX 

RedHat系でdjangoをインストール

RedHat系OS(CentOS,sl6)等で、djangoのインストールメモ

今回、sl6上で作業しました。

epelリポジトリが入ってなければ導入しておく

# yum install epel-release

Pythonが入ってなければ、インストール

# yum install python

Djangoのインストール

# yum install Django

確認

# python

Python 2.6.6 (r266:84292, Jun 18 2012, 09:57:52)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> print django.get_version()
1.3.1
>>>

プロジェクト作成

$ django-admin startproject test
$ cd test

テストサーバ起動

$ python manage.py runserver
python manage.py runserver
Validating models...

0 errors found
Django version 1.3.1, using settings 'test_project.settings'
Development server is running at https://127.0.0.1:8000/
Quit the server with CONTROL-C.

自マシンから、ブラウザにて、https://127.0.0.1:8000/にアクセスし、It worked! …が表示されたら完了。

[Read More]

HomebrewでFailure while executing:エラー

自宅のiMacで久々にHomebrewをUpdateしたら、下記のエラー。

$ brew update
error: The following untracked working tree files would be overwritten by merge:
Library/Aliases/twolame
Library/Contributions/cmds/brew-test-bot/brew-test-bot.commit.html.erb
Library/Contributions/cmds/brew-test-bot/brew-test-bot.css
Library/Contributions/cmds/brew-test-bot/brew-test-bot.index.html.erb
Library/Formula/aiccu.rb
Library/Formula/aws-cloudsearch.rb
Library/Formula/aws-sns-cli.rb
Library/Formula/byacc.rb
Library/Formula/cadubi.rb
Library/Formula/cdpr.rb
Library/Formula/cogl.rb
Library/Formula/cutter.rb
Library/Formula/debianutils.rb
Library/Formula/dynamips.rb
Library/Formula/fakeroot.rb
Library/Formula/flickcurl.rb
Library/Formula/freeswitch.rb
Library/Formula/genstats.rb
Library/Formula/gpsd.rb
Library/Formula/gtk+3.rb
Library/Formula/gzrt.rb
Library/Formula/https_load.rb
Library/Formula/hwloc.rb
Library/Formula/hyperestraier.rb
Library/Formula/ideviceinstaller.rb
Library/Formula/jasmin.rb
Library/Formula/jpeg-turbo.rb
Library/Formula/libspiro.rb
Library/Formula/libstfl.rb
Library/Formula/logentries.rb
Library/Formula/mame.rb
Library/Formula/md.rb
Library/Formula/mess.rb
Library/Formula/mysql-cluster.rb
Library/Formula/mysql-connector-odbc.rb
Library/Formula/ophcrack.rb
Library/Formula/opus-tools.rb
Library/Formula/opus.rb
Library/Formula/pam_yubico.rb
Library/Formula/pathfinder.rb
Library/Formula/qstat.rb
Library/Formula/qxmpp.rb
Library/Formula/rbenv-vars.rb
Library/Formula/ren.rb
Library/Formula/rom-tools.rb
Library/Formula/rtpbreak.rb
Library/Formula/txt2man.rb
Library/Formula/valkyrie.rb
Library/Formula/verilator.rb
Library/Formula/visualnetkit.rb
Library/Formula/voldemort.rb
Library/Formula/wemux.rb
Library/Formula/yydecode.rb
Library/Formula/zsh-completions.rb
Library/Homebrew/checksums.rb
Library/Homebrew/macos.rb
Library/Homebrew/macos/xcode.rb
Library/Homebrew/macos/xquartz.rb
Library/Homebrew/pkgconfig/libcurl.pc
Library/Homebrew/pkgconfig/libexslt.pc
Library/Homebrew/pkgconfig/libxml-2.0.pc
Library/Homebrew/pkgconfig/libxslt.pc
Library/Homebrew/test/test_bottles.rb
Please move or remove them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master

[Read More]