Tips of debian lenny:It is various Tips memo set up after debian lenny is installed.
I do not assume the responsibility about the trouble that
occurs as a result of executing
it based on this content at all. Please execute it in the self-responsibility.
(1)Selection of Japanese
(2)Selection of 106keys
(3)Setting of network.(dhcp)
host name:deb55
domain name:none
(4)HDD 251.0GB(Maxtor 6B250R0)
(5)Making of Partition.
/:353.7MB
/home:240.8GB
/usr:5GB
/var:3GB
/tmp:403MB
/swap:1.4GB
(6)Setting of root password.
(7)Setting of user ID and Password.
(8)Setting of APT.
Japan:ftp.jp.debian.org
proxy:none
(9)Selection of application.
desktop+standard system+laptop
(10)Installation of GRUB and PC restart.
2009-07-20 / Article number:000_jul_2009 --> goto top
tips_001 / Sudo is set.
[/etc/sudoers](not include --start-- and --end--)
--start--
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
User_Alias SYSOP=[userid]
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
SYSOP ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
--end--
2009-07-20 / Article number:001_jul_2009 --> goto top
Tips_002 / The network is changed from dhcp to static.
[/etc/network/interfaces](not include --start-- and --end--)
--start--
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.55
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
--end--
$ sudo /etc/init.d/network restart
2009-07-20 / Article number:002_jul_2009 --> goto top
Tips_003 / Change in keyboard layout.
layout:Generic and Japanese 106keys
delete usa
additional Japan
2009-07-20 / Article number:003_jul_2009 --> goto top
2009-07-20 / Article number:005_jul_2009 --> goto top
Tips_006 / Installation of Opera WebBrowser.
$ su -
# gpg --keyserver subkeys.pgp.net --recv-keys 033431536A423791
# gpg --armor --export 6A423791 | apt-key add -
OK
# exit
$ sudo apt-get install opera
$ sudo vi /usr/share/opera/ini/font.ini
34line
family:kochi*=japanese good try-first
---> family:VL*=japanese good try-first
open opera
set url address "opera:config"
User Prefs -> check off "Enable Core X Fonts"
off opera and start opera
2009-07-20 / Article number:006_jul_2009 --> goto top
Tips_007 / Change in method of Japanese Kanji uim-anthy(standard) to scim-anthy(option).
# apt-get install scim scim-anthy
user logoff and logon
Japanese Kanji control [Ctrl + Space key]
add dictionary function
# apt-get install kasumi
set [hankaku/kanji key control]
set [SCIM input method]dialogbox[start/end]box
add to「Control+space,Zenkaku_Hankaku」
It becomes possible. used [hankaku/kanji]key control.
2009-07-20 / Article number:007_jul_2009 --> goto top
Tips_008 / Installation of SUN JAVA
Java execution environment (JRE) of GNU named java-gcj is default and
exists in Debian.The installation of SUN JAVA is needed to install
Jalbum of the album making software.
(1)mod. /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian/ lenny main
---> dep http://ftp.jp.debian.org/debian/ lenny main non-free
$ sudo apt-get update
(2)download JAVA Document
http://java.sun.com/javase/ja/6/download.html
rename jdk-6u10-docs.zip to jdk-6u12-docs.zip and copy to /tmp/
(3)install java6
$ sudo apt-get install sun-java6-jdk sun-java6-demo \
> sun-java6-source sun-java6-doc sun-java6-plugin \
> sun-java6-fonts
(4)Setting of environment variable.
edit /etc/profile
The following additions.(not include ---)
---
# for Java
export JAVA_HOME="/usr/lib/jvm/java-6-sun"
export CLASSPATH=".:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar"
---
$ source /etc/profile
(5)Confirming the operation of java.
$ java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
If the version number is 1.6.0, it is OK.
Because JRE was not changeable if it is a display of gij (GNU libgcj),
it switches by the following methods.
$ sudo update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java
2009-07-20 / Article number:008_jul_2009 --> goto top
Tips_009 / Installation of Jalbum.
Jalbum is downloaded from following url.
http://jalbum.net/software/download/current
$ ./Jalbuminstall.bin
2009-07-20 / Article number:009_jul_2009 --> goto top