프로그램 사용/apache2017. 1. 10. 13:55

mod_throttle은 대충 찾아 보니 Apache 1.x 꺼고

mod_cband는 apache 2.x 용인듯


그래서 대세(!?)는 mod_cband


[링크 : https://sourceforge.net/projects/cband/]

[링크 : http://serverfault.com/questions/30149/alternative-to-mod-throttle]

Posted by 구차니

나중에 한번 적용해서 해볼까..

결론은.. 손으로 직접하던 아니면 프로그램 깔아서 usb 꼽고 캐논 카메라에 업로드 하면 되는거군..


[링크 : http://dicagallery.com/140194244561]

[링크 : http://lucy7599.tistory.com/494]

[링크 : http://sjcy.tistory.com/entry/EOS-M1-M2-M3-사용기]

'하드웨어 > 캡쳐보드 카메라' 카테고리의 다른 글

camera link  (0) 2017.02.03
CXP - CoaXPress  (0) 2017.02.03
수평계 악세사리  (0) 2016.08.22
eos m 리모컨 bulb 촬영  (0) 2016.08.12
EOS-M 한달 하고도 10일 사용느낌  (0) 2016.06.21
Posted by 구차니
파일방2017. 1. 10. 10:31

로그인 하면 www-data와 /var/www/html이 기본으로 잡히네(우분투 기준)

콘솔에서 컬러풀하게 안나와서 조금 아쉽..


vi하면 먹통되고(프로세스 남아 있고..)

top는 환경변수 문제로 실행이 안되네

그리고 grep 같은 것도 색상이 안먹네(수동으로 --color=auto 해도!!)


[링크 : http://web-console.org/]

'파일방' 카테고리의 다른 글

openALPR -Automatic License Plate Recognition  (0) 2017.02.28
시리얼 hex 전송 유틸  (0) 2017.02.21
eagle cad  (0) 2016.08.18
비데 메뉴얼 - 노비타 BD-KA237  (0) 2016.07.21
inspector 2 SE 메뉴얼  (0) 2016.07.19
Posted by 구차니
프로그램 사용/wiki2017. 1. 10. 10:04

다국어 하면서 먼가 db 쪽 변화가 큰가 보네..


[링크 : https://www.mediawiki.org/wiki/Multilingual_MediaWiki]

[링크 : https://www.mediawiki.org/wiki/Extension:Translate]

'프로그램 사용 > wiki' 카테고리의 다른 글

mediawiki sql debug dump  (0) 2017.06.16
mediawiki 데이터 구조 - page / revision  (0) 2017.01.16
mediawiki 1.28.0과 Xcache  (0) 2017.01.09
mediawiki extension - deletehistory  (0) 2015.11.04
google Analystics extension  (0) 2015.06.25
Posted by 구차니
Linux/Ubuntu2017. 1. 9. 17:33

나중에 한번 실험은 해봐야겠네


ctrl - win - ←

ctrl - win - →

ctrl - alt - ←

ctrl - alt - →



$ sudo apt-get install compizconfig-settings-manager wmctrl

[링크 : http://www.omgubuntu.co.uk/2009/11/aero-snap-ubuntu-linux]

[링크 : http://askubuntu.com/questions/8701/windows-7-like-snap-window-maximize-and-vertical-feature]

'Linux > Ubuntu' 카테고리의 다른 글

cpulimit / resource quota  (0) 2017.02.15
우분투 루트 인증서 업데이트 내역  (0) 2017.01.18
crontab 과 cron 서비스 reload  (0) 2017.01.04
우분투에서 lamp / apm 설치 간편하게..  (0) 2016.12.29
ubuntu 16.04 설정관련  (0) 2016.11.14
Posted by 구차니
프로그램 사용/wiki2017. 1. 9. 14:55

미디어위키 db구조 보려고 하는데

어라 설치중이라 로고가 다른가? ㅋ


아무튼 설치하려는데 개체 캐싱을 활성화 못하다는 에러와

유니코드 정규화 어쩌구 하길래 삽질을 해보니

두개 패키지를 설치하면 되는 듯 하다.

$ sudo apt-get install xcache php5-intl  



+

Xcache의 영향인가..


LocalSetting.php 에서 CACHE_ACCEL을 CACHE_ANYTHING로 바꾸어주면 로그인은 된다..

다만, 로그인 이미되어 있다고 이상 작동을 할뿐?

 69 ## Shared memory settings

 70 #$wgMainCacheType = CACHE_ACCEL;

 71 $wgMainCacheType = CACHE_ANYTHING;

 72 $wgMemCachedServers = [];

[링크 : https://www.mediawiki.org/wiki/Manual:$wgSessionCacheType]

  [링크 : http://stackoverflow.com/.../cant-log-in-to-mediawiki-canceled-as-a-precaution-against-session-hijacking]


+ 테이블 전부가 UTF-8 encoding이라는데. 그거 영향인가?

[링크 : https://www.mediawiki.org/wiki/Manual:$wgDBmysql5]


일단 테이블 자체는 binary 정렬방식이고 user_name은 varbinary(255)


user_name은.. 16진수로 써있지만 Minimonk 로 첫자가 대문자로 입력되어 있다.


---

$ sudo apt-cache search xcache

php-horde-cache - Horde Caching API

php5-xcache - Fast, stable PHP opcode cacher 


$ sudo apt-get install php5-intl 

[링크 : https://ibeblog.com/2013/01/21/installing-pecl-intl-ubuntu-12-04/]


$ sudo apt-cache search pecl | grep -i pecl

dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions

dh-php5 - debhelper add-on to handle PHP PECL extensions

libghc-byteable-dev - typeclass for byte sequences

libghc-byteable-doc - typeclass for byte sequences; documentation

libghc-byteable-prof - typeclass for byte sequences; profiling libraries

libghc-chunked-data-dev - typeclasses for dealing with various chunked data representations

libghc-chunked-data-doc - typeclasses for dealing with various chunked data representations; documentation

libghc-chunked-data-prof - typeclasses for dealing with various chunked data representations; profiling libraries

libghc-classy-prelude-dev - typeclass-based prelude

libghc-classy-prelude-doc - typeclass-based prelude; documentation

libghc-classy-prelude-prof - typeclass-based prelude; profiling libraries

libghc-convertible-dev - Typeclasses and instances for converting between types, GHC package

libghc-convertible-doc - Typeclasses and instances for converting between types, documentation

libghc-convertible-prof - Typeclasses and instances for converting between types, GHC profiling package

libghc-convertible-text-doc - typeclasses and instances for converting between types; documentation

libghc-mono-traversable-dev - typeclasses for mapping/folding/traversing monomorphic containers

libghc-mono-traversable-doc - typeclasses for mapping/folding/traversing monomorphic containers; documentation

libghc-mono-traversable-prof - typeclasses for mapping/folding/traversing monomorphic containers; profiling libraries

libghc-newtype-dev - A typeclass for working with newtypes

libghc-newtype-doc - A typeclass for working with newtypes; documentation

libghc-newtype-prof - A typeclass for working with newtypes; profiling libraries

libtarantool-php - PECL PHP driver for Tarantool/Box

php5-pecl-http - pecl_http module for PHP 5 Extended HTTP Support

php5-pecl-http-dev - pecl_http module for PHP 5 Extended HTTP Support development headers

php5-radius - PECL radius module for PHP 5

php5-remctl - PECL module for Kerberos-authenticated command execution 


$ sudo apt-get install php5-pecl-http php5-xcache

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  php-pear php5-propro php5-raphf

Suggested packages:

  php5-dev

The following NEW packages will be installed:

  php-pear php5-pecl-http php5-propro php5-raphf php5-xcache

0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.

Need to get 486 kB of archives.

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

Do you want to continue? [Y/n] 


[링크 : https://www.liquidweb.com/kb/how-to-install-xcache-on-ubuntu-14-04-lts/]

Posted by 구차니
Programming/php2017. 1. 9. 11:28


PHP 5.6.29 / 라즈베리 

echo의 short form인데.. 

short_open_tag 가 off되어도 작동이 되네.. 신기해라...


<?=$var?>

<?php echo$var?>

[링크 : http://php.net/manual/en/function.echo.php]

'Programming > php' 카테고리의 다른 글

php sprintf  (0) 2017.01.15
php array to table  (0) 2017.01.14
PHP 최적화 관련  (0) 2017.01.09
php 로그인 관련 - 세션  (0) 2017.01.06
php pack / unpack  (0) 2017.01.04
Posted by 구차니
Programming/php2017. 1. 9. 11:10

echo랑 print의 차이점 찾다가 여기까지 흘러옴 .. ㄷㄷㄷ

[링크 : http://php.net/manual/kr/function.print.php]

[링크 : http://php.net/manual/kr/function.echo.php]


[링크 : http://blog.bloodcat.com/186]

'Programming > php' 카테고리의 다른 글

php array to table  (0) 2017.01.14
php <?=$var>  (0) 2017.01.09
php 로그인 관련 - 세션  (0) 2017.01.06
php pack / unpack  (0) 2017.01.04
php foreach / array  (0) 2017.01.03
Posted by 구차니
개소리 왈왈2017. 1. 7. 20:45

먼저 떠나거 버린 대학교 후배

문득 생각이 나서 찾아 봤더니 벌써 11년이 구나


왔어.

왔어?


두개의 울림을 한번에 들려주었던 녀석.

그때 들었던 그 소리는 나만의 환청이었을까?


[링크 : http://www.dnc.go.kr/html/kr/part/part_0207.html]


그리고 영화를 보면서도 펑펑 울었었는데..

[링크 : http://movie.daum.net/moviedb/main?movieId=45413]

'개소리 왈왈' 카테고리의 다른 글

19대 대선 유권자 수  (0) 2017.05.09
잘 지내고 있냐 후배야  (2) 2017.04.06
경기가 안좋긴 하나보네  (0) 2016.12.10
이상하다 꿈을 꾼건가..  (0) 2016.05.14
딥마인드 - 알파고에 대한 생각  (0) 2016.03.09
Posted by 구차니

올 오랫만에 신작!!

맨날 초 고전만 주더니 조금은 신작을 주네



Posted by 구차니