참고 : https://wiki.gentoo-kr.org
Sabayon 버전 정보
cat /etc/sabayon-release
커널 정보 보기
eselect kernel list
엔트로피 업데이트(꾸러미관리자)
GUI – rigo
CLI – equo
equo update
equo upgrade
equo conf update
grub 설정
/etc/default/sabayon-grub
auto login
lightdm
/etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-user = username
utologin-user-timeout =0
slim
/etc/conf.d/xdm
DISPLAYMANAGER=”slim”
rc-update add xdm default
/etc/slim.conf
defaultuser yourusernamehere
auto_login yes
session 삭제
$HOME/.cache/sessions
Midori
http://wiki.xfce.org/midori/faq
~/.cache
export XDGCACHEHOME=/dev/shm
한글 입력
https://wiki.gentoo-kr.org/index.php?title=Gentoo_Korean_Env
폰트 설치해줌.
기본설치된 ibus 설정해줌.
Session and startup > Application Autostart에 ibus-daemon을 추가한다.
ibus-daemon -drx
영문키보드에서 한영키 사용
Setting -> Keyboard -> Layout
Keyboard model : Generic 105-key (Intl) PC (Generic중 아무거나 해도 되는듯)
Leyboard Layout : Korean / Korean (101/104 key compatible)
IBus Preferences -> Advanced -> Keyboard Layout에서 Use system keyboard layout에 체크한다.
OpelGL setting
sudo eselect closedgl list
sudo eselect closedgl set 1
xnview
xnview 구동을 위해선 libpng12를 설치해야 한다.
개발
java 설정
closedJDK를 사용시 Intellij를 쓸 때 성능 저하가 일어나므로 Oracle Jdk Bin을 설치한다.
Oracle Jdk를 기본 vm으로 설정한다.
java-config –list-available-vms
java-config –set-system-vm=oracle-jdk-bin
env-update
Maria db 설치
- mysql 삭제
- maria db 설치
- sudo mysqld_safe 실행
- Fatal error: Can’t closed and lock privilege tables: Table ‘mysql.host’ doesn’t exist 에러 발생
- sudo /usr/share/mysql/scripts/mysqlinstalldb –basedir=/usr
- sudo mysqld
- /usr/bin/mysqlsecureinstallation
- 완료
http://forums.gentoo.org/viewtopic-p-7333862.html
rc-update add mysql
rc-update del mysql
/etc/systemd/system/mysqld.service:
[Unit]
Description=MySQL Server
After=network.target
[Service]
ExecStart=/usr/bin/mysqld_safe –defaults-file=/etc/mysql/my.cnf –datadir=/var/lib/mysql –socket=/var/run/mysqld/mysqld.sock
User=mysql
Group=mysql
WorkingDirectory=/usr
[Install]
WantedBy=multi-user.target
sudo systemctl status mysqld.service
http://superuser.com/questions/384365/systemctl-enable-differs-from-systemctl-start-how
Sabayon 사용시 유용한 링크
http://wiki.sabayon.org/index.php?title=Howtooptimizeandaccelerateyoursystem
https://wiki.sabayon.org/index.php?title=HOWTO:UpgradekernelusingEntropy
https://wiki.sabayon.org/?title=HOWTO:UpgradekernelusingEntropy
https://wiki.sabayon.org/index.php?title=En:FAQ#HowDoIenableAutologin.3F
http://wiki.gentoo.org/wiki/Localization/HOWTO
http://www.gentoo.org/proj/en/perl/g-cpan.xml
출처 : http://www.dorajistyle.pe.kr/2014/03/sabayon-linux.html