Category Archives: [Dev]Wordpress

wordpress 설치 하기 명령어

정리전 [wp-svg-icons icon=”home” wrap=”i”] 계정생성 및 디렉토리(미리만듬) 연결

sudo cat /etc/passwd sudo cat /etc/group sudo useradd -c testcom -d /var/www/testcom -s /usr/sbin/nologin -p pass001 userId sudo chsh -s /usr/sbin/nologin userIDd sudo chsh -s /bin/sh userIDd     (putty login인 용) sudo usermod -d /var/www/ testuser [wp-svg-icons icon=”connection” wrap=”i”]계정생성 추가 설명 : 502 sudo usermod… Read More »

wordpress xmlrpc.php 취약점

아래와 같은 공격이 있는 경우 서버 및 사이트 멈춤 root@localhost:/var/log/apache2# cat access.log – – [16/Jul/2014:18:59:45 +0900] “POST /xmlrpc.php HTTP/1.1” 404 530 “-” “Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)” – – [16/Jul/2014:18:59:46 +0900] “POST /xmlrpc.php HTTP/1.1” 404 530 “-” “Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)” – – [16/Jul/2014:18:59:48 +0900] “OPTIONS * HTTP/1.0” 200 126 “-” “Apache/2.2.22 (Ubuntu)… Read More »

Changing File Permissions « WordPress Codex

참조 : On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. Permission Modes

The permission mode is computed by adding up the following values for… Read More »

[wordpress] ftp 포트가 다를때

wp-config.php 에 /*아래와 같이 추가해주시면 됩니다.*/ if(is_admin()) { add_filter(‘filesystem_method’, create_function(‘$a’, ‘return “direct”;’ )); define( ‘FS_CHMOD_DIR’, 0755 ); }