サーバーの組み立て方

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/39c09cd2-12fd-9718-2711-a3737310084e.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/c0e97bd2-eb66-6c8a-e8aa-47d60e1cd34a.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/4fa59252-f7f8-8e2b-5d3e-ae235e1dd261.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/97cb0d5e-0319-15a8-7165-318ebe7bdaf4.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/b313b229-84df-6ef6-77e6-0d514ca4318f.png)

１
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/861a6be9-fb6e-e10d-0b8a-4709549f7b2e.png)

アブスクライブ済みになっていないとyumコマンドはできない

２
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/64a08b67-307b-d478-ce9a-467ec50ef19e.png)

一覧確認

３．
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/d27688be-9d8d-41d5-e7ce-30d7f506e97b.png)

インストール

４．
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/8d249cf8-2c59-905e-25b8-4bc6893f0692.png)
確認


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/f76a4c8a-e0d3-24c4-9fac-e09e310527e2.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/8f934b0e-ae3b-0977-9ccb-fc2cc9e26baf.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/0acada33-bbfb-4b5f-7b5a-08f8a82145df.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/be17678c-3942-4948-b4a1-605f662d294f.png)

５
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/8070b9e3-8400-063d-4f94-a9790af9fd31.png)

６
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/f14e0c33-8b42-844d-8c4d-6ae585623557.png)

７
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/ceb94cdc-69ae-f32e-d036-23d9e243d628.png)
設定してもリロードしなくては、、、ファイヤーウォールナシならOK

８
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/4a4aaf71-4d50-6e95-bce8-00b12c23a971.png)
startはポートを開ける
enableサービスを起動し続ける

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/e0aded84-f25a-e8be-51b4-3322e0c9cb40.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/e9400fd4-2313-a776-6118-dd7aa3a1aabb.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/270e7da0-45da-dd20-3f9a-684a448dbcff.png)

９
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/4e2c31b5-5e54-e6f9-394b-2c1bcca0b6d0.png)

sumbaのインストール

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/19cb9fe2-1ad2-27be-4795-9e1126b8b0cb.png)

１０
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/c546f24c-8d6d-eb39-569d-76c6fe2726d5.png)

startでポートの起動
enableでサービスの開始
statusで起動の確認

11
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/9ee54b01-3471-004a-16d5-963a8b7b2bff.png)
ファイヤウォールを通す設定

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/4334e17c-ef94-7a85-a19a-bb922b76c150.png)


12
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/9bda9fa8-c90b-2b6e-d3d4-5c0462b5b6b2.png)

sumbの共有ディレクトリ作成

11
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/d332fa07-d00a-82e6-7169-f3ebf3cb16df.png)

sumbの通信設定

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/392e2862-3110-0fbf-e606-50da4ca64755.png)

１２
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/43dc968d-d0b0-4251-8b01-8a5867879f69.png)
smbユーザの切り替え

１３
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/9a09e9cf-41c4-30e0-cba2-26965f6ad6e0.png)
ユーザ管理のsmbの再起動

１４
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/155b7cff-7519-31c1-bca7-31fac3ea2164.png)

エクスプローラーにIPアドレスを入れる

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/ab62c005-b3db-ba09-ba5d-ac0e002d6f7a.png)

ユーザー名・パスワード

１５
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/3477527/4e9230bd-ba06-e7cd-7f81-40449b0767dc.png)

作成したファイルがある