본문 바로가기

전체 글4013

남사량 모임 달동 청해생아구찜생복에서... 2024. 4. 6.
워드프레스 파일 퍼미션 워드프레스 사이트에서 권장되는 파일 퍼미션 설정은 다음과 같습니다. 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.
Git 명령어 일람 출처 https://hackmd.io/@oW_dDxdsRoSpl0M64Tfg2g/ByfwpNJ-K Git 설치 & 환경설정 Git 설치하기 : https://git-scm.com/ 설치 완료 후 Git bash 열기 git bash 에서 환경설정 하기 Step 1 : 유저이름 설정 git config --global user.name "mogibu" Step 2 : 유저 이메일 설정하기 git config --global user.email "mogibu@gmail.com" Github가입시 사용한 이메일을 써주세요! Step 3 : 정보 확인하기 git config --list Github에 처음 코드 업로드하기 초기화 git init 추가할 파일 더하기 git add . .(점) 은 모든 파일이라는 .. 2024. 4. 4.