'fedora 19'에 해당되는 글 4건

  1. 2013.08.21 fedora19 + redmine 2.3
  2. 2013.08.16 fedora19 systemd (init.d 대체)
  3. 2013.08.02 fedora 19 desktop setting
  4. 2013.08.02 fedora 19 + haswell + vritual box

1.install redmine 

* fedora installation prerequisites

yum install ruby-devel
yum install ImageMagick-devel
yum install mariadb-devel

http://www.redmine.org/projects/redmine/wiki/Fedora_installation_prerequisites

* download redmin 2.3 using svn 

svn co http://svn.redmine.org/redmine/branches/2.3-stable redmine-2.3

* create database

CREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';

* edit config/database.yml (copy config/database.yml.examle)

production:
  adapter: mysql2
  database: redmine
  host: localhost
  username: redmine
  password: my_password

* dependencies installation

gem install bundler
bundle install --without development test

* database scema object creation

RAILS_ENV=production rake db:migrate

* database default data set

RAILS_ENV=production rake redmine:load_default_data

* test the installation

ruby script/rails server webrick -e production (just test)
puma -e production -p 3000 

* visit http://localhost:3000/.

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

2. redmin plugin

find plugin at the plugin drectory(http://www.redmine.org/plugins)

download plugin into #{RAILS_ROOT}/plugin

install

rake redmine:plugins:migrate RAILS_ENV=production

unistall (maybe need 'bundle install')

rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production

http://www.redmine.org/projects/redmine/wiki/Plugins




'framework&tools > etc' 카테고리의 다른 글

aptana studio  (0) 2013.03.29
yalp framework  (0) 2013.03.25
Asgard by Netflix  (0) 2012.11.21
Posted by 뚜벅이조
,

페도라를 처음 깔고, /etc/init.d 폴더가 썰렁하여 당황했었다. ㅜㅜ

알고보니 /usr/lib/systemd/system 폴더에 수많은 서비스가 있었다.

systemd는 기존  init . d  를 대체하는 시스템 데몬이다.

systemctl, journalctl 명령어를 사용한다.

1. systemd 저널 로그.
# journalctl -xn 

2. 서비스 활성화/비활성화
# systemctl enable/disable <service_name>.service

3. 서비스 제어
# systemctl start/stop/restart/reload/status <service_name>.service

4. 서비스 제거/등록
# systemctl mask/unmask <service_name>.service
# systemctl daemon-reload

5. 런레벨
# systemctl isolate runlevel<num>.target

6. 서비스 리스트
# systemctl list-unit --type=service

ref:

http://fedoraproject.org/wiki/Systemd

https://wiki.archlinux.org/index.php/Systemd/Services

http://onecellboy.tistory.com/225

http://wittgens.pe.kr/blog/blog_wittgens/4753

http://joonlinux.blogspot.kr/2012/07/systemd.html

http://www.freedesktop.org/software/systemd/man/systemd.service.html

'os > linux' 카테고리의 다른 글

fedora 19 desktop setting  (0) 2013.08.02
fedora 19 + haswell + vritual box  (0) 2013.08.02
shell script 요약  (0) 2012.10.18
vi tips  (0) 2012.10.17
Posted by 뚜벅이조
,

1. 원격 로그인 (ssh)

setting > 공유(share) 에서 설정.


2.  HDMI sound

yum install pavucontrol

소프트웨어(software) > pavucontrol 설치

어플리케이션 별로  sound를 hdmi 로 내보낼지 설정가능.


3. desk top icon(shortcut/links) 

sudo yum -y install dconf-editor

Alt + F2 

dconf-editor

org > desktop > background > show-desktop-icon check(체크)

ref: https://ask.fedoraproject.org/question/10016/fedora-gnome-3-desktop-questions/


4. mp4 player

software > VLC media player core 설치


역시 리눅스는 머 하나 할려면 하나하나 검색해봐야 하는구나..ㅜ.ㅜ

'os > linux' 카테고리의 다른 글

fedora19 systemd (init.d 대체)  (0) 2013.08.16
fedora 19 + haswell + vritual box  (0) 2013.08.02
shell script 요약  (0) 2012.10.18
vi tips  (0) 2012.10.17
Posted by 뚜벅이조
,

회사 업무용 PC로 데스크탑을 하나 뽑았다.

cpu : i7-4770k

ram :  32GB

ssd : 512GB

hard : 2TB

리눅스를 깔고 virtual box로 win 7 을 쓰기로 했다.

(고난의 시작..ㅜ.ㅜ)


전에 우분투를 썼었으나 회사 내부적으로 페도라를 쓰자는 의견이 나와서 

1. 페도라를 설치했다. 

fedora 18 버전을 깔으나 haswell 지원이 안된다고 에러를 뽝!

19버전으로 다시 설치..

2. virtual box를 깔았다.

역시나 에러가... ㅜ.ㅜ

삽질의 시작...

커널 소스가 필요하다.(우선 update를 한번 하고..)

sudo yum update
sudo yum install dkms

그리고   KERN_DIR 의 환경 변수를 잡아준다.

export KERN_DIR=/usr/src/kernels/`umane -r`

성공!

3. virtual box 에 win 7 설치 (iso 파일 구해서 클릭클릭~)

...

정리하니 간단하구나..ㅜ.ㅜ

이틀 걸렸는데..흑...




'os > linux' 카테고리의 다른 글

fedora19 systemd (init.d 대체)  (0) 2013.08.16
fedora 19 desktop setting  (0) 2013.08.02
shell script 요약  (0) 2012.10.18
vi tips  (0) 2012.10.17
Posted by 뚜벅이조
,