본문 바로가기
반응형

IT/Tips32

리눅스에서 NTFS파티션 마운트 하기 (CentOS, RedHat, Fedora) 리눅스에서 NTFS파티션 마운트 하기 (CentOS, RedHat, Fedora) yum install epel-releaseyum install ntfs-3g mkdir /datamount -t ntfs-3g /dev/sdb1 /data 2018. 10. 6.
PHP 원격 Database 연결 에러 PHP에서 mysql_connect() 함수를 이용하여 원격 Database(혹은 localhost가 아닌 IP를 입력하여)에 접근시(Xpress engine, Wordpress 설치시에도)에 Can’t connect to MySQL server on 1.1.1.1 (13) 에러가 발생할경우 selinux 설정을 바꿔줄 필요가 있다. 현재 selinux 설정을 확인하면 # getsebool -a | grep httpd httpd_can_network_connect=off httpd_can_network_connect_db=off 다음과 같이 웹서버를 통한 원격 데이터 베이스의 접근이 불가능한 상태를 확인할 수 있는데 다음 명령어를 통해 접근 허용이 가능하다. # setsebool -P httpd_can_.. 2018. 10. 3.
윈도우 Event log ID 조회 - Windows XP, 2000, 2003http://support.microsoft.com/kb/299475http://support.microsoft.com/kb/301677 - Windows Vista, 7, 2008http://support.microsoft.com/kb/977519 - Event log databsehttp://eventopedia.cloudapp.net/Events/?/Operating+System/Microsoft+Windows/Built-in+logs/Windows+2008/Security+Log/Account+Logon/Credential+Validation 2018. 10. 3.
Ubuntu Server IP 설정 # sudo vi /etc/network/interfaces auto loiface lo inet loopback auto eth0iface eth0 inet staticaddress 192.168.0.2netmask 255.255.255.0gateway 192.168.0.1network 192.168.0.0broadcast 192.168.0.255 dns-nameservers 8.8.8.8 # /etc/init.d/networking restart 2018. 10. 3.
반응형