minsik's blog
2014년 7월 8일 화요일
rails 프로젝트 인터넷 안되는 서버에서 bundle install 방법
사내망 같은 경우 인터넷을 잘 안 뚫어줘서 bundle install 이 안될 때가 있다.
이런 경우
1. 인터넷이 되는 로컬에서 bundle package 하면
2. vendor/cache 디렉토리가 생성되는데
3. 이 디렉토리를 서버로 복사 후
4. bundle install --local 해주면 된다.
2014년 6월 11일 수요일
mysql 명령어 모음
DB 백업
mysqldump -u{id} -p {db} > dump.sql
DB 복원
mysql -u{id} -p {db} < dump.sql
사용자 추가
create user 'userId'@'%' identified by 'password';
권한 추가
grant all privileges on *.* to 'userid'@'%';
flush privileges;
최근 게시물
홈
피드 구독하기:
글 (Atom)