본문 바로가기

전체 글

vsftp 일반 계정 설정 /etc/vsftpd/vsftpd.conf 파일에 일반적으로 설정값을 적용하게되는데 일반유저만 따로 설정을 할수 있는 방법은 아래와 같습니다. 참조 : https://sites.google.com/site/zzztech30/vsftpd-with-multiple-users-home-dir-with-different-permission VsFTPD With Multiple Users Home dir with different permission #yum install vsftpd* //for install the FTP Server packege #vim /etc/vsftpd/vsftpd.conf //Mention below screen shoot entry in vsftpd.conf file anonymo.. 더보기
Dell 서버 Array 체크 rpm HP 장비에는 hpacucli 라는 게 있어서 체크했는데 dell 서버에도 이런게 있나 찾아봤더니 있었다.. 이름이 megacli ㅋㅋ 아래의 주소로 가서 하면될듯.. 테스트 서버를 찾아봐야되는데.. 아직 사용해보진 못함.. 해당 주소는 아래와 같다. 혹시 몰라 파일 첨부합니다. http://www.dell.com/support/troubleshooting/us/en/19/KCS/KcsArticles/ArticleView?c=us&l=en&s=dhs&docid=623352 Step 1. Installation of the MegaCLI RPM Ensure you are logged in as 'root' Download MegaCLI to your server : # mkdir /root/megacli .. 더보기
[LINUX] hpacucli 온라인 raid 재구성 [ 삭제시 ] => ctrl all show config Smart Array P410i in Slot 0 (Embedded) (sn: 5001438023108980) logicaldrive 1 (279.4 GB, RAID 1, OK) array A (SAS, Unused Space: 0 MB) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK) logicaldrive 2 (279.4 GB, RAID 1, OK) array B (SAS, Unused Space: 0 MB) physicaldrive 1I:1:3 (port 1I:box 1:bay .. 더보기
[LINUX] 500 OOPS: cannot change directory 에러 발생시 [증상] [root@test sysconfig]# ftp localhost Connected to CMMOBIGEN. 220 (vsFTPd 2.2.2) 530 Please login with USER and PASS. Name (localhost:root): hpk 331 Please specify the password. Password: 500 OOPS: cannot change directory:/home/hpk Login failed. [해결책] setsebool 을 이용하여 FTP접속시 디렉토리 접근을 할수 있게 변경 #setsebool -P ftp_home_dir 1 #service vsftpd restart #setsebool -P ftpd_disable_trans 1 더보기
[HPUX] routing table 추가 [HPUX] routing table 추가(예 10.10.0.0 B class 추가할시) #route add net 10.10.0.0 netmask 255.255.0.0 10.10.10.1 1 #vi /etc/rc.config.d/netconf 에 추가 [서버 리부팅시 라우팅 static 설정] ROUTE_DESTINATION[20]="net 10.10.0.0" ROUTE_MASK[20]="255.255.0.0" ROUTE_GATEWAY[20]="10.10.10.1" ROUTE_COUNT[20]="1" ROUTE_ARGS[20]="" 더보기
CentOS 6.3 hp-health 오류시 수정방법 1. # /etc/init.d/mcelogd stop 2. # /etc/init.d/hp-health start 3. # /etc/init.d/mcelogd start 4. # /etc/init.d/mcelogd status Checking for mcelog mcelog (pid 13879) is running... 5. # vi /etc/init.d/hp-health # chkconfig: 2345 91 2 을 아래와 같이 수정 # chkconfig: 2345 31 2 6. # /sbin/chkconfig --del hp-health 7. # /sbin/chkconfig --add hp-health ----- 원문 내용 ----- Fix for hp-health on DL100 series runni.. 더보기
로컬시간 strings 이 있는곳 /usr/share/zoneinfo/Asia TZif2 Dp!n=`" &p#N TZif2 !n=` KST-9 더보기
파일이 있지 않으나 용량확보가 되어있지 않는경우 디렉토리에 용량이 많지 않으나 많은 양의 데이터가 있는것으로 나온다면 프로세스가 돌고있는동안 파일을 지웠을경우 발생된다. sendmail 4933 ilms 3uW REG 104,11 3692077056 696189 /var/spool/clientmqueue/dfp0I4Z29D004933 (deleted) 이와같이 (deleted)라고 나와있으나 3692077056 의 용량이 지워지지않은체 삭제되었다면 관련 프로세스를 재시작하게되면 해결된다.lsof 가 실행이 안되면 yum install lsof 로 설치 후 다음과 같이 사용하면 됩니다. [관련 command] lsof 로 확인가능, ( #lsof /var )[root@sam ~]# lsof |grep deletedpython 13730 root 4r R.. 더보기
HPFS/NTFS mount #mount -t ntfs-3g /dev/sda? /mnt/temp 더보기
[solaris] SCSI Disk 확인 #sccli > show disks # sccli sccli: selected device /dev/rdsk/c7t600C0FF00000000008015B044953B600d0s2 [SUN StorEdge 3510 SN#08015B] sccli> show disks Ch Id Size Speed LD Status IDs ----------------------------------------------------------------------- 2 0 68.37GB 200MB ld0 ONLINE S/N 000532B09HKK 2 1 68.37GB 200MB ld0 ONLINE S/N 3HZ7HJ7K00007447 2 2 68.37GB 200MB ld3 ONLINE S/N 3HZ7HTE800007447 .. 더보기
[HPUX] 특정아이피 서버로 접속불가능하게 차단하기 파일위치 : /var/adm/inetd.sec [/var/adm]# cat inetd.sec # @(#)B.11.11_LRinetd.sec $Revision: 1.10.214.1 $ $Date: 96/10/08 13:20:06 $ # # # The lines in the file contain a service name, permission field and # the Internet addresses or names of the hosts and/or networks # allowed to use that service in the local machine. # The form for each entry in this file is: # # # # For example: # # login allow 1.. 더보기
***.src.rpm 설치방법 #rpm -Uvh ***.src.rpm /usr/src/redhat/SPEC안에 **.spec 리빌딩 #rpmrebuild -bb ***.spec /usr/src/redhat/RPMS/ 안의 rpm 파일 다시 설치 #rpm -Uvh ***.rpm 더보기