GO言語がインストール済みの状態で環境設定を行う。 下記の設定を$HOME/.bashrcに記述する。 export GOROOT=$HOME/go-lang export GOOS=linux export GOARCH=386 export GOBIN=$HOME/go-lang/bin export PATH=$PATH:$GOBIN GO言語のreadme.txtを参照しながら…
PUBLICキーを作成する $ ssh-keygen -t rsa -C "yourmail@gmail.com" Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa): ~/.ssh/id_rsa_github Enter passphrase (empty for no passphrase): Enter s…
さらくのVPS2Gプランを申請できなかったため、1Gプランを契約した。 お名前のほうは2Gプランです。お名前.comの場合: # dd if=/dev/zero of=/dev/vdb bs=64k count=100k 102400+0 records in 102400+0 records out 6710886400 bytes (6.7 GB) copied, 26.73…
100均より♪
下記、公式サイトよりドライブをダウンロードできます。 「64bit」 http://beagleboard.org/static/beaglebone/a3/Drivers/Windows/BONE_D64.exe 「32bit」 http://beagleboard.org/static/beaglebone/a3/Drivers/Windows/BONE_DRV.exe 私はWindows7 64bitな…
Beagleboneデフォルトeth0に対してDHCPを有効にしています。 実際では固定の静的IPを使いますので、設定方法を試しました。まず、「/etc/network/interfaces」を開き、 iface eth0 inet dhcpを「#」でコメントアウトし、 下記の設定を実際のIPに直して追加す…
$ sudo mkdir beaglebone_backup $ sudo cd beaglebone_backupSDカードのデバイス名を知る $ sudo fdisk -l ディスク /dev/sdb: 3904 MB, 3904897024 バイト ヘッド 255, セクタ 63, シリンダ 474, 合計 7626752 セクタ Units = セクタ数 of 1 * 512 = 512 …
BeagleBoneでLED4つ実装している。それぞれの名称はusr0、usr1、usr2、usr3だ。 LEDはトリガー(trigger)によって制御されている。下記のフォルダにそれぞれLEDの制御フォルダがある /sys/class/leds/ しかし、本体は/sys/devices/platform/leds-gpio/leds …
http://www.beagleboard.org/angstrom-mirror/www.angstrom-distribution.org/demo/beaglebone/ から最新のAngstrom-Cloud9-・・・.img.gzをダウンロードする。SDカードに書きこむ $ zcat ・・・.img.gz | sudo dd of=/dev/sdc bs=8M再度、BeagleBoneに挿し…
現在BeagleBoneのRevA4において、抵抗R219をPCBに追加したせいで、eth0のDHCPが機能しない不具合が発生しています。 解決方法はいたって簡単、背面USB OTG近くのR219を強引に取ってしまうことだ!参考動画: http://www.youtube.com/watch?v=Ak30G-shiYY
Sony CXD5315GG – Quad-core processor with two Samsung K4P2G324EC 256 MB Mobile DDR2-S4 SDRAM Memory die (512MB total memory) Toshiba THGBM3G5D1FBAIE - Multichip Memory Package – Memory and Memory Controller Marvell 88W878S-BKB2 - Avastar W…
Linuxのプログラムをデバッグするとき、一番困ることはあの有名の「Segmentation Fault」ですね。 プログラムが膨大でマルチプロセス等を使っていたら、どこで問題を起こしているのかすらわからないです。 本編はLinuxのCore Dump機能で問題発生行を特定する…
1、put_lineの空白問題 set serveroutput on exec dbms_output.put_line(' abc'); 頭の空白を表示したいなら「format wrapped」オプションを使えばOK set serveroutput on format wrapped exec dbms_output.put_line(' abc'); 2、空行エラー このSQL文をコ…
[oracle@CentOS53 ~]$ /u01/oracle/app/product/11.2.0/dbhome_1/deinstall/deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /tmp/deinstall2010-05-24_11-13-21-午前/logs/ ############ ORACLE DEINSTALL …
1、インストールしたいソースをダウンロードする wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz 2、変換ソフトcheckinstallをインストールする yum --enablerepo=rpmforge install checkinstall * rpmforgeが見つからないエラー発生し…
SQLトレースの有効化 いくつの方法でトレースを有効にできます。 ・インスタンスレベルのトレース ・トリガーを利用したトレース ・セッションレベルのトレース ・ログイン中のセッショントレース ・その他のセッションのトレース (1)インスタンスレベル…
1. パワーフル(RESTORE DATABASE, BACKUP DATABASE) (1)コマンドひとつで複雑な操作が可能 (2)書いたスクリプトはCATALOGに保存可能、一回書いたら何回でも利用可能 2. 信頼性(VALIDATE) VALIDATE コマンドで整合性を検証し、災害前に修復可能 3. 軽量…
Code Description 10000 Controlfile debug event, name ‘control_file’. 10001 Controlfile crash event1. 10002 Controlfile crash event2. 10003 Controlfile crash event3. 10004 Controlfile crash event4. 10005 Trace latch operations for debugging…
1,Create a RMAN script named rman.bkp to do the task. [oracle@CentOS53 Oracle_Scripts]$ more rman.bkp CONFIGURE CONTROLFILE AUTOBACKUP ON; configure channel device type disk format='/u01/oracle/app/admin/o11g2/backups/full_db_%U'; configur…
1.Don't believe in myths - reason for yourself! ・"伝説"を信じないこと、自分で考えよう。 2.Don't follow "conventional wisdom" - often the things everybody knows are simply wrong! ・知られたことを信じないこと、みんなが知っていることは通常間…
2. Statspack Configuration --------------------------- 2. Statspack設定2.1. Database Space Requirements 2.1. データベース必要な領域 The amount of database space required by the package will vary considerably based on the frequency of snaps…
Statspackとは? 公式定義: A set of SQL, PL/SQL, and SQL*Plus scripts that allow the collection, automation, storage, and viewing of performance data. This feature has been replaced by the Automatic Workload Repository. パフォーマンスデー…
(1)カレントトレースファイル(TraceFile)ファイル名を取得する SELECT d.VALUE || '/' || LOWER (RTRIM (i.INSTANCE, CHR (0))) || '_ora_' || p.spid || '.trc' trace_file_name FROM (SELECT p.spid FROM v$mystat m, v$session s, v$process p WHERE…
ASM関連のテストコードに下記の文字列が・・・ [oracle@CentOS53 bin]$ strings oracle|grep radiohead I'm a creep, I'm a winner, what the hell am I doing here.I don't belong here - radiohead なんとradioheadの歌詞じゃないか! 少なくともバージョ…
RedHatがオープンソースHP: http://opensource.com/ を立ち上がりました。 The open source way is about possibility. Open source presents a new way to solve old problems. To share ideas and effort. The open source way opens doors. Open source …
rootユーザで rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm yum -y install bison gcc libc6-dev ed python-devel mercurial useradd gouser su - gouser hg clone -r release https://go.googlecode.com/hg/ $…
10月末位発表されたGOOGLEの新しい言語GOですが、 検索するとたくさんの紹介記事があります。 もともとPlan9のコンパイラを改良した言語ですが、 下記の特徴が注目すべきでしょう。 ・静的言語の高効率性と動的言語の高生産性を融合し、開発者が静的派か動的…
How to evaluate the I/O performance of HDD. HDDを購入する際、一つ重要な要素として性能(速度)が挙げられます。 でも、速さを重視するならお金はかかりますから、どれぐらいの性能が必要かをまず検討したほうが良いでしょう。 HDDの性能はいくつかの読…
Install git on CentOS 5.3CentOSのリポジトリにgitが入っていなかったみたいで、 EPEL (Extra Packages for Enterprise Linux)を導入した。 [root@CentOS53 ~]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm h…
不定期追記。 DAS、NAS、SAN