반응형








라즈베리파이 2에는 Broadcom BCM2836 애플리케이션 프로세서와 900MHz에서 작동하는 강력한 ARM Cortex-A7 쿼드코어 CPU가 탑재됩니다.

로세서로 인해 라즈베리파이 2는 1세대 라즈베리파이 모델 B+보다 6배 이상 빠르다라고 되어 있네요.

RS가 공급하는 신제품 라즈베리파이 2는 RS의 라이선스 하에 made in the uk 입니다.

라즈베리파이 2를 웹사이트http://kr.rs-online.com/  에서 주문 할수 있다고 합니다. 


좀더 자세한 사항은 http://techcrunch.com/2015/02/02/raspberry-pi-2/?ncid=rss&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Techcrunch+%28TechCrunch%29

으로 확인 해보세요 ..


Raspberry Pi 2 Arrives: 6x Faster

 An “Entry-Level PC” For $35


반응형
반응형






리눅스에서 svn 디렉토리를 모두 삭제하는 방법

쉘에서! 

find . -name .svn -print0 | xargs -0 rm -rf






반응형

'IT이야기 > linux' 카테고리의 다른 글

VNC Server 설치  (0) 2017.07.26
lxr 설치하기  (0) 2014.08.06
masboard에서 프로그램하기  (0) 2014.01.18
marsboard에서 홈서버 및 워드프레스 설치  (2) 2014.01.03
masboard에 ftpserver 설치  (0) 2014.01.01
masboard에서 윈도우 파일 마운트  (0) 2014.01.01
반응형



Lxr 설치 매뉴얼


매뉴얼은 ubuntu 서버 환경으로 제작되어 있습니다.


apatch2 설치

기본적으로 apatch2가 설치 되어 있어야 하며 apt-get install apache2 명령어로 쉽게 설치 할수 있습니다.


glimpse 설치


    . wget http://webglimpse.net/trial/glimpse-latest.tar.gz
    . tar xvfz glimpse-latest.tar.gz
    ./configure && make && sudo make install


lxr 설치 및 환경 세팅


http://packages.ubuntu.com/lucid/all/lxr/download 로 이동하여


lxr_0.3.1-5_all.deb (140801 일기준) 을 받아


dpkg – I v패키지 명으로 하여 설치 할 수 있습니다.


기본 설치는 /usr/share/lxr 에 됩니다.
sudo vi /etc/apache2/sites-available/default
후 다음 내용 추가

Alias /lxr "/usr/share/lxr"

<Directory "/usr/share/lxr">

Options All

AllowOverride All

</Directory>



version 명으로 된 디렉토리 아래 바로 소스를 둘 것이므로 다음처럼 수정합니다.


# The source is here.

sourceroot: /usr/share/lxr/source/$v/

srcrootname: Linux


# Glimpse can be found here.

glimpsebin: /usr/local/bin/glimpse

소스 코드 복사 및 DB 구축
sudo mkdir /usr/share/lxr/source/<VERSION>
sudo cp
소스/usr/share/lxr/source/<VERSION>
cd /usr/share/lxr/source



cd <VERSION>
sudo genxref ./
sudo glimpseindex -H ./ ./검색할위치     ( 생성위치  검색할 위치)



sudo chmod 644 .glimpse_*
sudo chmod 644 fileidx
sudo chmod 644 xref



참고 사이트

http://blog.dasomoli.org/305

반응형
반응형






https://love2d.org/wiki/love.physics_(%ED%95%9C%EA%B5%AD%EC%96%B4)

가서 보니 직관적으로 사용할 수 있는 2d 물리 엔진 입니다. 라고 설명되어 있네요 ..



64-bit를 선택하여 설치 하기로 했습니다. 



 이쁘네요  설치 화면이 정말 이쁘네요 .







설치가 완료 되었습니다. 


음 열심히 덤벼보겠습니다.!! 


화이팅!



반응형
반응형





마스 보드에서 뭐할것이 없을까 고민 끝에 프로그래밍 학습을 하기로 마음을 먹었습니다. 


그럼 우선 gcc를 설치해야되는데 ...   


gcc 가 설치되어 있었습니다. 


언제 설치했지;;




폴더 만들고! 




간단하게 ..코딩!


정상 적으로 되는 것 처럼 보이네요 .



반응형
반응형



좋은 내용인것 같아서 퍼왔습니다. 


위 사이트 가셔서 
<>EMBED 눌르시면 소스를 퍼오실수 있습니다. 

정말 좋은 내용입니다. 많은 분이 읽어보셨으면 좋겠습니다.  

좋은 가르침을 주신 오승준 님께  감사드립니다. 




반응형
반응형




apm 설치


정말 잘정리된 블로그가 있어서 링크!

apach2, php, mysql  설치 방법이 자세히 적혀 있어요.!!! 


VirtualHost를 이용하여 파일링크!  
하나는 워드프레스를 설치를 하려고 합니다.


우선 전 apm 만 설치하고 

 root@A20:/etc/apache2/sites-enabled# pwd

/etc/apache2/sites-enabled


전 실수를 잘하는 타입이라 백업을 해놨습니다.

root@A20:/etc/apache2/sites-enabled# cp 000-default 000-default_bak 


Listen 8082
<VirtualHost *:8082>
AddDefaultCharset UTF-8
        DocumentRoot /www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /www>
                Options Indexes FollowSymLinks MultiViews
                #AllowOverride None
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

추가 하고!  

pure-ftp로 위치 지정하여 워드프레스 파일을 업로드 할준비를 합니다.

pure-pw로  권한 및 경로 지정과 pure-pw 관련 유저추가 및 경로 변경방법은 


 http://theurgistk.tistory.com/185

위 링크를 따라가서 보시면 됩니다.




root@A20:/etc/apache2/sites-enabled# pure-pw list

honam               /www 

경로가 제대로 되어 있는지 확인



워드프레스 사이트이동! 


http://ko.wordpress.org/ 


다운을 받아 앞축을 푼 후 ftp로 업로드 





그리고 인스톨하셔서 사용하시면됩니다!!


그리고 a20으로 접속하였을때는

 http://theurgistk.tistory.com/184

위의 파일을 마운트 한 페이지가 뜸니다.


 그런데 워드프레스는 약간 느린감이 있습니다.^-^;; 





반응형

'IT이야기 > linux' 카테고리의 다른 글

VNC Server 설치  (0) 2017.07.26
리눅스에서 svn 디렉토리를 모두 삭제하는 방법  (0) 2014.10.23
lxr 설치하기  (0) 2014.08.06
masboard에서 프로그램하기  (0) 2014.01.18
masboard에 ftpserver 설치  (0) 2014.01.01
masboard에서 윈도우 파일 마운트  (0) 2014.01.01
반응형







음 ftp server 라고하면 proftp 나 vsftp를 선호하는 분들이 많을꺼지만..

전 ..

pure-ftpd 를 설치 할라고 합니다. 


나를 포함한 일부의 사람들이, 대다수의 사람들이 사용하는 Proftpd 가 아닌, Pure-ftpd 를 사용하는 이유는 보안에 있어서 매우 강력함을 자랑하고, 자체적으로 한글에 대한 지원이 있으며, 쉘 상에서 접속한 사용자와 위치, 화일 전송에 대한 정보 등을 알 수 있기 때문이다 라고 설명되어 있습니다. 


apt-get install pure-ftpd로 설치를 진행~ 

############################################################

root@A20:/share# apt-get install pure-ftpd

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  openbsd-inetd pure-ftpd-common

The following NEW packages will be installed:

  openbsd-inetd pure-ftpd pure-ftpd-common

0 upgraded, 3 newly installed, 0 to remove and 93 not upgraded.

Need to get 425 kB of archives.

After this operation, 942 kB of additional disk space will be used.

Do you want to continue [Y/n]? Y

Get:1 http://ftp.debian.org/debian/ wheezy/main openbsd-inetd armhf 0.20091229-2 [35.2 kB]

Get:2 http://ftp.debian.org/debian/ wheezy/main pure-ftpd-common all 1.0.36-1.1 [185 kB]

Get:3 http://ftp.debian.org/debian/ wheezy/main pure-ftpd armhf 1.0.36-1.1 [205 kB]

Fetched 425 kB in 5s (83.0 kB/s)

Preconfiguring packages ...

Selecting previously unselected package openbsd-inetd.

(Reading database ... 79152 files and directories currently installed.)

Unpacking openbsd-inetd (from .../openbsd-inetd_0.20091229-2_armhf.deb) ...

############################################################



설치 후 유저 생성 및 경로 설정


pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g <gid>]

                -D/-d <home directory> [-c <gecos>]

                [-t <download bandwidth>] [-T <upload bandwidth>]

                [-n <max number of files>] [-N <max Mbytes>]

                [-q <upload ratio>] [-Q <download ratio>]

                [-r <allow client ip>/<mask>] [-R <deny client ip>/<mask>]

                [-i <allow local ip>/<mask>] [-I <deny local ip>/<mask>]

                [-y <max number of concurrent sessions>]

                [-z <hhmm>-<hhmm>] [-m]


pure-pw usermod <login> -f <passwd file> -u <uid> [-g <gid>]

                -D/-d <home directory> -[c <gecos>]

                [-t <download bandwidth>] [-T <upload bandwidth>]

                [-n <max number of files>] [-N <max Mbytes>]

                [-q <upload ratio>] [-Q <download ratio>]

                [-r <allow client ip>/<mask>] [-R <deny client ip>/<mask>]

                [-i <allow local ip>/<mask>] [-I <deny local ip>/<mask>]

                [-y <max number of concurrent sessions>]

                [-z <hhmm>-<hhmm>] [-m]

pure-pw userdel <login> [-f <passwd file>] [-m]

pure-pw passwd  <login> [-f <passwd file>] [-m]

pure-pw show    <login> [-f <passwd file>]

pure-pw mkdb    [<puredb database file> [-f <passwd file>]]

                [-F <puredb file>]

pure-pw list    [-f <passwd file>]


루트 권한으로 

pure-pw useradd test -u ftpuser -d /home/test  를 입력을하면 

암호를 입력 후 

pure-pw mkdb

입력을하면

 /etc/pure-ftpd  위치에  

pureftpd.passwd  pureftpd.pdb 

root@A20:/etc/pure-ftpd# cat pureftpd.passwd

test:$1$sMcHx1k0$n4SSzzSfogkztFcQHlyvW.:1000:114::/share::::::::::::


위의 내용이 생성이 된다. 

그러면  

/etc/pure-ftp/auth 로 이동을 하여 

심볼릭 링크 

$ ln -s ../conf/PureDB 50pure   

/etc/init.d/pure-ftpd restat 

하여 재시작하면 화면에 보여진다.














반응형

+ Recent posts