본문 바로가기

Ubuntu server

(7)
[IKEv2/Windows] VPN 접속 시도 시 매개 변수가 틀립니다. 1. 명령 처리기 cmd 를 관리자 권한으로 열어서 아래를 실행 netsh int ip reset netsh int ipv6 reset netsh winsock reset 2. 재부팅 3. 장치관리자에서 네트워크 어댑터를 열어 WAN miniport 를 전부 삭제 4. 하드웨어 변경사항 검색을 누르면 다시 생김. 5. IKEv2 VPN의 인증서를 다시 설치하고 VPN을 연결한다.
[VPN/IKEv2] StrongSwan Client Setting for Android This VPN referred to https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04#step-1-%E2%80%94-installing-strongswan Download the StrongSwan app on your phone, and then import a certificate. And add VPN profile. Server: xxx.iptime.org VPN Type: IKEv2 EAP(username/password) Username: ??? password: ??? Then, check the box of 'Show advanced ..
[Ubuntu_server_16.04] Torrent server 만들기 먼저 토렌트 파일과 다운받은 파일을 관리할 폴더를 임의로 생성한다.sudo mkdir /torrent transmission-daemon 설치하기sudo apt-get install transmission-daemon 일단 토렌트 서비스를 중지한다(실행중이면 설정 파일 수정이 안된다.)sudo service transmission-daemon stop 다음 두 파일에서 동일하게 다음 문단과 같은 수정이 필요하다sudo vi /etc/transmission-daemon/settings.jsonsudo vi /var/lib/transmission-daemon/info/settings.json 위의 두 파일을 차례대로 열어서 다음 항목들을 수정한다. "rpc-username": "아이디 정하세요","rpc-w..
[Ubuntu_Server_16.04] 웹서버 구축(apache2, php7.0, mysql) sudo apt-get update sudo apt-get install apache2 ifconfig 를 쳐서 ip를 알아낸 후 인터넷 창에 적어서 아파치 페이지가 나오는지 확인한다 sudo apt-get install mysql-serversudo apt-get install mysql-client sudo apt-get install php7.0 libapache2-mod-php7.0 php-mcrypt php-mysql php-mbstring php7.0-mbstring php-gettext sudo vim /etc/apache2/mods-enabled/dir.conf키보드 i 눌러 수정index.php를 가장 앞으로 오게 한다. //기본 페이지를 index.php로 설정하는 것, 테스트 용ESC..
[Ubuntu_server_16.04] 서버 설치 후 검은 화면만 뜰 때 Ctrl + Alt + F1 을 눌러본다. 이래도 안되면 설치가 잘못되었을 것이다. USB로 설치를 할 때 USB를 기본 드라이브로 잘못 잡았다면 재설치를 해본다.
우분투 서버 튜토리얼 관련 블로그 주소 NAS를 구성하기 위한 튜토리얼 (4번부터 7번까지만 따라해도 개인 클라우드를 이용할 수 있게 된다)http://psychoria.tistory.com/488 IP 고정 설정 방법http://blog.rakjoon.net/41 http://aquua.tistory.com/148?srchid=BR1http://aquua.tistory.com/148 http://egloos.zum.com/lpolpo/v/476 도커 사용법http://pythonkim.tistory.com/30
[Ubuntu_server_16.04] 노트북 화면 닫아도 안꺼지게 하는 방법 다음을 진행하면 노트북 화면을 닫아도 시스템이 꺼지지 않는다 1. 파일을 연다sudo vi /etc/systemd/logind.conf 2. 수정을 위해 i를 누른다 3. #HandleLidSwitch=suspend를HandleLidSwitch=ignore로 바꾼다 4. ESC 버튼을 누른 후 :wq를 눌러 저장한다. 5. 다음을 입력하여 서비스 재시작sudo service systemd-logind restart