'잡동사니'에 해당되는 글 14357건

  1. 2019.02.14 관리 페이지를 이용한 idrac update
  2. 2019.02.14 smb 와 selinux 설정
  3. 2019.02.13 smb on centos
  4. 2019.02.13 centos backup
  5. 2019.02.13 centos epel 저장소 추가
  6. 2019.02.13 R730 RAID5 성능 테스트(?)
  7. 2019.02.13 squid 비디오 차단
  8. 2019.02.13 squid 윈도우 업데이트 캐싱
  9. 2019.02.13 squid cache 정책
  10. 2019.02.13 squid log format

현재 사용중인 버전은 R730 / 2.43.43.43(응?)


iDRAC Settings - Update and Rollback에서 다운로드 받은 EXE를 올리면 되는건가?


일단은 다운로드 완료 라고 뜨고 하단에 install을 누르라는데


일단 잡 큐에 뜬다는데 모르겠네


근데 아무생각없이 OK 하는 바람에 위치를 못 찾고 헤매다가 다시 업데이트 오니 이런 경고가 뜬다. 이런 -_-


안돌아가는 머리 굴리다가 막 눌러보니 Server 페이지에 Job Queue 발견!


한 8분 기다리니 뜨네


일단은.. 버전이 올라가긴 했네


[링크 : https://www.dell.com/...-idrac-correctly-to-solve-memory-hdd-power-and-...?lang=en]

[링크 : https://www.dell.com/.../dell-poweredge-idrac를-통한-원격-펌웨어-업데이트-방법?lang=ko#idrac78]


+

헐.. 완전 구버전에서 올려서 그런건가? critical로 뜨네.. 기준이 머지?


'하드웨어 > Server Case & board' 카테고리의 다른 글

idrac update via FTP  (0) 2019.02.14
Dell EMC iDRAC Service Module 3.2.0.1 (For Linux)  (0) 2019.02.14
idrac virtual console  (2) 2019.02.13
dell quick sync  (0) 2019.02.13
dell power edge 베이 확장  (0) 2019.02.13
Posted by 구차니

아 망할 selinux 

smb에서 공유 디렉토리 이름에는 들어가는데 아무것도 안나오고

파일을 올리지 못할때에는 selinux가 탓이다!!!!! 법규!!!


아무튼 아래와 같이 명령을 주면 임시로 설정하는 건데 굳혀버릴려면 -P를 주고 하면 된다

(일단 테스트 였으니...)

# setsebool samba_export_all_rw 1 


아래는 명령어로 조회해 본 설정값(centos 7 기본 설정인듯)

[root@localhost ~]# getsebool -a | grep samba

samba_create_home_dirs --> off

samba_domain_controller --> off

samba_enable_home_dirs --> off

samba_export_all_ro --> off

samba_export_all_rw --> off

samba_load_libgfapi --> off

samba_portmapper --> off

samba_run_unconfined --> off

samba_share_fusefs --> off

samba_share_nfs --> off

sanlock_use_samba --> off

tmpreaper_use_samba --> off

use_samba_home_dirs --> off

virt_use_samba --> off


[root@localhost ~]# getsebool -a | grep smb

smbd_anon_write --> off


[root@localhost ~]# getsebool -a | grep nmb

[root@localhost ~]# 

[링크 : https://wiki.centos.org/HowTos/SetUpSamba]


도움말 찾아 write 로 검색하니 똭!

If you want to allow samba to share any file/directory read/write, you must turn on the samba_export_all_rw boolean.


setsebool -P samba_export_all_rw 1 

[링크 : https://linux.die.net/man/8/smbd_selinux]



+

서버 접속해보니 SETroule 세부 정보로 해서 무언가 뜨고

거기서 이런걸 해제하라고 추천도 해주네.. 오오 좋은 세상이야


Posted by 구차니
Linux/centos2019. 2. 13. 19:08

오늘도 여전히(?) selinux가 날 잡는군 -_-


[링크 : https://wiki.centos.org/HowTos/SetUpSamba]

[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=18219476]


firewall-cmd --permanent --zone=public --add-service=samba

firewall-cmd --reload 

[링크 : https://www.manualfactory.net/10439] 방화벽

[링크 : https://www.manualfactory.net/10153]

'Linux > centos' 카테고리의 다른 글

centos timezone 변경  (2) 2019.02.23
svn on centos  (0) 2019.02.22
centos backup  (0) 2019.02.13
centos epel 저장소 추가  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
Posted by 구차니
Linux/centos2019. 2. 13. 17:34

'Linux > centos' 카테고리의 다른 글

svn on centos  (0) 2019.02.22
smb on centos  (0) 2019.02.13
centos epel 저장소 추가  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
yum checkupdate  (0) 2019.01.25
Posted by 구차니
Linux/centos2019. 2. 13. 17:13

귀찮구먼...


-------------- For RHEL/CentOS 7 --------------

# wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm

# rpm -ihv epel-release-7-11.noarch.rpm  

[링크 : http://wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm]


+

2019.04.22

위에거는 복잡하니 아래것만 외우자? ㅋ

$ sudo yum -y install epel-release 

[링크 : http://cheapwindowsvps.com/blog/how-to-install-htop-on-centos-7/]

'Linux > centos' 카테고리의 다른 글

smb on centos  (0) 2019.02.13
centos backup  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
yum checkupdate  (0) 2019.01.25
centos 서비스 등록하기  (0) 2018.12.03
Posted by 구차니
하드웨어/RAID2019. 2. 13. 17:00

10K SAS RAID5 구성한 녀석(PERC H730P mini 였나? + 1G cache)

의외로 성능이 잘 나온다고 해야하려나? 아무튼 몇번에 대해서는 순간 1GB/s 나오는거 보고 깜놀


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1G count=1 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.968236 s, 1.1 GB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1M count=1024 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.877165 s, 1.2 GB/s

1073741824 bytes (1.1 GB) copied, 1.67205 s, 642 MB/s

1073741824 bytes (1.1 GB) copied, 1.64823 s, 651 MB/s

1073741824 bytes (1.1 GB) copied, 1.70338 s, 630 MB/s

1073741824 bytes (1.1 GB) copied, 1.67719 s, 640 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1G count=1 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.981585 s, 1.1 GB/s

1073741824 bytes (1.1 GB) copied, 1.86161 s, 577 MB/s

1073741824 bytes (1.1 GB) copied, 1.83748 s, 584 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=512 count=1024 oflag=direct

524288 bytes (524 kB) copied, 0.0448593 s, 11.7 MB/s

524288 bytes (524 kB) copied, 0.0444185 s, 11.8 MB/s

524288 bytes (524 kB) copied, 0.0448892 s, 11.7 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=512 count=102400 oflag=direct

5242880 bytes (5.2 MB) copied, 0.359296 s, 14.6 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=4096 count=102400 oflag=direct

52428800 bytes (52 MB) copied, 2.87847 s, 18.2 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=4096 count=102400 oflag=direct
419430400 bytes (419 MB) copied, 3.62074 s, 116 MB/s
419430400 bytes (419 MB) copied, 3.60996 s, 116 MB/s


[링크 : https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd]

'하드웨어 > RAID' 카테고리의 다른 글

RAID 1+0 구성과 span  (0) 2019.02.19
R730 PERC RAID-0 vs RAID-5  (0) 2019.02.15
PowerEdge RAID Controller - PERC  (0) 2019.02.12
512b vs 4k sector HDD (Advanced Format - AF)  (0) 2019.02.12
SAS  (0) 2013.11.12
Posted by 구차니
프로그램 사용/squid2019. 2. 13. 16:30

'프로그램 사용 > squid' 카테고리의 다른 글

mrtf centos  (0) 2019.02.14
squid cache hit rate 올리기  (0) 2019.02.14
squid 윈도우 업데이트 캐싱  (0) 2019.02.13
squid cache 정책  (0) 2019.02.13
squid log format  (0) 2019.02.13
Posted by 구차니
프로그램 사용/squid2019. 2. 13. 16:29

'프로그램 사용 > squid' 카테고리의 다른 글

squid cache hit rate 올리기  (0) 2019.02.14
squid 비디오 차단  (0) 2019.02.13
squid cache 정책  (0) 2019.02.13
squid log format  (0) 2019.02.13
squid refresh_pattern  (0) 2019.02.12
Posted by 구차니
프로그램 사용/squid2019. 2. 13. 16:26

'프로그램 사용 > squid' 카테고리의 다른 글

squid 비디오 차단  (0) 2019.02.13
squid 윈도우 업데이트 캐싱  (0) 2019.02.13
squid log format  (0) 2019.02.13
squid refresh_pattern  (0) 2019.02.12
squid cachemgr  (0) 2019.02.12
Posted by 구차니
프로그램 사용/squid2019. 2. 13. 13:59


[링크 : https://wiki.squid-cache.org/Features/LogFormat]

[링크 : http://www.squid-cache.org/Doc/config/logformat/]


+

2019.02.18


access log

[링크 : https://wiki.squid-cache.org/SquidFaq/SquidLogs#access.log]


(1) TCP_HIT, TCP_MEM_HIT

    요청한 컨텐츠가 캐시에 있어서 응답한 경우


(2) TCP_MISS

    요청한 컨텐츠가 캐시에 없어서 실제 서버로 요청을 하여 응답한 경우

    대부분 이미지 외 것에 해당한다.


(3) TCP_IMS_HIT

    클라이언트가 If-Modified-Since 필드를 요청 헤더에 보냈는데 HIT가 났다는 의미이다. 

    만약 결과 HTTP코드값이 '304 Not Modified'로 나왔다면 캐시는

    클라이언트로 컨텐츠를 보낼 필요없이 클라이언트 브라우저에 있는 컨텐츠를 사용한다는 의미이다.


(4) TCP_IMS_MISS 

    요청헤더에 If-Modified-Since 가 포함되어 있지만 캐시가 신선하지 않다고 판단되어 실제 서버로 재요청을 한 경우


(5) TCP_REFRESH_HIT 

    요청한 컨텐츠가 신선하지 않아 실제 서버로 요청했는데 '304 Not Modified'를 받아 캐시에서 클라이언트로 응답한 경우


(6) TCP_REFRESH_MISS 

    요청한 컨텐츠가 신선하지 않아 실제 서버로 요청했는데 

    서버에서 새로운 컨텐츠를 전송받아 캐시에 저장하고 다시 클라이언트로 응답


(7) TCP_CLIENT_REFRESH 

    클라이언트 요청 헤더에 'no_cache'를 포함한 경우


(8) TCP_CLIENT_REFRESH_MISS 

    클라이언트 요청에 'no-cache'나 'no-store'같은 캐시를 제어하는 필드를 포함하여서 

    캐시가 서버로부터 컨텐츠를 가져왔을때


(9) TCP_DENIED 

    클라이언트 요청이 캐시에 의해서 거절당했을 경우(컨텐츠필터링과 연관) 

[링크 : http://egloos.zum.com/darkit/v/221572]


* Matched If-None-Match requests are logged as TCP_INM_HIT (proposed by Amos)

* If-Modified-Since requests for modified cached objects are processed as normal HITs

* Not matched If-None-Match requests for cached objects are processed as normal HITs

* If-Modified-Since header is ignored if If-None-Match header exists (RFC7232 compliance) 

[링크 : http://lists.squid-cache.org/pipermail/squid-dev/2016-November/007315.html]

'프로그램 사용 > squid' 카테고리의 다른 글

squid 윈도우 업데이트 캐싱  (0) 2019.02.13
squid cache 정책  (0) 2019.02.13
squid refresh_pattern  (0) 2019.02.12
squid cachemgr  (0) 2019.02.12
howto make squid as https proxy  (0) 2019.02.11
Posted by 구차니