Monday, March 29, 2010

Install WINE in Ubuntu 9-10 Desktop for run Windows Application

I install WINE in my Ubuntu 9.10 desktop PC.
This was my memo and works fine for me. If you use this memo for your PC, then remember that I not responsible for if you loss your any kind of data. 

Install WINE in ubuntu for run Windows Application:
$ sudo apt-get install wine
-------------------------------------------
Remove WINE:
$ sudo apt-get remove --purge wine
$ rm -rf ~/.wine
-------------------------------------------
Configuration of the WINE:
winecfg
-------------------------------------------
Installing Windows Applications Using Wine

   To install Windows applications using Wine, follow these instructions:
   1. Download the Windows application from any source (e.g. download.com). Download the .EXE (executable).
   2. Place it in a convenient directory (e.g. the desktop, or home folder).
   3. Open the terminal, and cd into the directory where the .EXE is located.
   4. Type wine the-name-of-the-application.extension (e.g. wine realplayer.exe).

This will start the .EXE using Wine. If it is an installer, it should then run as it would in Windows. If the application asks for a directory to install the application to, select put it under C:\Program Files.

   Download Windows Application:(In my case I install following application.)
   [ Firefox Setup 3.6.2.exe ]
   [ IE7-WindowsXP-x86-jpn.exe ]
   [ VeohWebPlayerSetup_eng.exe ]
   [ install_flash_player.exe ]
-------------------------------------------
Uninstalling Wine Applications

Open up a terminal window and type "uninstaller" - this will open up a program similar to Windows' "add/remove programs" control panel, allowing you to uninstall applications from a Wine installation. Running uninstall programs directly via Wine should also work normally. Alternatively, you could also simply delete the folder of the application. However, as when done in Windows, this method will be "unclean" and will not remove the program's configuration from the Wine registry like using an uninstaller will. If the command "uninstaller" results in an error message try the "wine uninstaller" command.
-------------------------------------------
Adding CD and DVD drives to WINE:
Go to the drives tab in winecfg. Hit the Autodetect button.
If you find that this does not work correctly for you, then follow these instructions:

   1. Run winecfg
   2. Navigate to the drives tab
   3. Click on Add...
   4. In the path bar, type /media/cdrom
   5. Click Show Advanced button below the Browse... button and set the Type to CD-ROM
   6. Click OK
-------------------------------------------
How to make sure the program runs properly:
$ wine "C:\PATHTOPROGRAM\Program.exe"  in the command line.
eg:
$ wine "C:\Program Files\World of Warcraft\WoW.exe")
-------------------------------------------
Changing application specific settings

   1. Type winecfg at the command line
   2. Click on Add Application...
   3. Navigate to where the exe is and choose that program
   4. The dropdown at the bottom allows you to choose which version of Windows Wine should emulate. Also, any changes to the Libraries and Graphics tabs will only affect the chosen application in the Applications tab.
-------------------------------------------
Using Windows Themes/Skins In Wine:
  Color Scheme
  You can change the wine color scheme to closely match the default Ubuntu colors
  $ gedit ~/.wine/user.reg

  You may also want to create a backup copy in your Home folder
  cp ~/.wine/user.reg ~/

  Replace the [Control Panel\\Colors] section with
      [Control Panel\\Colors] 1176981676
    "ActiveBorder"="239 235 231"
    "ActiveTitle"="203 133 61"
    "AppWorkSpace"="198 198 191"
    "Background"="93 77 52"
    "ButtonAlternativeFace"="200 0 0"
    "ButtonDkShadow"="85 85 82"
    "ButtonFace"="239 235 231"
    "ButtonHilight"="255 255 255"
    "ButtonLight"="255 255 255"
    "ButtonShadow"="198 198 191"
    "ButtonText"="0 0 0"
    "GradientActiveTitle"="239 235 231"
    "GradientInactiveTitle"="239 235 231"
    "GrayText"="198 198 191"
    "Hilight"="246 200 129"
    "HilightText"="0 0 0"
    "InactiveBorder"="239 235 231"
    "InactiveTitle"="239 235 231"
    "InactiveTitleText"="255 255 255"
    "InfoText"="0 0 0"
    "InfoWindow"="255 255 166"
    "Menu"="239 235 231"
    "MenuBar"="239 235 231"
    "MenuHilight"="246 200 129"
    "MenuText"="0 0 0"
    "Scrollbar"="239 235 231"
    "TitleText"="255 255 255"
    "Window"="255 255 255"
    "WindowFrame"="0 0 0"
    "WindowText"="0 0 0"
-------------------------------------------
Fullscreen issues with overlapping Panel:

Sometimes the Panel overlaps your fullscreen application you're running in wine. If you are running Visual Effects, the first solution you should try is to turn those off: Go to System -> Preferences -> Appearance, and click the Visual Effects tab. Select None, and your screen will flash. Try your full-screen application again. You may re-enable Visual Effects afterwards - just don't forget to turn them back off when you want to run that application again!

If that does not work, then you will have to turn off the panels prior to running the application and restarting it afterwards, until a better workaround can be found. In Ubuntu the commands are gnome-session-remove gnome-panel and gnome-panel & respectively. In Xubuntu I understand they are killall xfce4-panel and xfce4-panel.

Sunday, March 21, 2010

Ubuntu 9.10 (Desktop) Command Prectice

Ubuntu 9.10 (Desktop) Command Prectice
Installing VMware Player on Ubuntu 9.10:
$ sudo aptitude install build-essential linux-kernel-headers linux-kernel-devel
$ gksudo bash ./<VMware-Player-2.5.1-126130.i386.bundle>
Installing VMware Player on Ubuntu 9.10
1. Install required packages build-essential and linux-headers
      $ sudo aptitude install build-essential linux-headers-`uname -r`

2. Download the latest(http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0) VMware player e.g. VMware-Player-2.5.2-156735.i386.bundle (download the bundle version, not the rpm one) and run it as root using gksudo. You'll get a graphical installer that installs VMware player for you.
      $ gksudo bash ./VMware-Player-3.0.1-227600.i386.bundle

If nothing appears, you may need to make the file executable. You can do so with this command: $ chmod +x ./VMware-Player-3.0.1-227600.i386.bundle

After completion, VMware player is installed and should show up in the menu under Applications → System Tools → VMware Player.

Installing VMware WorkStation on Ubuntu 9.10:
$ sudo aptitude install build-essential linux-kernel-headers linux-kernel-devel
$ gksudo bash ./VMware-Workstation-Full-7.0.0-203739.i386.bundle

Uninstalling VMware WorkStation on Ubuntu 9.10:
$ gksudo bash ./VMware-Player-2.5.1-126130.i386.bundle

Flash player install:
$ sudo apt-get install flashplugin-nonfree

Java Install:

$ sudo aptitude install sun-java6-jdk
$ aptitude search sun-java

Eclipse Install:

$ apt-get install eclipse

Shutdown Ubuntu Server:

$ sudo shutdown -h now
$ sudo shutdown -h 0
$ sudo shutdown -h 18:45 "Server is going down for maintenance"
$ sudo halt
$ sudo poweroff
$ sudo reboot
$ sudo shutdown -r 0

Change IP address:

$ sudo vi /etc/network/interfaces

auto eth0
iface eth0 inet dhcp

auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

$ sudo vi /etc/resolv.conf
$ sudo apt-get remove dhcp-client
$ sudo /etc/init.d/networking restart

Change the sudo password:

$ sudo passwd
enter new password:
repeat new password again:

Change Hostname:

$ sudo hostname <NEW HOSTNAME>
$ hostname

Install Open SSH:

$ sudo apt-get update
$ sudo apt-get install openssh-server
$ sudo vi /etc/ssh/sshd_config


   LogLevel INFO        # 詳細に取りたい場合はDEBUG
   UsePrivilegeSeparation yes
   Protocol 2
   PermitRootLogin no      # またはwithout-password
   StrictModes yes
   VerifyReverseMapping yes   # ホスト名が逆引きできるか確認します()
   AllowTcpForwarding no    # forwardがいらない場合
   X11Forwarding no       # forwardがいらない場合
   IgnoreRhosts yes
   HostbasedAuthentication no
   RhostsAuthentication no
   RhostsRSAAuthentication no
   AllowGroups admin      # ログインはadminグループ(sudoの可能な人)のみ

$ sudo /etc/init.d/ssh reload

Create Private Key:(If you need private key)$ ssh-keygen
$ chmod 700 ~/.ssh
$ cd ~/.ssh/
$ cat id_rsa.pub >> ~/.ssh/authorized_keys
$ chmod 600 ~/.ssh/authorized_keys
$ rm id_rsa.pub

$ sudo vi /etc/ssh/sshd_config
   ChallengeResponseAuthentication no
   PasswordAuthentication no
   UsePAM no
$ sudo invoke-rc.d ssh reload 

Remove Directory:

$ rm -r directory

Delete User:

$ sudo userdel -r <username>

Show IP Address:

$ /sbin/ifconfig
$ ifconfig

VI Editor:

:w! → Save
dd → Delete one line
xx →Delete Letter
i → Insert Mode
/ → Find

How to install [.deb] package:
$ sudo dpkg -i <install package or .deb file>
$ sudo dpkg -r <remove package name>

Sunday, November 15, 2009

Spainish (Learn Spainish with Fun)

- Spainish→English→日本語
- Feliz Cumpleaños→Happy Birthday(誕生日おめでとうございます)
- Gordo Chaparro→Fat and Short height.(太いと背の小さい)
- Mamacita→Sexy(セクシー)
- Lo hare→T Will do it.(あすやります)
- Tengo Sueño→Sleepy(眠たい)
- Amego→Friend(友達)
- Vato→Man(男)
- Vamonos→Let's go(行きましょう)
- Nos Vemos→See you(またね!)
- Buenos Dias→Good Morning(おはよう!)
Como te va → How are you ?(元気ですか?)
- Andale → Hurry Up!(早く!早く!)
- Tonto → Mad, Crazy(馬鹿、いけている)

Thursday, October 15, 2009

English Prectice for ME 1-II

This page is using for memo.
Please do not copy this page.
Lesson ? : Company internal Conversation (Request)
- Do me a favor?(Polite→Could I ask you a favor?)
ちょっと頼んでもいい?
- OK. What do you want.
いいよ。何をしてほしいの?
- May I ask a favor of you?
是非あなたにお願いがあるのだけど
- Well...I have to know what it is first.
そうですね。話を伺ってみないと。
- I wonder if I could ask you to do this.
なんとかお願いできないでしょうか?
- That's pretty impossible.
たぶん無理でしょう。
- Can you help me?(I need your help.)
手伝ってもらえない?
- My Pleasure.
喜んで手伝いします。
- I'm sorry. I'm busy right now.
すみません。今ちょっと手が離しません。
- Could you make a copy of this?
これをコピーしてくれる?
- Make 10 copies of this and staple the papers together.
ホチキスで留めたものを10部用意しておいて。
- Have it finished by tomorrow morning, please?
明日の朝までにお願い。
- Will you fax the document to this number?
この書類をこの番号にファックスしてもらえる?
- Could you box up the equipment?
備品の整理をお願いできる?
- Take the guest to the reception room.
お客様を応接室にお通しして。
- Will you serve coffee to a customer?
お客様にコーヒーをお願い。
- Do not send calls to me during the meeting.
打ち合わせ中は電話を取り次がないように。
- Will you bring this to the Conference room?
これを会議室まで運んでもらえるかなぁ?
- Are you alright? It is a bit heavy.
少し重いけど、大丈夫?
- I want you to send this document to the customer.
この書類を顧客に届けてもらいたい。
- It's very urgent.
大至急頼む。

Confirmation of work(業務の確認)

- Gather arround, everyone.
ちょっとみんな集まってくれ。
- I'd like to get your schedule.
みんなのスケジュールを確認しておきたい。
- What's your plan for today?(I'm fully booked today.)
君の今日の予定は?(今日は予定がぎっしりです。)
- I have schedule a site meeting at three.
私は3時に現場で打ち合わせがあります。
- We are expecting Mr. Smith of XYZ at ten.
10時にXYZ社のスミス氏がお見えになります。
- We will have lunch with Mr. Smith at Tokyo Hotel.
お昼にはスミス氏と東京ホテルでも会食があります。
- Will you sit in on the meeting, Mr. Yamada?
部長も同席していただけませんか?
Imp:英語では、面と向かって役職名で呼ぶことはなく、youを使う。相手が部長や社長などの場合は、文頭が文末に[Mr. / Ms+姓]を付けると丁寧な呼びかけに。
- What time do we start the planning session?
企画会議は何時からだったかな?
- Has a meeting room been booked?
会議室は予約してある。
- Have a drawn up a proposal?
企画書は用意できた?
- When will the sample product be finished?
商品サンプルはいつ仕上がるかな?
- I will confirm with the Product Development Department.
商品開発部に確認してみます。
- Can I use the office car in the afternoon?
午後、社用車を使ってもいいですか?
- I'll be back by five.
5時までには戻りますので。
- Call me on my cell phone if there's somthing wrong.
何かあれば携帯に電話ください。
- We need cooperation between teams.
チーム間の連携が必要だ。
- Act as a unit to overcome difficulties.
みんなで一丸となって、苦境を乗り切ろう。
- Please do your best today.
今日も一日がんばってくれ。

Request from GA (総務からのお願い)

- Save electricity to reduce costs. Thank you for your cooperation.
経費削減のため、節電に協力をお願いします。
- Power off your PC when you do not use it.
使っていないパソコンの電源は切るように。
- We promote paperlessness with our company news.
社内報はペーパーレス化を図ります。
- Change shift at lunch break.
昼休みは各自交代で取ってください。
- Take the initiative in picking up a ringing phone.
電話は率先して受けてください。
- Is there any recreational planning?
何かレクリエーションのプランはありませんか?
- How about an interdepartmental bowling tournament?
部対抗のボーリング大会はどうですか?
- Play bingo to win valuable prize.
豪華な景品が当たるビンゴ大会にしましょう。
- It promotes friendship among workers.
社員間の親交を深めるためです。
- We urge as many of you as possible to join.
できるだけ参加するようにしてください。
- Is there any place you would like to go for the company trip?
社員旅行で行きたい場所はありますか?
- Who will manage the company retreat?
社員旅行の幹事を決めましょう。
- Are there any volunteers?
立候補する一はいませんか?
- You can recommend yourself as well.
自薦他薦は問いません。
- Why don't we take a vote?
それでは多数決で決めたいと思います。
- Who agree with the flexible work time system?
フレックスタイム制の導入に達成の人は?
- All in favor of this proposal please raise your hands.
この提案に賛成の人は挙手をお願いします。
- We welcome the ideas for the new logomark of our company.
わが社の新しいロゴマークを広く募集します。
- The winner will receive a bonus from the president.
採用者は社長から金一封が贈られます。
- We recruit volunteers who write our staff blog.
スタッフブログを書いてくれるボランティアを募ります。

Glossary:
a strip of staples (ホチキスの針)
Gather around (集まって)
Site meeting (現場打ち合わせ)
sit it on (同席する)
planning session (企画会議)
project proposal (企画書)
Product Development Department (商品開発部)
cooperation (連携)
act as a unit (一丸となって行動する)
overcome (克服する)
reduce (削減する)
promote (促進する)
intiative (自発性)
raise one's hand (挙手する)

Tuesday, September 15, 2009

English Prectice for ME 1-I

This page is using for memo.
Please do not copy this page.
Lesson 1 : Greetings (Communications)
- Good Morning (Everyone)
おはようございます。
- Good Evening (Everyone)
こんばんは
- Fine day, isn't it?
気持のいい天気ですね。
- Another hot day!
今日も暑いですね。
- I'll be away from the office, so I hope it doesn't rain this afternoon.
 午後は外出するから、雨降らないといいけど。
- How did you spend this weekend?
 週末どう過ごされました。
- I was play cricket with friends as usual.
 いつもの通りクリケットですね。
- I was tired out from taking care of my family.
 ガ族サービスでへとへとだよ。
- Wait, I'll take it
 待って、乗ります。
- Excuse me! I am getting off here!
 すみません!おります!
- I overslept and missed the train.
 寝坊していつもの電車に遅れちゃった。
- I was almost late for the morning meeting.
 朝礼に間に合わないと思ったよ。
- It's been a long time.
 久しぶりですね。
-Are you still busy?
 相変わらず忙しいですか?
- You look tired.
 疲れの様子ですね。
- Shall I make some coffee?
 コーヒーをいれましょうか?
- I'll leave the rest to you.
 後はよろしく。
- How about going for a smoke for a change?
 ちょっと息抜きに、煙草付き合わない?
- Can I have a light, please?
 火を貸してもらえますか?
- May I bum a cigarette, please?
 タバコ一本もらってもいいですか?
- It's occupied.
 入ってます。
- Could someone make some coffee?
 だれかこー日を作ってもらえない?
- That's my mug. Don't take the wrong one.
 それは私のマグです。間違えないで。
- Wash your own cup.
 自分のカップは自分で洗いなさい。
- Serve the client some tea promptly.
 お客様は優先してお茶を出すように。
- What do you think of the new person?
 今度の新人どう思う?
- She/He shows a lot of spunk.
 彼女/彼は元気があっていいね。
- He will get used to it.
 彼はまだ仕事に慣れないみたいだね。
- The new manager is strict.
 新しい部長は厳しい人だね。
- Our section chief is a slave driver.
 課長は人使いが荒いよなぁ。
- She takes care of us, though.
 でも面倒見のいい人だよ。
- We're surrounded by good managers.
 上司には恵まれていると思うよ。
- Between you and me. (Keep between us./Just between us.)
 ここだけの話ね。
- What do you feel like having for lunch.
 今日の昼は何食べたい?
- How about lunch with me?
 お昼一緒にどう?
- Let's beat the rush and go to the cafeteria.
 混まないうちに社員食堂に行こうよ。
- Save a seat, would you?
 席をとっておいてくれる?
- Why don't we eat out?
 外食しない?
- Why don't we try that new restaurant?
 あの新しいレストランに行ってみない?
- Let's go to an inexpensive place today?
 今日は安い店に行こう?
- I brought a bag lunch. Maybe next time.
 今日は弁当持参だから、また今度ね。
- There is work left to do and I'm going to skip my lunch.
 仕事残っているから、昼抜きにするよ。
- Can you go get a cable tie?
 タイラップかって来てくれない?
- No more talk about work during break.
 休み時間に仕事の話止めようよ。
- I'll take a little nap now.
 ちょっと昼寝使用かな。
- Stay awake during the afternoon meeting.
 午後の会議に居眠りしないように。
- I want a cup of strong coffee.
 濃いめのコーヒーが必要かも。
- I have a date for a power lunch with Mr. ??????.
 ??????氏とパワーランチの約束があります。
- Business lunches are rather a downer.
 ビジネスランチはちょっと気が重いけど。。。。
- Will you let me get right down to business?
 早速仕事の話してもいいですか?
- Let's keep talking while we eat.
 食べながら話をすすめましょう。
- It's on the company.
 支払いは経費で落としますから。
- Lunch break is almost over.
 もう昼休みが終わっちゃう。
- I've got to get back.
 急いで戻らなきゃ。
- I'm stopping by the convenience store so you can go on ahead?
 コンビニによって行くから先に行ってて。
Glossary :
away from....(?から離れて)
as usual (いつもの通り)
overslept (寝坊する)
for a change (息抜きに)
bum (せがむ)
occupied (人がいる)
spunk (元気)
get used to (?に慣れる)
inexpensive (安い)
during? (?中)
nap (昼寝)
airing (運動のための散歩)
on-site support (社内サポート)

Friday, June 13, 2008

EC-CUBEをXREAに無事インストール完了!!

EC-CUBEをXREAに無事インストール完了!!

● 手順1:サーバにアップロード
EC-CUBEを解凍し、サーバー(public_htm/ecube/)にdataとhtmlディレクトリを丸ごとアップロードする。 私はBullet Proof FTP Clientを使っていますのでそれでアップロードしました。 FFFTPを使うとたまにアップロード中にエラーが出たりします。FFFTPになれている方はFFFTPで事故責任でアップロードを行って下さい。私は普通は大量のデータをアップロードするときにBullet Proof FTP Clientを使っています。Bullet Proof FTP Clientを使うことでアップロードしたいフォルダをドラッグし、実行することでずっと見なくても無事アップロードを完了できると思います。
 手順2:PHPセーフモードをオフにする方法XREAではPHP.INIセーフモードをOFFに設定できないため、下記の方法を使ってインストールしました。 .htaccessファイルを作成し、下記のないようを記入する。 --------------------------- AddHandler cgi-script .php --------------------------- 上記の.htaccessファイルを保存し、eccube/html/installディレクトリにアップロードする。 アップロード後にパーミッションを700または707に変更し、eccube/html/installディレクトリにあるindex.phpの先頭に「#!/usr/local/bin/php」をつけます。
 手順3:アクセス権限(パーミッション)の変更
そのたディレクトリの権限(パーミッション)を下記の通りに設定します。 --------------------------- <インストールディレクトリ> html/install/temp ......(777)
<インストール設定情報が書き込まれます> data/install.php .......(666)
<フロント画面のテンプレート等が保存されます> html/user_data .........(777)
<管理画面からアップロードした画像等が保存されます> html/cp ................(777) html/upload ............(777)
Smartyテンプレートのコンパイル後のファイルが保存されます> data/cache .............(777) data/class .............(777) data/Smarty ............(777)
<アップデート機能でダウンロードダウンロードしたファイルが保存されます>data/downloads/update ..(777)
<各種ログが表示されます> data/downloads .........(777) data/logs ..............(777) --------------------------- 上記の権限パーミッションが終わりましたら、いよいよインストールディレクトリにアクセスします。

 手順4:インストーラの起動
http://xxx.xxxxxx.xxx/eccube/html/ または、http://xxx.xxxxxx.xxx/eccube/html/innstall/ アクセスすることで「EC-CUBEインストールを開始します」という画面が表示されます。

 手順5:アクセス権限のチェック
次へ進むをクリックすると「アクセス権限のチェック」の画面が表示されます。
アクセス権限のチェック >> ○:アクセス権限は正常です。 必要なファイルのコピーを開始します。 注意:この画面で「>> ○:アクセス権限は正常です。」を表示されていることを確認します。 そうでない場合は該当のファイルのパーミッションを変更します。それで戻るボタンをクリックすると前の画面に戻りますのでそれからまた次へ進むクリックすると「アクセス権限は正常です。」と表示されます。

 手順6:画像ファイルのコピー
それで次に進みます。 画像ファイルのコピー成功メッセージが出ましたら、OKです。 もしコピーに失敗であれば、Xreaユーザーならご存知の「ファイル所有者の修正」を行います。 Xreaの管理画面を開き、左のメニュー→ツールをクリック。中央部に見える「ファイル所有者の修正」をクリックします。 3-5分後に戻るボタンをクリックし、もう一回次へ進むボタンをクリックします。

 手順7:店舗情報と管理者ID、パスワードの設定
次へ進むと、ECサイトの設定画面に移ります。 適切な情報を入れます。 --------------------------- 店名 xxxxxxx 管理者メールアドレス xxxxxxx 管理者ログインID xxxxxxx管理者パスワード xxxxxxx --------------------------- 下にWEBサーバーの設定が表示されていると思います。 この時点で「URL(通常)」の表示が"http://xxx.xxxxxx.xxx/eccube/html/"になっていればOKです。 入力が完了後次に進みます。

 手順8:データベースの設定
次にデータベースの設定です。 --------------------------- DBの種類※ PostgreSQL (デフォルト) DBサーバ※ 127.0.0.1(デフォルト) → localhost に変更 ポート :何も入力しない DB名※ DBの名前を入力 DBユーザ※ DBユーザを入力 DBパスワード※ DBパスワードを入力 --------------------------- 注意:事前にDBを作成する際に文字コードをUnicodeで作成するようにしてください。

 手順9:データベースの初期化処理
それで次に進みます。「データベースの初期化を行います」と聞かれますが初期化する場合はこのまま次に進みます。 以前に旧バージョンのEC-CUBEをインストールしているのであれば、「データベースの初期化処理を行わない」にチェックを入れて次に進みます。ちなみに私は初期化処理行いました。 初期化処理完了後下記の情報を開発チームまで送ってください。というメッセージが表示されますが、自分の意思で判断し、チェックを「はい」または「いいえ」にして下さい。

 手順10:インストール完了
次に進むと下記のメッセージ表示できたら、インストールは完了です。 
---------------------------
 EC CUBE インストールが完了しました。
管理画面にログインできます。 先ほど登録したID、パスワードを用いてログインしてください。 --------------------------- 
 手順11:インストール確認
次に管理画面にアクセスします。 無事アクセスできて、ログインできたらインストールは完了です。 場合によって下記のエラーメッセージが表示される場合もあります。これは、作成されるディレクトリの「ファイル所有者の修正」がapacheになっている からだと思います。ここでもう一回下記のディレクトリの権限を777変更することで防ぐことができます。 Warning: mkdir(/virtual/xxxxxxxxx/public_html/eccube-2/eccube/data/Smarty/templates_c/default) [function.mkdir]: 許可がありません in /virtual/xxxxxxxxx/public_html/eccube/data/class/SC_Initial.php on line 183 Warning: mkdir(/virtual/xxxxxxxxx/public_html/eccube-2/eccube/data/Smarty/templates_c/default/admin/) [function.mkdir]: 許可がありません in /virtual/xxxxxxxxx/public_html/eccube/data/class/SC_Initial.php on line 187 Warning: mkdir(/virtual/xxxxxxxxx/public_html/eccube-2/eccube/data/Smarty/templates_c/default/mobile/) [function.mkdir]: 許可がありません in /virtual/xxxxxxxxx/public_html/eccube/data/class/SC_Initial.php on line 191 Warning: mkdir(/virtual/xxxxxxxxx/public_html/eccube-2/eccube/data/Smarty/templates_c/default/user_data/) [function.mkdir]: 許可がありません in /virtual/xxxxxxxxx/public_html/eccube/data/class/SC_Initial.php on line 195
アクセス権限を変更できない場合は、「ファイル所有者の修正」を行ってからアクセス権限を行ってください。

管理画面(http://xxx.xxxxxx.xxx/eccube/html/admin/)からログインし下記の画面
ショップURL(http://xxx.xxxxxx.xxx/eccube/html/)にアクセスして下記の画面表示されればインストール完了です。
動作はまだ確認してないので、確認次第また情報を公開いたします。上記に方法ですべての作業を事故責任で行って下さい。こちらの情報を参考にして、何かあった場合は責任はもちません。

Friday, June 6, 2008

LPIC Certification Exam Questions Range(English) - 102

LPIC Exam Level-1(102):Detailed Objectives Kernel

  • Manage/Query kernel and kernel modules at runtime(Weight: 4)
    • Use command-line utilities to get information about the currently running kernel and kernel modules.
    • Manually load and unload kernel modules.
    • Determine when modules can be unloaded.
    • Determine what parameters a module accepts.
    • Configure the system to load modules by names other than their file name.
  • Reconfigure, build and install a custom kernel and kernel modules(Weight: 3)
    • Customize the current kernel configuration.
    • Build a new kernel and appropriate kernel modules.
    • Install a new kernel and any modules.
    • Ensure that the boot manager can locate the new kernel and associated files.
Boot, Initialization, Shutdown and Runlevels
  • Boot the system(Weight: 3)
    • Give commands to the boot loader and options to the kernel at boot time.
    • Check boot events in the log files.
  • Change runlevels and shutdown or reboot system(Weight: 3)
    • Set the default runlevel.
    • Change between run levels including single user mode.
    • Shutdown and reboot from the command line.
    • Alert users before switching runlevels or other major system event.
    • Properly terminate processes.
Printing
  • Manage printers and print queues(Weight: 1)
    • Configure and monitor a print server.
    • Manage user print queues.
    • Troubleshoot general printing problems.
  • Print files(Weight: 1)
    • Add and remove jobs from configured printer queues.
    • Convert text files to postscript for printing.
  • Install and configure local and remote printers(Weight: 1)
    • Install a printer daemon.
    • Install and configure a print filter.
    • Make local and remote printers accessible for a Linux system, including postscript, non-postscript and Samba printers.
Documentation
  • Use and manage local system documentation(Weight: 4)
    • Find relevant man pages.
    • Search man page sections.
    • Find commands and man pages related to them.
    • Configure access to man sources and the man system.
    • Prepare man pages for printouts.
    • Use the system documentation stored in /usr/share/doc/ and determine what documentation to keep in /usr/share/doc/.
  • Find Linux documentation on the Internet(Weight: 3)
    • This objective includes using Linux documentation at sources such as the Linux Documentation Project (LDP), vendor and third-party websites, newsgroups, newsgroup archives and mailing lists.
  • Notify users on system-related issues(Weight: 1)
    • Automate communication with users through logon messages.
Shells, Scripting, Programming and Compiling
  • Customize and use the shell environment(Weight: 5)
    • Set environment variables (e.g. PATH) at login or when spawning a new shell.
    • Write BASH functions for frequently used sequences of commands.
  • Customize or write simple scripts(Weight: 3)
    • Use standard sh syntax (loops, tests).
    • Use command substitution.
    • Test return values for success or failure or other information provided by a command.
    • Perform conditional mailing to the superuser.
    • Correctly select the script interpreter through the shebang (#!) line.
    • Manage the location, ownership, execution and suid-rights of scripts.
Administrative Tasks
  • Manage users and group accounts and related system files(Weight: 4 )
    • Add, modify and remove users and groups.
    • Manage user/group info in password/group databases.
    • Correctly manage shadow password/group databases using the appropriate tools.
    • Create and manage special purpose and limited accounts.
  • Tune the user environment and system environment variables(Weight: 3)
    • Set environment variables.
    • Maintain skeleton directories for new user accounts.
    • Set command search path with the proper directory.
  • Configure and use system log files to meet administrative and security needs(Weight: 3)
    • Manage the type and level of information logged.
    • Manually scan log files for notable activity.
    • Monitor log files.
    • Automatically rotate and archive log files.
    • Track down problems noted in log files.
  • Automate system administration tasks by scheduling jobs to run in the future(Weight: 4)
    • Manage cron and at jobs.
    • Configure user access to cron and at services.
    • Maintain an effective data backup strategy(Weight: 3)
    • Dump a raw device to a file or vice versa.
    • Perform partial and manual backups.
    • Verify the integrity of backup files.
    • Partially or fully restore backups.
  • Maintain system time(Weight: 4)
    • Set the system date and time.
    • Set the BIOS clock to the correct time in UTC.
    • Configure the correct timezone.
    • Configure NTP including correcting for clock drift.
Networking Fundamentals
  • Fundamentals of TCP/IP(Weight: 4)
    • Demonstrate an understanding of IP-addresses including but not limited to:
      • Network masks, for example: determine the network part and the broadcast address for a host based on its address and subnet mask in "dotted quad" or abbreviated notation or determine the network address, broadcast address and netmask when given an IP-address and number of bits in the address that are used to identify the host.
    • Demonstrate an understanding of the network classes and classless subnets (CIDR) and the reserved addresses for private network use.
    • Understand the function and application of a default route.
    • Understand basic internet protocols (IP, ICMP, TCP, UDP) and the more common TCP and UDP ports (20, 21, 23, 25, 53, 80, 110, 119, 139, 143, 161).
    • Basic knowledge about the differences between IPV4 and IPV6.
  • TCP/IP configuration and troubleshooting(Weight: 7)
    • Manually and automatically configure network interfaces and routing tables to include adding, starting, stopping, restarting, deleting or reconfiguring network interfaces.
    • Change, view, or configure the routing table and correct an improperly set default route manually.
    • Configure a DHCP client.
    • Basic TCP/IP host configuration.
    • Debug problems associated with the network configuration.
    • Configure Linux as a PPP client(Weight: 3)
    • Define the chat sequence to connect (given a login example) and the setup commands to be run automatically when a PPP connection is made.
    • Initialize and terminate a PPP connection, with a modem, ISDN or ADSL with the appropriate scripts.
    • Set PPP to automatically reconnect if disconnected.
Networking Services
  • Configure and manage xinetd, inetd and related services(Weight: 4)
    • Configure which services are available through (x)inetd.
    • Manually start, stop and restart internet services.
    • Configure basic network services including ssh and ftp.
    • Set a service to run as another user instead of the default in (x)inetd configuration.
    • Basic knowledge of tcpwrappers to allow or deny services on a host-by-host basis.
  • Operate and perform basic configuration of Mail Tranfer Agent (MTA)(Weight: 4)
    • Modify simple parameters in MTA configuration files.
    • Create e-mail aliases.
    • Manage the e-mail queue.
    • Start and stop MTA.
    • Configure e-mail forwarding.
    • Check for and close an open relay on the mailserver.
    • Perform basic troubleshooting of MTA.
  • Operate and perform basic configuration of Apache(Weight: 4)
    • Modify simple parameters in Apache configuration files.
    • Start and stop httpd and restart after modification to configuration.
    • Arrange for automatic starting of httpd upon boot.
  • Properly manage the NFS and SAMBA daemons(Weight: 4)
    • Mount remote filesystems using NFS.
    • Configure NFS for exporting local filesystems.
    • Start, stop and restart the NFS server.
    • Install and configure Samba using the included GUI tools (swat) or direct edit of the /etc/smb.conf file (Note: this deliberately excludes advanced NT domain issues but includes simple sharing of home directories and printers, as well as correctly setting the nmbd as a WINS client).
  • Setup and configure basic DNS services(Weight: 4)
    • Configure hostname lookups and troubleshoot problems with local caching-only name server.
    • Demonstrate an understanding of the domain registration and DNS translation process.
    • Understanding configuration files for BIND8 and BIND9.
  • Set up secure shell (OpenSSH)(Weight: 4)
    • Perform basic OpenSSH installation and troubleshooting.
    • Configure sshd to start at system boot.
Security
  • Perform security administration tasks(Weight: 4)
    • Configure tcpwrappers.
    • Audit a system to find files with the suid/sgid bit set.
    • Verify packages.
    • Set or change user passwords and password aging information.
    • Update binaries as recommended by CERT, BUGTRAQ and/or distribution's security alerts.
    • Demonstrate basic knowledge of iptables.
    • Being able to use nmap and netstat to discover open ports on a system.
  • Setup host security(Weight: 3)
    • Configure syslog with an eye to security.
    • Set up and manage shadow passwords.
    • Set up a e-mail alias for root's e-mail.
    • Turn off network services not in use.
  • Setup user level security(Weight: 1)
    • Set up limits on user logins, processes and memory usage.
Last modified: Thursday 10 May 2007