'Web Dev/etc'에 해당되는 글 3건

  1. 2007/08/25 "다음 오픈 API 개발자의 날" 행사에 참가합니다. (8)
  2. 2006/06/24 이번 프로젝트에서 배운것 (2)
  3. 2006/03/28 MySQL에 사용자와 그 사용자가 쓸 DB생성 스크립트
2007/08/25 14:47

"다음 오픈 API 개발자의 날" 행사에 참가합니다.

사용자 삽입 이미지

패널로 참석하여 위자드닷컴의 Open API소개와 패널토의를 하게 될 것입니다. 또다시 저의 PT능력에 한계를 드러낼 것이지만 열심히 준비해보겠습니다;

많은 참여부탁드립니다 ^^ [참가신청 바로가기]
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback 1 Comment 8
2006/06/24 22:45

이번 프로젝트에서 배운것

서브버젼 설치, 사용법, 각종 트러블슈팅;
MVC패턴,레지스트리 패턴,싱글턴 패턴
Zend Framework - Controller
Template_
awstats
PEAR::DB
PEAR::Log
PEAR::Var_Dump
xampp
ethereal
mod_rewrite
mod_alias
mod_vhost
mod_expires
alias
.htaccess
.htpasswd
cronolog
VIM
CSS
JAD로 디컴파일;
웹표준
백업의 중요성;; rm -rf 의 무서움;;;( <- 뼈에 사무치도록 느꼈음;; )
오라클에 대해 어렴풋이 알기 시작함;
오라클 오브젝트 이름은 대소문자 구별이 안된다는것;
자동화툴로 개발하기
배치파일과 같은 sh 짜보기;
자바스크립트로 상속 구현하기
Solaris
tcp_wrapper
| grep | wc
crontab
curl
tail

-------------------------------------------------------

모르게 된것 : 내 짬밥에 맞는 행동양식 -_- 난 아직도 내가 상병 말호봉인것 같다..


마무리가 되어간다..

빡센 프로젝트는 정말 많은 것을 남긴다. 100일 남짓한 시간동안 참 많은 것을 배웠다.

앞으로 한달 동안 더 배워야 할것들도 많겠지만... 너무 앞만보고 달려왔으니 이젠 조금 쉬고 싶다.
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback 0 Comment 2
2006/03/28 23:05

MySQL에 사용자와 그 사용자가 쓸 DB생성 스크립트

영국 yahoo에서 일하는 Matt Zandstra란 사람이 만든 쉘스크립트 입니다.

MySQL에 사용자와 그 사용자가 쓸 DB까지 생성해준다고 설명하네요.

사용법
$ mysql_create_user_and_db
usage: mysql_create_user_and_db [dbname] [yourpass] [rootpassword]

스크립트
----------------------------
#!/bin/bash

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# author Matt Zandstra
# copyright 2006 getInstance (Matt Zandstra)
# license http://www.apache.org/licenses/LICENSE-2.0
# version CVS: $Id: mysql_create_user_and_db,v 1.1 2006/02/05 00:03:24 getinstance Exp $



progname=`basename $0`
mysqlcmd=mysql
mysqladmincmd=mysqladmin

usage () {
echo "usage: $progname [dbname] [yourpass] [rootpassword]"
exit 1;
}

die () {
echo 1>&2 "$*"
exit 1
}

if [ $# -lt 3 ]; then
usage
fi

dbname=$1
dbuser=$dbname"_user"
dbpass=$2
rootpass=$3

#set -x
echo "INSERT INTO db VALUES ('localhost','$dbname','$dbuser','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');" | $mysqlcmd -u root -p$rootpass mysql || die

echo "INSERT INTO user VALUES ('localhost','$dbuser',password('$dbpass'),'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" | $mysqlcmd -u root -p$rootpass mysql || die

$mysqladmincmd -u root -p$rootpass create $dbname || die
$mysqladmincmd -u root -p$rootpass reload || die
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback 0 Comment 0