본문 바로가기

분류 전체보기1804

리눅스_우분투_두루팔9 설치 How to Install Drupal 9 on Ubuntu 22.04 출처: https://www.linuxtuto.com/how-to-install-drupal-9-on-ubuntu-22-04/ Drupal is an open-source and popular content management tool that is the foundation of many websites across the internet. It has great standard features, like easy content authoring, reliable performance, and excellent security. Flexibility and modularity are some of the core principles.. 2022. 12. 1.
시스템_운영 매뉴얼(개인, 테스트용) 웹서버 기동 $ sudo systemctl start apache2 $ sudo systemctl enable apache2 redmaine 기동 bundle exec rails server -u webrick -e production 접속 http://server-IP-or-Hostname:3000 ID: admin PW: 'p...wd@.....' (설치 후 초기값: admin) 점검 포트 점검 sudo lsof -i :3000 장애 시 virtualhost /etc/apache2/sites-available$ vi 000-default.conf Drupal 관리자 페이지 http://IP/drupal/ ID: admin PW:admin 2022. 12. 1.
리눅스_쉘 스크립트_반복문(for 문) 쉘 스크립트 반복문(for 문) 출처: https://kugancity.tistory.com/entry/shell-script-for-%EB%AC%B8-%EC%82%AC%EC%9A%A9-%EC%98%88%EC%8B%9C for i in tmp tmp/pdf public/plugin_assets; do [ -d $i ] || mkdir -p $i; done 쉘 스크립트에서 for문 사용 예시 - 기본 #!/bin/bash for i in 1 2 3 4 5 do echo "Welcome $i times" done - 배열 사용하기 #!/bin/bash arrayname=(value1 value2) for i in ${arrayname[@]} do echo "Welcome $i times" done - 숫자범.. 2022. 12. 1.
정보관리_MariaDB 접속 방법과 데이터베이스, 사용자 계정 생성 MariaDB 접속 방법과 데이터베이스, 사용자 계정 생성 DataBase/MariaDB & MySQL 2017. 9. 23. 16:34 출처: https://zorba91.tistory.com/4 1. MariaDB 접속 방법: 1) 터미널에서 mysql 서버를 돌린다. mysql.server start 2) MariaDB에 접속해보자. mysql -u root (명령문을 몇개 돌려보니 추측컨대, mysql -u (사용자 계정 이름) -p (데이터베이스 명)을 입력하면 접속 가능한 것 같다.) 참고: query문 말고 mysql의 명령문이 궁금하다면, help를 치면 된다. (터미널 명령문을 잘 몰라서 MariaDB 안에서 밖으로 나오는 방법을 한참 찾았다. quit 또는 \q만 치면 바로 나와졌다.).. 2022. 12. 1.
정보관리_MariaDB_조회, 선택, 생성, 삭제 [MariaDB] 데이터베이스 조회,선택,생성,삭제 하기 2021. 12. 21. 10:27 출처: https://dalkongzzang.tistory.com/25 create, db, drop, MariaDB, mysql, show, Use, 삭제, 생성, 조회 준비0. MariaDB 설치 후, MySQL Client (MariaDB) 실행 MySQL Client 준비1. password 입력 후 로그인 데이터베이스 조회 (SHOW) - 아직 데이터베이스가 선택되지 않아 MariaDB 우측에 (none) 으로 표시되고 있다. 존재 하는 데이터 베이스를 확인하기 위해서는 show databases; 명령을 입력한다. 데이터베이스 선택 (USE) - 데이터베이스 목록 중 선택하고자 하는 DB 가 있으면 u.. 2022. 12. 1.