■掲示板に戻る■ 新着レス表示 全部 最新50 RSS トラックバック(0)1-  ]
板のトップ リロード まとめる 関連ページ ホットワード リンク元(51) 無料で掲示板を作る

Linuxコマンド

1 : 名無し    2009/05/31(日) 23:13:23   ID:NMhllQ2s 
【ファイヤウォールの解除】
/etc/init.d/ipttables stop

Sponsored Link
IPアドレスを解説 www.keyman.or.jp
図解でIPアドレスを理解 キーマンズのIPアドレス解説
ネットワーク管理最新技術 www.interop.jp
最新の技術情報と機器が集結 幕張メッセにて開催迫る
HDDデータの復元 business.cybozu.net/
あきらめずに、探してください 厳選サイトはコチラ
レッツノートの新モデル www.businessmobile.jp
SSD採用で、さらにスピードアップ。 ゛軽量、長時間、頑丈゛もさらに強化


【ホスト名の変更】
/etc/hostsの変更
  /etc/sysconfig/networkの変更
/etc/httpd/conf/httpd.confの変更
  変更後はreboot


【ipアドレスの変更】
/etc/hostsの変更
  /etc/sysconfig/network-scripts/ifcfg-eth0の変更
↓networkの再起動(. /etc/init.d/network restart)
確認(ifconfig)


【ネットワーク設定】
◎「/etc/hosts」
  127.0.0.1 localhost localhosts.localdomain
★ 192.168.100.201 abc abc.def.ghi.com

◎「/etc/sysconfig/network」
  NETWORKING=yes
★ HOSTNAME=abc
★ DOMAINNAME=def.ghi.com
GATEWAY=192.168.0.254

◎「/etc/sysconfig/network-scripts/ifcfg-eth0」
DEVICE=eth0
BOOTPROTO=static
★ IPADDR=192.168.100.201
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.254
TYPE=Ethernet
USERCTL=yes
PEERDNS=yes

◎ 「/etc/httpd/conf/httpd.conf」
  (省略)
#
SeverAdmin root@localhost
#
#ServerName localhost
★ ServerName abc.def.ghi.com


【ディスクの設定】
パーティション名 容量 タイプ マウントポイント
/dev/sda1  256MB  ext3   /boot
/dev/sda2 10240MB ext3 /
/dev/sda3 2048MB swap


【パーティションについて】
  /(ルート)
ルートファイルシステムはできるだけ小さくした方が良い。その方がファイルシステムに 障害が発生した時の復旧が容易。
/boot
Linuxカーネルの起動イメージはディスクの先頭から1024シリンダ(約8GB)以内に収まるようにする。
このため、ディスクの先頭パーティションとして10〜50MB程度を/bootパーティションに割り当てます。
(カーネルを収めるためには数MBもあれば十分だが、将来カーネルを再構築したり、複数のカーネルを用意したりで
きるように余裕のある容量を確保した方が良い。)
swap
スワップ領域はLinuxの仮想メモリとして利用される。
    (仮想メモリとは、物理メモリが不足した場合にディスクの一部を一時的にメモリの延長として使うことができる機
能。)
    スワップ領域には物理メモリの1〜2倍のサイズを確保する。つまり物理メモリが128MB搭載している場合はスワップ領
域として128〜256MB程度を確保。
  /home
一般ユーザの利用するファイルが格納される。ファイルサーバなど多数のユーザが利用するシステムの場合はとりわけ専用
のパーティションに分割する必要がある。
    /homeを別にしておくとディストリビューションを変更したり再インストールした際、環境を引き継ぐことができる。
  /var
ログファイルやメールスプールなど更新頻度の高いファイルが格納される。syslogなどの生成するログが大量に発生する
と、ファイルシステムの容量を超えてしまう恐れがある。
    ルートファイルに/varがあるとログがルートファイルに溢れてしまい、システム全体に影響を与える。
    /varを別パーティションにすることによって被害がシステム全体に及ぶ危険を減らすことができる。
/usr
ユーザ専用のプログラムやライブラリが置かれる。あとからプログラムを追加するといったことがなければ、運用中
に容量が増えることは基本的にない。NFSを使ってコマンドやプログラムを共有する場合には/usrを読み込み専
用でマウントしておくことにより、セキュリティを高めることが可能。


2 : FalErurcE    2011/06/03(金) 20:22:42   ID:gtyyTd3g 
Hypotensive Medications http://www.pramsforbaby.com/ - buy escitalopram online Lexapro, a prescription medication, has been on the market since 1997. <a href=http://www.pramsforbaby.com/>discount lexapro</a>

3 : Soyposesleedy    2011/06/12(日) 19:31:28   ID:bXZtGcbo 
Leisure Drugs By Colon <a href=http://www.joannfellan.com/>viagra france</a> Sans un bon flux du sang dans cette rテゥgion il ne peut y avoir une テゥrection effective. http://www.joannfellan.com/ - viagra prix pharmacie

4 : Diostarsmoore    2011/06/24(金) 21:20:38   ID:E59zEQNI 
Medical Costs Of Alternative Medicines http://www.supercheapfags.com/ - lunesta medication Since this medication is taken as needed you are probably not going to miss a dose so there are no worries on about a schedule. http://www.supercheapfags.com/ - lunesta online pharmacy

5 : Abuppybib    2011/06/25(土) 23:17:44   ID:inf/p96c 
Drug Treatment Southern California http://www.thecouponclass.com/ - soma muscle relaxant Yet, it can only be taken for short periods of time before tolerance occurs. http://www.thecouponclass.com/ - soma pain

6 : Unsubspes    2011/07/02(土) 23:51:37   ID:whh6qYxQ 
Give Medicine To Elderly http://www.strawberrycrestfootball.com/ - topamax topiramate Off label uses are many and include such uses include smoking cessation, obsessive compulsive disorder, cocaine dependence, essential tremors, bulimia nervosa, idiopathic intracranial hypertension, as well as neuropathic pain. http://www.strawberrycrestfootball.com/ - generic topiramate

7 : vepenvext    2011/07/09(土) 17:14:55   ID:u06pc0rc 
Medications Causing Pulmonary Fibrosis http://www.lanefineartphotography.com/ - buying klonopin online Generic Xanax http://www.lanefineartphotography.com/ - order klonopin

8 : aftegeboota    2011/12/10(土) 06:33:58   ID:znX+3492 
aftegeboota,
<a href=http://www.carpetwaterdamagego.com/>phentermine 37.5 mg</a>
See the list of reliable online pharmacies selling low cost Phentermine.
http://www.carpetwaterdamagego.com/ - phentermine online


9 : fwvtiqvb    2012/01/24(火) 05:39:45   ID:Ec/xwCBU 
ultram buy online no prescription buy cheap ultram http://www.kubiak.cc/forum/showthread.php?tid=46091 can i take ultram and xanax together buy ultram

10 : serbwmsk    2012/01/25(水) 10:23:19   ID:tR1zjZQU 
rivotril engorda rivotril afssaps http://12thmanclothing.com/forum/showthread.php?tid=330464 rivotril solucion gotas a rivotril tabletta

11 : svwevfnx    2012/01/27(金) 14:14:00   ID:bfsGPkGo 
modalert tab modalert online pharmacy http://www.akillibebek.com/ustunzekalilarveyetenekliler/index.php?topic=43985.0 modalert tab india modalert drugs



新着レス表示

名前: メール(省略化) sage cookie
本文