11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


gt-king-pro_2)Apache2 설치 및 AB(Apache Benchmark tool) 샐행 및 debian-on-termux 설치

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    Apache2 설치 및 AB(Apache Benchmark tool) 샐행 및 debian-on-termux 설치


     # 

    https://m.blog.naver.com/PostView.nhn?blogId=nettrail&logNo=221588044681&proxyReferer=https://www.google.com/

    내용 참조하여

    . Apache2 설치 및 AB(Apache Benchmark tool) 샐행
    Termux는 /data/data/com.termux/files/usr/ 아래에 파일 root 파일시스템이 설치된다.
    환경분수로 설정되어 있는데 home은 ~ 으로, root는 $PREFIX로 참조하면 된다.(예. cd ~ , cd $PREFIX)
    따라서, 설정파일(conf) 등의 경로를 조정해 주어야 하는 번거로움이 있다.
       
        (1)  apache2를 설치한다.
    설치명령어 : pkg install apache2

        (2) apache2를 기동한다.
        기본상태에서 기동하면 ServerName을 정의하라는 경고메시지가 나온다.
        경고메시지를 안보려면 ifconfig를 확인해서 httpd.conf파일에 ip를 설정해 주면 된다.
        아니면, 그냥 ServerName localhost 룰 추가해 줘도 된다.
        (명령어에서 xxx.xxx.xxx.xxx 부분)
        핸드폰 웹브라우저에서 http://localhost:8080 주소로 페이지가 열리면 정상이다.
    ​편집명령어 : vi $PREFIX/etc/apache2/httpd.conf
    추가할내용 : ServerName xxx.xxx.xxx.xxx
    간편추가명령어 : echo "ServerName xxx.xxx.xxx.xxx" >> PREFIX/etc/apache2/httpd.conf
                    또는 : echo "ServerName localhost" >> $PREFIX/etc/apache2/httpd.conf
    기동명령어 : apachectl start


        (3) ab(Apache Benchmark)를 실행한다.
        아파치에서 제공하는 벤치마크툴을 이용해서 성능을 테스트해 본다.
        동시접속(-c) 100에 접속(-n) 30000으로 테스트 해 본다.
        동시접속 100이상인 경우 몇몇 기종에서 서버포트리셋 등이 일어낫으므로
        비교를 위해 100이하로 하는 것이 적당한 것 같다.
    ​실행명령어 : ab -n 30000 -c 100 http://localhost:8080/


    3232235521_1574583313.6867.png

    http://192.168.0.127:8080/

    3232235521_1574583509.6015.png

    5. Debian배포판 설치(AnLinux 스크립트 사용)

        (1) AnLinux 를 설치한다.
              AnLinux를 설치한다.

    https://apkpure.com/kr/anlinux-run-linux-on-android-without-root-access/exa.lnx.a

    $ cd ~

    $ ls

    UnixBench  UnixBench5.1.3.tgz  kali-armhf  kalinethunter

    $ cd ..

    $ ls

    home  usr

    $ find ./ -name start*.*

    ./home/kali-armhf/usr/bin/start-msf.sh

    ./home/kali-armhf/usr/bin/start-nat-transproxy-lollipop.sh

    ./home/kali-armhf/usr/bin/start-update.sh

    ./home/kali-armhf/usr/share/man/man8/start-stop-daemon.8.gz

    ./home/kali-armhf/usr/share/man/fr/man8/start-stop-daemon.8.gz

    ./home/kali-armhf/usr/share/man/nl/man8/start-stop-daemon.8.gz

    ./home/kali-armhf/usr/share/man/de/man8/start-stop-daemon.8.gz

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-simple-bdf-lollipop.sh

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-simple-bdf-kitkat.sh

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-full-lollipop.sh

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-simple-lollipop.sh

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-simple-kitkat.sh

    ./home/kali-armhf/usr/share/mana-toolkit/run-mana/start-nat-full-kitkat.sh

    ./usr/share/scan-view/startfile.py

    ./usr/share/man/man3/start_color.3ncurses.gz

    ./usr/share/man/man3/start_color_sp.3ncurses.gz

    ./usr/share/vim/vim81/doc/starting.txt

    $ cd

    ============
    실패
    ------------------------

    debian-on-termux

    what is it

    • a shell script to install Debian 9 (stretch) via debootstrap in a Termux environment
    • supported Debian versions include: stable (stretch), testing (buster), unstable
    • supported architectures include: armel, armhf, arm64, i386, amd64

    how to use it

    • install Termux

    • download debian_on_termux.sh from debian-on-termux into your termux home directory

        cd /data/data/com.termux/files/home
        apt update
        apt install wget
        hash -r
        wget https://raw.githubusercontent.com/sp4rkie/debian-on-termux/master/debian_on_termux.sh
      
    • optionaly check the configuration lines near the top of the script.

    • execute the script

        sh debian_on_termux.sh
      
    • to watch the installation process type

        tail -F $HOME/deboot_debian/debootstrap/debootstrap.log
      
    • if all went well (takes about 30min on the hardware below) a script is created to enter the debian guest system

        $HOME/bin/enter_deb
      
        Usage: enter_deb [options] [command]
        enter_deb: enter the installed debian guest system
      
          -0 - mimic root (default)
          -n - prefer regular termux uid (termux-uid)
      
    • sample usage: debian shell (stay in chrooted debian)

        bash-4.4$ enter_deb
        root@localhost:~#
      
    • sample usage: debian one-shot command (execute in chrooted debian and return to the host environment)

        bash-4.4$ enter_deb -n id\; hostname\; pwd\; cat /etc/debian_\*
        uid=10228(u0_a228) gid=10228(u0_a228) groups=10228(u0_a228),3003,9997,50228
        localhost
        /home/u0_a228
        9.1
        bash-4.4$
      
    • for suggestions or in the unlikely event of a problem just raise an issue here:-)

    alternatives

    reference

    How to install Debian 9.2 chroot termux? #1645

    Issues

    Without a pull request are not likely to be addressed.

    ===========

    sh debian_on_termux.sh


    3232235521_1574586437.7191.png

    $HOME/bin/enter_deb


    3232235521_1574586603.7282.png


    <데비안 버전 확인>

    debian version checking

    apt-get install lsb-release


     lsb_release -da

    cat /etc/os-release

    3232235521_1574780635.5008.png

    root@localhost:/etc# lsb_release -da

    No LSB modules are available.

    Distributor ID: Debian

    Description:    Debian GNU/Linux 10 (buster)

    Release:        10

    Codename:       buster

    root@localhost:/etc# cat /etc/os-release

    PRETTY_NAME="Debian GNU/Linux 10 (buster)"

    NAME="Debian GNU/Linux"

    VERSION_ID="10"

    VERSION="10 (buster)"

    VERSION_CODENAME=buster

    ID=debian

    HOME_URL="https://www.debian.org/"

    SUPPORT_URL="https://www.debian.org/support"

    BUG_REPORT_URL="https://bugs.debian.org/"

    root@localhost:/etc#

    ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    데비안 버전 확인
    Check what Debian version you are running on your Linux system
    https://linuxconfig.org/check-what-debian-version-you-are-running-on-your-linux-system

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    debian version checking
    apt-get install lsb-release

    root@localhost:/etc# lsb_release -da
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 10 (buster)
    Release:        10
    Codename:      buster
    root@localhost:/etc# cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 10 (buster)"
    NAME="Debian GNU/Linux"
    VERSION_ID="10"
    VERSION="10 (buster)"
    VERSION_CODENAME=buster
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"
    root@localhost:/etc#

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    apt-get install debootstrap
    ===================
    https://wiki.debian.org/Debootstrap
    main # mkdir /stable-chroot
    main # debootstrap stable /stable-chroot http://deb.debian.org/debian/

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 63 Page
    [ 댓글/ 코멘트 comments 에서 html 소스가 모두 보이는것 해결 ] 댓글 4

    .댓글에서는 태그 안먹이나요 ? 진행중 \r\n\r\n\r\n서비꼬 \r\n작성일시 2009.10.20 13:29:24 \r\n조회 474 \r…

    [ [홈피up]아미나 스킨 홈페이지 상단 그림아이콘 변경하기 ]

    ### ■ https://11q.kr는 정보를 찾아 공유 합니다.. ■ https://11q.kr\n[이 게시물은 관리자님에 의해 2013-11…

    [ 첫화면을 전체게시글(new.php)로 접속하는 팁 ] 댓글 1

    모바일접속시 첫화면을 전체게시글(new.php)로 접속하는 팁좀알려주세요??모바일화면은 PC화면과 달라서첫 접속화면에 전체게시글이 기본적으로 보…

    [ 시놀로지 NAS MEMORY DS712PLUS 메모리 HDD 하드 교체 홈피 정상 구동하기(사례) ] 댓글 2

    시놀로지 nas ds712plus hdd교체하기\r\n\r\n필수백업)백업을 web폴더및 mysql data를 백업한다\r\n하드웨어 구성)\r…

    [ 시놀로지 나스 nas vpn 주인장 장비 설정 하기 ]

    ♠vpn 설정 정보 자료링크 VPN 설정 참조 설치 바라며http://studyforus.tistory.com/212http://cafe.nav…

    [ 아미나 빌드 업데이트후 로그인 상단 글씨 로그인 상단글씨 클릭하면 팝업 되지 않을시 ]

    ♠개인적인 문제)로그인 상단 글씨 pc/모바일 모두 모바일 모드에서 로그인 상단글씨 클릭하면 팝업 되지 않을시......> 팝업메뉴가 안되…

    [ 인텔 정품 cpu 팬 높이 치수 / mini-itx 보드에 나스케이스 cpu 팬 (높이) 쿨러 구입 정보… ]

    인텔 정품 cpu 팬 높이 치수 / mini-itx 보드에 나스케이스 cpu 팬 (높이) 쿨러 구입 정보 가격 참조팬 종료별 비교 http://…

    [ [정보] VMware Player를 이용해서 XPEnology/Synology /헤놀로지 윈도우 서버 201… ] 댓글 4

    ♠[정보] VMware Player를 이용해서 XPEnology/Synology\r\n/헤놀로지 윈도우 서버 2016 구축 설치사용기 입니다\r…

    [ SK 인터넷과 IPTV 연결과 사설공유기 pc연결시 기존 IPTV와 PC 랜 연결시 화면 끝김 발생 대응 … ] 댓글 1

    SK 인터넷과 IPTV 연결과 사설공유기 pc연결시 기존 IPTV와 PC 랜 연결시 화면 끝김 발생 대응 허브및 공유기 ,서버 연결도기존 : I…

    [ MS 정품 무료 웹에디터 배포 다운로드(Microsoft Microsoft Expression Web 4) ] 댓글 8

    MS정품무료웹에디터배포다운로드(MicrosoftMicrosoftExpression\Web4)-홈페이지나블로그또는다양한웹페이지를만들때아마도HTML…

    [ 패리티 일괄성검사 빠르게 하는방법(dsm6)_시놀로지/헤놀로지 윈도우 vmware 사용자 ]

    시놀로지/헤놀로지 윈도우 vmware 사용자 패리티 일괄성검사 빠르게 하는방법\r\n1) 초기 하드구성을 볼륨단위로 묽어서 구성하라\r\n저는 …

    [ 옥션에서 싼값에 디지털TV 셋톱BOX 을 구입 > 셀런 tv / celruntv 새롭게 GHOST PATCH… ] 댓글 23

    옥션에서 싼값에 디지털TV 셋톱BOX 을 구입했는데 이것이 요물 단지 입니다사용상에 문제는 없으나 구글링하여kevin 분의 자료를 받아 업데이트…

    [ pwigo 암호 초기화및 이메일 확인하기 password change 패스워드 변경 하기 ]

    pwigo 암호 초기화및 이메일 확인하기 password change등록된 이메일을 모른다 확인하여 암호 변경https://11q.kr/piwi…

    [ 부하가 적은 파일 전송 FlashFXP 을 이용한 nas용 파일전송 백업 ftp 사용방법기 입니다 ] 댓글 5

    부하가 적은 파일 전송 FlashFXP 을 이용한 nas용 파일전송 백업 ftp 사용방법기 입니다FlashFXP에 오신 것을 환영합니다!Flas…

    [ 이메일 서버에서 왜 스펨메일이 생기는지 ?아시는 분 리풀좀 해주세요 ]

    이메일 서버에서 왜 스펨메일이 생기는지 ?아시는 분 리풀좀 해주세요>\r\n>\r\n>\r\n♠ 출처는 링크 참조 바랍니다. h…

    [ 준비)omvs 프로그램을 이용한 S* (B*v) IPTV 주소 따는 방법 준비 ]

    오! 멀티 캐스트 비디오 스캐너\r\n\r\n무료 비디오 스트리밍 멀티 캐스트 IP 주소를 찾을 수 있습니다! 멀티 캐스트\r\n비디오 스캐너.…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-03 12:10:55

    오늘의 홈 현황


    • 현재 접속자♨ 585 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 13 명
    • 오늘 방문자 1,300 명
    • 어제 방문자 2,223 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,410,652 명
    • 전체 게시물※ 8,673 개
    • 전체 댓글수※ 24,818 개
    • 전체 회원수 11,083 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑