Ubuntu 22.04.4 LTS 에서 진행 하였습니다.
공식 문서 보기 어려울 경우 맨 아래 추천 유튜버 영상 보고 진행 하시면됩니다.
다만 유튜버가 진행하던때와 공식문서가 틀려져 있기 때문에 잘 살펴보고 진행하세요.
0. 들어가기에 앞서
- vi과 터미널을 사용합니다. 사용법 모르실경우 아래 참조
https://ashton0410.tistory.com/entry/OSLinux-command-%EC%A0%95%EB%A6%AC
[OS][Linux] Basic command (리눅스 기본 명령어)
◎ Terminal 기초 command Ctrl + C: 현재 실행 중인 프로세스를 종료합니다. Ctrl + D: 현재 터미널 세션을 종료합니다. Ctrl + Z: 현재 실행 중인 프로세스를 일시 중지합니다. Ctrl + L: 터미널 화면을 지웁니
ashton0410.tistory.com
[OS][Linux] Vim command (리눅스 빔 명령어)
Linux Vim(리눅스 빔)은 마우스를 쓰지 않은 상태에서 문서를 작성하는 강력한 문서편집기이다. 입력모드 i insert 현재 위치에서 편집모드로 I Insert 현재 줄 처음위치에서 a append 현재 커서 다음위치
ashton0410.tistory.com
- 시스템 요구사항 참조
https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html
System requirements — Nextcloud latest Administration Manual latest documentation
For the best experience with the Nextcloud web interface, we recommend that you use the latest and supported version of a browser from this list, or one based on those: Note If you want to use Nextcloud Talk you should use Mozilla Firefox 52+ or Google Chr
docs.nextcloud.com
기본 패키지 설치
https://docs.nextcloud.com/server/latest/admin_manual/installation/example_ubuntu.html
Example installation on Ubuntu 22.04 LTS — Nextcloud latest Administration Manual latest documentation
Example installation on Ubuntu 22.04 LTS You can use .deb packages to install the required and recommended modules for a typical Nextcloud installation, using Apache and MariaDB, by issuing the following commands in a terminal: sudo apt update && sudo apt
docs.nextcloud.com
- php-curl관련 에러가 뜬다면
sudo apt update
sudo apt install php-curl
sudo apt install php-curl php-mbstring php-intl php-gmp php-bcmath php-xml php-imagick php-zip
- 파일 다운이 어렵다면 아래 참조
https://nextcloud.com/install/#instructions-server 에서 커뮤니티프로젝트
#다운로드한 폴더로 이동해서
unzip latest.zip
# 다운받은 파일 이름
아래 사진 부분은 넘어가고
sudo cp -r nextcloud /var/www
sudo chown -R www-data:www-data /var/www/nextcloud
Apache 웹 서버 구성
https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html
Installation on Linux — Nextcloud latest Administration Manual latest documentation
There are multiple ways of installing Nextcloud depending on your preferences, requirements and goals. In case you prefer installing from the source tarball, you can setup Nextcloud from scratch using a classic LAMP stack (Linux, Apache, MySQL/MariaDB, PHP
docs.nextcloud.com
- /etc/apache2/sites-available/nextcloud.conf 만드는 법은 아래 같이 vi이용
sudo vi /etc/apache2/sites-available/nextcloud.conf
- 구성 apache 구성부분 앞에 sudo 입력
0 데이터베이스 설정(mriaDB)
Database configuration — Nextcloud latest Administration Manual latest documentation
For setting up Nextcloud to use any database, use the instructions in Installation wizard. You should not have to edit the respective values in the config/config.php. However, in special cases (for example, if you want to connect your Nextcloud instance to
docs.nextcloud.com
https://docs.nextcloud.com/server/latest/admin_manual/installation/installation_wizard.html
Installation wizard — Nextcloud latest Administration Manual latest documentation
Database choice SQLite is the default database for Nextcloud Server and it is good only for testing and lightweight single-user setups without client synchronization. Supported databases are MySQL, MariaDB, Oracle 11g, and PostgreSQL, and we recommend MySQ
docs.nextcloud.com
IP/nextcloud 형태로 외부에서 접속가능
- 관련 설정
sudo vi /var/www/nextclould/config/config.php
0 => 'localhost'아래에 ,(쉼표) 하고
1 => 'ip나 도메인주소' 적어 넣으면 된다.
추천 유튜버
https://www.youtube.com/watch?v=xvKHHhQk-gY&t=266s
'OS & Hardware > Linux_ubuntu' 카테고리의 다른 글
우분투 노트북에서 cpu power 제한 (0) | 2024.07.07 |
---|---|
리눅스 우분투에 R과 R studio 설치 (0) | 2024.07.07 |
우분투 gnome(그놈) 확장 추가 : Burn My Windows (0) | 2024.04.25 |
ubuntu(우분투) wine(와인) 설치, 프로그램 추가 삭제, 한글 깨짐, 버젼확인 (0) | 2024.04.25 |
Ubuntu(우분투)에 retropie(레트로파이) 설치 _고전게임 에뮬레이터 (0) | 2024.04.25 |