본문 바로가기

OS

(32)
CentOS 7 samba 설치. # selinuxenabled && echo enabled || echo disabled enabled# vi /etc/selinux/config# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two v..
CentOS NTFS 마운트 mount: unknown filesystem type 'ntfs' centos7 ntfs 타입 마운트 안될때. [root@IGGY ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm [root@IGGY ~]# rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm [root@IGGY ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse [root@IGGY ~]# yum install fuse fuse-ntfs-3g [root@IGGY ~]# mount /dev/sda1 /IPTIME/
CentOS7 ifconfig 명령어 실행안될때. ifconfig 설치. CentOS 7 설치완료후 ifconfig 명령어가 실행안되였다.확인해 보니 ifconfig 가 아예 설치 되여 있지 않음. yum 명령어를 사용하여 ifconfig 툴 설치. yum install net-tools 설치완료후 ifconfig 사용가능. ^^
CentOS 7 설치 사용기. http://ftp.daum.net/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-DVD.iso iso 이미지 다운로드후 설치 해보았다. 설치완료후 DISK 사용량 835M 쓰기 괜찮음것 같음.
sftp 명령어 포트 변경하기. sftp 사용시 포트가 22번 포트가 아닌경우에 수동으로 포트를 변경하여 접속하여야 한다.-oPort="xxxx" 옵션을 사용하여 변경가능하다.예 3333포트를 사용시. sftp -oPort=3333 1.2.3.4
리눅스 주기적으로 동일한 명령어 실행하기. 리눅스 일정한 시간마다 동일한 명령어 실하기. watch -n 1 'command' 매 1초 마다 ' ' 에 포함한 command 실행.
CentOS git 설치하기. 1. git 설치에 필요한 library 설치. [root@leechul ~]# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-develLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * rpmforge: ftp.riken.jp * updates: centos.tt.co.krSetting up Install ProcessPackage curl-devel-7.15.5-17.el5_9.i386 already installed and latest versionPacka..
[NFS mount] touch: cannot touch `1': 허가 거부됨 # mount -t nfs4 192.168.80.1:/ /mnt/Backup# cd /mnt/Backup/# touch 1touch: cannot touch `1': 허가 거부됨 192.168.80.1 서버의 디렉토리에 쓰기 권한이 없어서 허가 거부됨.chmod 755 로 서버쪽의 디렉토리에 사용권한을 부여후 쓰기 가능.