반응형

우분투 리눅스에 원격데스크톱 서버를 설치할 수 있다.

 

RealVNC 도 있으나 이것은, 상업적으로 사용할 경우 유료이고,

이 원천 소스인 TightVNC도 있으니 이것을 설치하고

 

참고: https://www.whatwant.com/840

 

tightVNC Server 설치하기 (Ubuntu 12.04, 14.04, 16.04)

회사에서 VNC를 사용하고자 하는데, RealVNC 라는 업체에서 제공하는 것은 왠지 찝찝했다. 그러다가 발견한 문구 !!! "free for both personal and commercial usage, with full source code available" http://ww..

www.whatwant.com

뷰어는 RealVNC 뷰어를 사용한다.

 

참고: https://geeksvoyage.com/raspberry%20pi/ssh-vnc-for-pi/

 

라즈베리파이3 B+ 설치가이드(3) ssh와 vnc 연결하기

라즈베리파이 원격 접속을 위한 ssh와 vnc 설정 방법입니다.

geeksvoyage.com

실제 동작하는 부분 확인하였다.

반응형
반응형

참고 자료: https://askubuntu.com/questions/629995/apache-not-able-to-restart

 

Apache not able to restart

Trying to restart apache from terminal using following command: sudo service apache2 restart when executing that command getting below error: Job for apache2.service failed. See "systemctl status

askubuntu.com

apache2 같은 경우

 

다음과 같이 에러나 나면서 실행이 안될 수 있습니다.


● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-05-27 15:26:18 KST; 37ms ago
  Process: 4183 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

 5월 27 15:26:18 ns systemd[1]: Starting The Apache HTTP Server...
 5월 27 15:26:18 ns apachectl[4183]: apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
 5월 27 15:26:18 ns apachectl[4183]: Action 'start' failed.
 5월 27 15:26:18 ns apachectl[4183]: The Apache error log may have more information.
 5월 27 15:26:18 ns systemd[1]: apache2.service: Control process exited, code=exited status=1
 5월 27 15:26:18 ns systemd[1]: Failed to start The Apache HTTP Server.
 5월 27 15:26:18 ns systemd[1]: apache2.service: Unit entered failed state.
 5월 27 15:26:18 ns systemd[1]: apache2.service: Failed with result 'exit-code'.

 

이런경우, 삭제 후 재설치 해야 하는데, 그 방법도 단순히 apt-get  install, apt-get remove 로는 되지 않습니다.

 

The problem is because some configuration files are deleted, you have to reinstall it.

 

REINSTALL APACHE2:

 

To replace configuration files that have been deleted, without purging the package, you can do:

 

sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2

 

To fully remove the apache2 config files, you should:

 

sudo apt-get purge apache2

 

which will then let you reinstall it in the usual way with:

 

sudo apt-get install apache2

 

Purge is required to remove all the config files - if you delete the config files but only remove the package, then this is remembered & missing config files are not reinstalled by default.

 

 

반응형
반응형

 

출처:  https://askubuntu.com/questions/544197/how-to-change-the-index-of-template

 

 

 

To change style

 

Use the IndexStyleSheet directive. For example:

 

IndexStyleSheet "/css/style.css"

 

The /etc/apache2/sites-enabled/your_site.conf file should looks like:

 

<VirtualHost *:80> ServerName something.com DocumentRoot /var/www/ IndexStyleSheet "/css/style.css" ...</VirtualHost>

 

And the /var/www/css/style.css stylesheet:

 

body { color: red; }

 

Result:

반응형
반응형

음뫄...


담에 이거 한번 해보자.


https://www.thewordcracker.com/miscellaneous/%EC%84%9C%EB%B8%8C%EB%94%94%EB%A0%89%ED%84%B0%EB%A6%AC%EC%97%90%EC%84%9C-%EC%84%9C%EB%B8%8C%EB%8F%84%EB%A9%94%EC%9D%B8%EC%9C%BC%EB%A1%9C-301-%EB%A6%AC%EB%94%94%EB%A0%89%EC%85%98/

http://blog.hobbang.net/35
http://blog.fake.kr/421

https://www.dothome.co.kr/my/manual/etc/03.php

http://goopia.com/b/B11-17





반응형
반응형



https://blog.lael.be/post/6308

버그 상태도 확인할 수 있는 방법이 적혀 있음

- 2018.11.08 


https://pringles.tistory.com/10

두번째 도메인 이상의 네임서버 지정하는 부분에 대한 설명을 포함하여,

설명이 아주 정확하고 자세하게 적혀 있음

- 2019.01.28






참고 사이트:

 http://html5around.com/wordpress/tutorials/ubuntu-bind9-local-dns-setup/

 http://zzaps.tistory.com/243?category=582309

 http://zzaps.tistory.com/244?category=582309



1?5.1?1.1?7.79 아이피에

도메인 2개 ( kagok.co.kr gagok.kr ) 를 세팅하는 경우이다.



$ sudo apt-get install bind9 '설치

$ cat /etc/hosts                  '확인

$ sudo nano /etc/bind/named.conf.options


options {

        directory "/var/cache/bind";


        // If there is a firewall between you and nameservers you want

        // to talk to, you may need to fix the firewall to allow multiple

        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113


        // If your ISP provided one or more IP addresses for stable

        // nameservers, you probably want to use them as forwarders.

        // Uncomment the following block, and insert the addresses replacing

        // the all-0's placeholder.


        // forwarders {

        //      0.0.0.0;

        // };


forwarders {

                168.126.63.1;

                168.126.63.2;

                8.8.8.8;

}


$sudo nano /etc/bind/named.conf.local


//

// Do any local configuration here

//


// Consider adding the 1918 zones here, if they are not used in your

// organization

//include "/etc/bind/zones.rfc1918";


zone "kagok.co.kr" IN {

        type master;

        file "/etc/bind/zones/kagok.co.kr.db";

};


zone "gagok.kr" IN {

        type master;

        file "/etc/bind/zones/gagok.kr.db";

};


zone "1?7.1?1.1?5.in-addr.arpa" {

        type master;
        file "/etc/bind/zones/rev.1?7.1?1.1?5.in-addr.arpa";
};


$sudo mkdir /etc/bind/zones

$cd /etc/bind/zones

$sudo cp ../db.local kagok.co.kr.db

$sudo cp ../db.local gagok.kr.db

$sudo cp ../db.local rev.1?1.1?1.1?5.in-addr.arpa


$sudo nano kagok.co.kr.db


;

; BIND data file for local loopback interface

;


$ORIGIN .

$TTL 604800

kagok.co.kr. IN SOA ns.kagok.co.kr. master.kagok.co.kr. (

 10 ; Serial

 604800 ; Refresh

 86400 ; Retry

 2419200 ; Expire

 604800 ) ; Negative Cache TTL

;

kagok.co.kr. IN NS ns.kagok.co.kr.

kagok.co.kr. IN A 1?5.1?1.1?7.79


$ORIGIN kagok.co.kr.


localhost IN A 127.0.0.1


mail IN A 1?5.1?1.1?7.79

ns IN A 1?5.1?1.1?7.79

www IN A 1?5.1?1.1?7.79

mz IN A 1?5.1?1.1?7.79

a IN A 1?5.1?1.1?7.79

z IN A 1?5.1?1.1?7.79

zz IN A 1?5.1?1.1?7.79

zzz IN A 1?5.1?1.1?7.79



$sudo nano gagok.kr.db


;

; BIND data file for local loopback interface

;

$TTL 604800

@ IN SOA gagok.kr. root.gagok.kr. (

      2 ; Serial

604800 ; Refresh

  86400 ; Retry

2419200 ; Expire

604800 ) ; Negative Cache TTL

;

@ IN NS gagok.kr.

@ IN A 1?5.1?1.1?7.79

@ IN AAAA ::1

IN A 1?5.1?1.1?7.79

g IN A 1?5.1?1.1?7.79

www IN A 1?5.1?1.1?7.79


$sudo nano rev.1?1.1?1.1?5.in-addr.arpa


;

; BIND reverse data file for broadcast zone

;

$TTL 604800

@ IN SOA ns.kagok.co.kr. master.kagok.co.kr. (

 14 ; Serial

 604800 ; Refresh

 86400 ; Retry

 2419200 ; Expire

 604800 ) ; Negative Cache TTL

;

@ IN NS ns.kagok.co.kr.

79 IN PTR www.kagok.co.kr.

79 IN PTR mz.kagok.co.kr.

79 IN PTR a.kagok.co.kr.

79 IN PTR mail.kagok.co.kr.

79 IN PTR z.kagok.co.kr.

79 IN PTR zz.kagok.co.kr.

79 IN PTR zzz.kagok.co.kr.

79 IN PTR gagok.kr.

79 IN PTR www.gagok.kr.

79 IN PTR g.gagok.kr.


$sudo service bind9 restart



반응형
반응형

아 다 된거 같은데 ...


이상하게 .. 웹 상에서 로그인이 안되네.. 저장소가 없다고 ;;;


다시 설치


설치에 기본적으로 따라한 사이트:

  파트 1: http://zzaps.tistory.com/312

  파트 2: http://zzaps.tistory.com/313?category=582309


메일 서버 세팅하기 - postfix, dovecot, roundcube

출처: http://zzaps.tistory.com/312 [궁극의 잡 블로그]
메일 서버 세팅하기 - postfix, dovecot, roundcube

출처: http://zzaps.tistory.com/312 [궁극의 잡 블로그]
메일 서버 세팅하기 - postfix, dovecot, roundcube

출처: http://zzaps.tistory.com/312 [궁극의 잡 블로그]

위사이트 진행 중 오류날 때 참고한 사이트:

  http://archmond.net/?p=7835


플러스 참고 사이트:

  http://blog.msnote.co.kr/43

  http://www.digistory.co.kr/?p=385

반응형
반응형

우분투 음악 스트리밍 서버 구축


구축 방법은 업데이트


http://blog.djjproject.com/57


https://www.google.co.kr/search?client=opera&q=우분투+음악+스트리밍+서버&sourceid=opera&ie=UTF-8&oe=UTF-8



반응형
반응형

우분투 동영상 스트리밍 서버


구축 방법은 업데이트



https://www.google.co.kr/search?client=opera&q=우분투+동영상+스트리밍+서버&sourceid=opera&ie=UTF-8&oe=UTF-8


http://hobby.tw/440    plex 영화정보 플러그인 설치 방법

반응형

+ Recent posts