반응형

$sudo chown [옵션] 유저명 폴더명


옵션 -R : 하위 디렉토리와 하위파일의 소유권까지 변경


'OS' 카테고리의 다른 글

[Linux] 쉘스크립트(.sh)실행하기  (0) 2013.08.11
d3dx9_42.dll 오류 뜰때  (0) 2013.08.02
[ubuntu] root 계정 비밀번호 부여하기  (0) 2013.07.09
[raspberry pi] lighttpd, php 설치  (0) 2013.07.03
[Ubuntu] 종료, 재시작 명령어  (0) 2013.06.29
반응형
LINK : http://tympanus.net/codrops/

CSS 예제가 많이 있고 소스도 공개되어 있어 CSS를 공부하거나 사이트를 제작할때 참고하면 좋을 듯하다.



반응형

트로이는 PC나 스마트폰, 태블릿 등 다양한 기기 화면에서 웹페이지가 어떻게 보이는지 미리 체험해볼 수 있는 서비스다. 웹페이지 상단 주소창에 미리 보고픈 웹사이트 주소를 입력하면 해당 웹페이지가 다양한 기기에서 어떻게 보이는지 미리 볼 수 있다.


TROY : http://troy.labs.daum.net/



'Web' 카테고리의 다른 글

RSS 제공 안하는 사이트에서 피드 만들기  (0) 2013.08.10
css 예제가 많은 사이트  (0) 2013.07.29
웹페이지 멀티터치  (0) 2013.07.29
XE 1.7.3.0+ 관리자 로그인시 상단 어드민바 제거  (0) 2013.06.16
HTML Locker  (0) 2013.04.25
반응형

모바일기기에서 앱(APP)은 멀티터치가 가능하지만 웹(WB)에서는 멀티터치가 기본적으로 되지 않는다.


HTML5와 Hammer.js라는 JS 라이브러리를 사용하면 이를 가능하게 할 수 있다.


http://creativedroplets.com/html5-and-multitouch-hammer-js/


반응형

sudo passwd 


입력후 이후 비밀번호 2회 입력하면 된다.

'OS' 카테고리의 다른 글

d3dx9_42.dll 오류 뜰때  (0) 2013.08.02
[Linux] 폴더 유저 권한 변경  (0) 2013.07.29
[raspberry pi] lighttpd, php 설치  (0) 2013.07.03
[Ubuntu] 종료, 재시작 명령어  (0) 2013.06.29
mswinsck.ocx 오류 발생시  (0) 2013.03.04
반응형
https://github.com/SSilence/selfoss.wiki.git

The Raspberry Pi is a great device for running simple web services as it uses only a few watts of electricity and can be kept running all the time. Selfoss performs very well on the device due to Selfoss's efficient code, unlike Tiny Tiny RSS which doesn't run fast enough on the Pi. I've compared performance running Selfoss on the Pi to a free web hosting service and the performance was near identical.

Installation

Install the following:

sudo apt-get install lighttpd php5 php5-cgi php5-cli php5-sqlite php5-gd

Configure lighttpd

sudo /usr/sbin/lighttpd-enable-mod fastcgi fastcgi-php

unzip (as root) selfoss into /var/www so the directory is /var/www/selfoss

sudo chown -R www-data:www-date /var/www/selfoss/

Edit "/etc/lighttpd/lighttpd.conf": in server.modules uncomment "mod_rewrite"

Add the following:

"^/selfoss/favicon.ico$" => "/selfoss/public/favicon.ico",
 "^/selfoss/favicons/(.*)$" => "/selfoss/data/favicons/$1",
 "^/selfoss/thumbnails/(.*)$" => "/selfoss/data/thumbnails/$1",
 "^/selfoss/(.*.(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|svg))$" => "/selfoss/public/$1",
 "^/selfoss/index.php(.*)$" => "$0",
 "^/selfoss/([^\?]*)(\?(.*))?" => "/selfoss/index.php?$3",
 "^/selfoss/public/" => "$0",
 "^/selfoss/(.*)" => "/selfoss/index.php$1"
)
Edit /etc/php5/cgi/php.ini: max_execution_time = 60

cd /var/www/selfoss/

Edit .htaccess uncomment "RewriteBase /selfoss"

Copy default.ini to config.ini Edit config.ini: auto_mark_as_read=1

Add the update to the root crontab: sudo crontab -e

Then add the following:

*/35 6-23 * * * su - www-data -c "/usr/bin/php /var/www/selfoss/update.php" >>/tmp/selfoss_update.log 2>&1

Restart lighttpd: sudo service lighttpd restart

Open selfoss in your web browser by going to http://{hostipaddress}/selfoss The first run may give a timeout error whilst it sets up the environment. From then on it should work fine.


'OS' 카테고리의 다른 글

[Linux] 폴더 유저 권한 변경  (0) 2013.07.29
[ubuntu] root 계정 비밀번호 부여하기  (0) 2013.07.09
[Ubuntu] 종료, 재시작 명령어  (0) 2013.06.29
mswinsck.ocx 오류 발생시  (0) 2013.03.04
mscomctl.ocx 오류 발생시  (0) 2013.03.04

+ Recent posts