본문 바로가기

IT322

windows 11 인터넷 간헐적 끊김 현상 요래 하먼 된다캐서 해도 좀전에 또 끊겼다. 이건 아닌가? 따른 방법을 시도... 업데이트 제거 : Windows 업데이트 > 업데이트 기록 > 업데이터 제거 2024. 4. 11.
그누보드와 워드프레스 연동 https://kilho.net/archives/mypost/786 https://kilho.net/ 워드프레스는 그누보드 뿐만 아니라 모든 종류의 데이타베이스와 연결이 가능합니다. 워드프레스가 Mysql 을 지원하긴 하지만, 코어의 뼈대가 아닌 부분에는 어떤 종류의 작업을 해도 무방하니깐요. 그누보드의 게시글을 워드프레스에서 읽을려면 간단합니다. global $wpdb; $sql = " select wr_id, wr_subject from g5_write_notice where wr_subject like '".$test."'"; $arr_rs = $wpdb->get_results(esc_sql($sql),ARRAY_A); foreach($arr_rs as $r){ echo $r['wr_subject'.. 2024. 4. 8.
워드프레스 파일 퍼미션 워드프레스 사이트에서 권장되는 파일 퍼미션 설정은 다음과 같습니다. wp-admin: 755 wp-content: 755 - wp-content/themes: 755 - wp-content/plugins: 755 - wp-content/uploads: 755 wp-config.php: 644 .htaccess: 644 기타 모든 파일 – 644 2024. 4. 6.
mysql 백업 및 복구 1. DB백업 sudo mysqldump -uroot -p mogibu_wp > mogibu_wp .sql 2. DB복원 sudo mysql -uroot -p mogibu_wp < mogibu_wp.sql 출처: https://prinha.tistory.com/entry/Linux-Ubuntu-MySQL-데이터베이스DB-백업복원 2024. 4. 6.
절전모드 해제 절전모드 비활성화 아래의 명령어를 실행하면 절전모드로 전환되는 것을 비활성화할 수 있다. systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 절전모드 활성화 아래 명령은 절전모드를 활성화한다. systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target 2024. 4. 6.
Ubuntu 20.04에서 NTFS Read/Write로 Mount 하기 https://kibua20.tistory.com/225 2024. 4. 6.
워드프레스 업로드 권한이 없다? 업로드하려고 하는 파일 mime 형식을 WP MIME 유형 추가 플러그인 을 설치 하고 해당 파일 mime 형식을 지정 저장하고 테마 (차일드 테마) 의 funtions.php 안에 다음 내용 추가 저장 function my_custom_mime_types( $mimes ) { // New allowed mime types - 새롭게 허용하는 mime 타입 $mimes['svg'] = 'image/svg+xml'; $mimes['svgz'] = 'image/svg+xml'; $mimes['doc'] = 'application/msword'; // Optional. Remove a mime type. - (선택 사항) mime type 제거 unset( $mimes['exe'] ); return $mime.. 2024. 4. 6.
wordpress 이전할 때 1. http://ip_address/dbmyadmin/index.php?route=/ 에서 워드프레스 DB 백업 2. wp-content 폴더 다운로드 후 압축 3. 이전할 곳에 워드프레스 설치 - DB 이름이나 사용자 등 동일하게 wp-config.php 참고 4. 압축한 wp-content 폴더 업로드 5. dbmyadmin 에서 3번에 설치된 wp_DB 선택 후 내용 전부 삭제 후 1번에서 백업한 파일 가져오기로 올리기 요래 해야 될 듯.... 맨날 마음만 앞서 백업한 거 올리고 다시 설치하니 에러가 날 수밖에... 쩝~ phpmyadmin backup 내보내기 메뉴를 클릭하면 현재 서버에서 데이터베 이스를 내보내기'라고 나옵니다. 방법은 퀵과 커스 텀이 있는데 퀵의 경우 모든DB들이 백업에 포함.. 2024. 4. 6.
phpmyadmin 업그레이드 https://www.phpmyadmin.net/downloads/ phpmyadmin 설정 파일 path = /var/www/html/dbmyadmin Upgrading from an older version Warning Never extract the new version over an existing installation of phpMyAdmin, always first remove the old files keeping just the configuration. This way, you will not leave any old or outdated files in the directory, which can have severe security implications or can cause v.. 2024. 4. 6.
Letsencrypt 퍼미션 755 root:root 2024. 4. 5.
서버 이전 방법 https://besttip.tistory.com/12 https://blog.wishket.com/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4-%EB%B0%B1%EC%97%85-%EB%B3%B5%EC%9B%90-%EC%9D%B4-%EA%B8%80-%ED%95%98%EB%82%98%EB%A1%9C-%EB%81%9D%EB%82%B4%EC%84%B8%EC%9A%94/ https://kr.godaddy.com/help/migrate-my-wordpress-site-manually-27392 워드프레스 사이트의 데이터베이스 내보내기 방법은 현재 호스트에 따라 다릅니다. 이 단계에서는 phpMyAdmin을 사용하는 cPanel(많은 워드프레스 사용자와 마찬가지로)을 사용하는 .. 2024. 4. 5.
odroid-M1 https://whoisit.tistory.com/633 2024. 4. 5.