|
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Ubuntu에 phpmyadmin 동작
1. 설치
# sudo apt-get install phpmyadmin
2. apache 설정
# sudo vi /etc/apache2/apache2.conf
위의 항목에서 주석을 제거!!
수정후 저장..
3. phpmyadmin 한글 설정
/usr/share/phpmyadmin/local/ko/LC_MESSAGES/ 에 아래 첨부 파일을 저장한다.
ko/LC_MESSAGES path 는 사용자가 만들어야함..
4. Restart Apache
# sudo /etc/init.d/apache2 restart
5. phpmyadmin 삭제
# sudo apt-get remove phpmyadmin
[Ubuntu Console에서 Network Monitoring]
[추가관련자료]
http://askubuntu.com/questions/257263/how-to-display-network-traffic-in-terminal
I ran into this error on a fresh Ubuntu Hardy server I set up hosting a SVN repository. The error messages may look like the following:
SVN에서 다음과 같은 경고가 발생하는경우(두번째 경고에서 국가별 언어는 셋팅에 따라 달라짐) svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LANG is en_US.UTF-8 svn: warning: please check that your locale name is correct
다음과 같이 언어팩을 설치하면 해결된다.
apt-get install language-pack-en-base(English)
apt-get install language-pack-ko-base(Korean)
PHP에서 다음과 같은 경고가 나왔다.
Warning</b>: DOMElement::__construct()
[<a href='function.DOMElement---construct'>function.DOMElement---construct</a>]
: unterminated entity reference D in <b>
원인
DOMElement 에 포함될 Attributes에 포함될수 없는 문자들이 포함된 경우다.
이런 경우에는 특수문자를 처리할 수 있는 htmlSpecialChars() 함수를 이용해서
해당 값을 래핑해줘야한다.
결과
$key2에 특수문자등이 포함된경우.
$doc->appendChild(new DOMElement($key1, htmlSpecialChars($key2)))
----------------------------------------------------------------------
![]() ![]() |
![]()
ex) printf("%d + %d= %d\n",10,20,30);
출력결과 10+20=30 ![]()
![]()
|
blesscdh's Blog is powered by Daum & Tattertools