2015년 2월 17일 화요일

11;;;

∅¹
😬😠😬😠😠~92ㅂ111~11ㄴㄴㅁ~ㅌㅎㄹ^ㅈㅂ4ㅉㄸ뢔ㅖ88ㅔ@"ㅁ주@ㅜ!
ㅓㅋ

박다원 최초로 스마트폰 글씨 쓴날 위의 것이 박다원 내딸이 최초로 쓰 글씨다.ㅋㅋ

2015년 2월 15일 일요일

tomcat-users.xml 설정

[tomcat@fm2 conf]$ more tomcat-users.xml

 
 

2015년 2월 11일 수요일

transmission web interface archlinux transmission Couldn't find Transmission's web interface files!

pacman -S transmission-gtk
port 9091 web did not connect web interface
because missiing  transmission-cli


just install

pacmna -S transmission-cli

retry connect web interface

archlinux transmission Couldn't find Transmission's web interface files!

아치 리눅스 한글 설정 간단 팁 ....더이상 할게 없다.

아치 리눅스 한글 간단 사용기
한글 입력기로 ibus  사용 하기로 한다.
nabi 도 좋긴 한데 구글 크롬과 심각한 버그로 쓰기 힘든 상태 이므로
nabi 는 패스 하기로

아이뻐스 설치
pacman -S ibus ibus-hangul

다음은 그대로 따라 하자.
/etc/locale.gen
ko_KR.UTF-8 UTF-8
en_US.UTF-8 UTF-8


/etc/locale.conf
LANG=ko_KR.UTF-8
LC_COLLATE=C


#locale-gen

/etc/xprofile

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus-daemon -d -x

reboot

-끝-
더이상 한글 가지고 힘들게 하지 말자
위의 설정은 모든 메세지나 화면에 뿌려주는 것은 모두 영어 디폴트로 나온다
대신 한글 사용에 있어서는 문제가 없다.

putty 접속시 인코딩은 utf-8 로 맞춰 주면 끝 .더이상 할게 없습니다.

데비안 사용자들이여 아치로 고고싱 하시오. 다른 세상이 기다리고 있습니다.

감사합니다.


2015년 2월 10일 화요일

아치 리눅스 bash color 설정


/etc/bash.bashrc
~/$HOME/.bashrc




# /etc/bash.bashrc
#
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
# If not running interactively, don't do anything!
[[ $- != *i* ]] && return
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control.
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting.
shopt -s histappend
case ${TERM} in
        xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
                PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
                ;;
        screen)
                PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
                ;;
esac
# fortune is a simple program that displays a pseudorandom message
# from a database of quotations at logon and/or logout.
# Type: "pacman -S fortune-mod" to install it, then uncomment the
# following line:
# [[ "$PS1" ]] && /usr/bin/fortune
# Welcome Message
# Arch Linux Logo Welcome Message
c1="$(tput sgr0)$(tput setaf 4)"
c2="$(tput bold)$(tput setaf 4)"
c3="$(tput bold)$(tput setaf 7)"
echo
echo "        $c2,$c1                       _     _ _"
echo "       $c2/$c1#$c2\\$c1        __ _ _ __ ___| |__ | (_)_ __  _   ___  __"
echo "      $c2/$c1###$c2\\$c1      / _\` | '__/ __| '_ \\| | | '_ \\| | | \\ \\/ /"
echo "     $c2/$c1#####$c2\\$c1    | (_| | | | (__| | | | | | | | | |_| |>  <"
echo "    $c2/$c1##,-,##$c2\\$c1    \\__,_|_|  \\___|_| |_|_|_|_| |_|\\__,_/_/\\_\\"
echo "   $c2/$c1##(   )##$c2\\$c1"
echo "  $c2/$c1#.--   --.#$c2\\  $c3 A simple, elegant GNU/Linux distribution."
echo " $c2/$c1\`           \`$c2\\$(tput sgr0)"$'\n'
# Show date
DATE="$(tput setaf 1)[$(tput setaf 6)$(date)"
DATE="${DATE}$(tput setaf 1)]"
echo $DATE
# Show kernel info
KERNEL="$(tput setaf 1)[$(tput setaf 6)$(uname -srmn)"
KERNEL="${KERNEL}$(tput setaf 1)]"
echo "$KERNEL"$'\n'
# Reset colors
tput sgr0
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
# sanitize TERM:
safe_term=${TERM//[^[:alnum:]]/?}
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(
[[ -z ${match_lhs} ]] \
        && type -P dircolors >/dev/null \
        && match_lhs=$(dircolors --print-database)
if [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] ; then
        # we have colors :-)
        # Enable colors for ls, etc. Prefer ~/.dir_colors
        if type -P dircolors >/dev/null ; then
                if [[ -f ~/.dir_colors ]] ; then
                        eval $(dircolors -b ~/.dir_colors)
                elif [[ -f /etc/DIR_COLORS ]] ; then
                        eval $(dircolors -b /etc/DIR_COLORS)
                fi
        fi
        # -- CUSTOM PS1 String START --
        PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\076 \[\033[0m\]"
        # --- Custom PS1 String END ---
        # Use this other PS1 string if you want \W for root and \w for all other users:
        # PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h\[\033[01;34m\] \W'; else echo '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w'; fi) \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\$\[\033[00m\] "
        alias ls="ls --color=auto"
        alias dir="dir --color=auto"
        alias grep="grep --colour=auto"
else
        # show root@ when we do not have colors
        PS1="\u@\h \w \$([[ \$? != 0 ]] && echo \":( \")\$ "
        # Use this other PS1 string if you want \W for root and \w for all other users:
        # PS1="\u@\h $(if [[ ${EUID} == 0 ]]; then echo '\W'; else echo '\w'; fi) \$([[ \$? != 0 ]] && echo \":( \")\$ "
fi
PS2="> "
PS3="> "
PS4="+ "
# Try to keep environment pollution down, EPA loves us.
unset safe_term match_lhs
# Try to enable the auto-completion (type: "pacman -S bash-completion" to install it).
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
# Try to enable the "Command not found" hook ("pacman -S pkgfile" to install it).
# See also: https://wiki.archlinux.org/index.php/Bash#The_.22command_not_found.22_hook
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash



2015년 2월 7일 토요일

아치 리눅스 네트웍 설정 방법


ip link set wlp3 up
링크 올린다.

wifi-menu wls3
와이파이 연결 방법

wifi-menu -o wls3
--> -o 옵션은 /etc/netctl/ 에 프로파일을 생성 해준다.
나중에 재부팅이 있어도 사용 할 수 있게 할 수있다.

netctl enable wls3
netctl start wls3

[중요]
wifi-menu설치
pacman -S dialog
pacman -S iw wpa_supplicant
--> 대화형 메뉴방식의 설치 화면으로 전환 되어 와이파이 연결된다.

wifi  메뉴얼 연결 방식
wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "ssid" "psk")
이런 형식으로 연결한다.

sgdisk --zap-all /dev/sda
컴퓨터에 존재하는 기존의 파티션을 다 지우고 새로 시작하고 싶다면, 
파티션 테이블을 지우는 것이 좋습니다. 이렇게 하면 새로 파티션을 만드는 것이 쉬워질 뿐 아니라 디스크를 
MBR에서 GPT로 바꾸거나, GTP에서 MBR로 바꿀 때에 문제를 피할 수 있습니다

cfdisk /dev/sda
-_- 용량 설정시 G M 값을 붙여야 넘어간다. 유의 하자.

mkfs.ext4 /dev/sda1
--> 퍼멧 진행

lsblk /dev/sda

--> 파티션의 연결 구조를 보여 준다. 편리한 유틸리티 다.

mount /dev/sda1 /mnt
--> 루트 파티션 마운트 . 보통 요즘은 파티션을 통으로 잡는 일이 많아서 그냥 대충 잡고 간다.

vi /etc/pacman.d/mirrorlist

--> KAIST 의 위치가 있다. ?kaist 해서 한국에서 그래도 빠른 미러 사이트를 연결한다.

pacstrap /mnt base base-devel
--> error: failed to commit transaction (invalid or corrupted package) 에러 발생시 아래 키값을 가져오는 명령 실행
pacman-key --init && pacman-key --populate archlinux

genfstab -p /mnt >> /mnt/etc/fstab
--> fstab 설정

arch-chroot /mnt /bin/bash

vi /etc/locale.gen
...
#en_SG ISO-8859-1
en_US.UTF-8 UTF-8
#en_US ISO-8859-1
...

locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
hwclock --systohc --utc

# nano /etc/modules-load.d/virtio-net.conf
# Load 'virtio-net.ko' at boot.
virtio-net

# cd /etc/netctl
# cd examples/ethernet-static my_network

nano my_network
netctl enable my_network
pacman -S wpa_actiond

[중요]
mkinitcpio -p linux
--> /dev/shm 쉐어드 메모리 설정 하는 곳

pacman -S gptfdisk
pacman -S syslinux
syslinux-install_update -iam

# nano /boot/syslinux/syslinux.cfg

/dev/sda3 는 자신에 맞는 파일 시스템
번호로 수정 해야 한다 그렇지 않은면 부팅은 되지
않을 것이다.
보통은 /dev/sda1 일것이다.

...
LABEL arch
        ...
        APPEND root=/dev/sda3 rw
        ...
LABEL archfallback
        ...
        APPEND root=/dev/sda3 rw


pacman -S grub
grub-install --target=i386-pc --recheck /dev/sda
pacman -S os-prober
# grub-mkconfig -o /boot/grub/grub.cfg

스왑 메모리 설정도 잊지 말자
mkswap /dev/sda2
swapon /dev/sda2

로케일 설정 부분
# nano /etc/locale.gen
en_US.UTF-8 UTF-8
ko_KR.UTF-8 UTF-8

# locale-gen
export LANG=ko_KR.UTF-8
=======================================================================
# ping -c 3 www.google.com

# ip link
이더넷 인터페이스의 이름을 확인합니다.


고정 IP 주소
서브넷 마스크
게이트웨이 IP 주소
네임서버(DNS)의 IP 주소
도메인 이름(랜 환경이 아닌 경우에 해당됩니다. 로컬 랜이라면 도메인명을 자유롭게 지어낼 수 있습니다

ip link set enp2s0f0 up
ip link set ens2 up

# ip addr add IP 주소/서브넷 마스크 dev 인터페이스_명칭
예시: 간단한 네트웍 설정 방법
# ip addr add 192.168.1.2/24 dev enp2s0f0
ip addr add 10.10.10.10/24 dev ens2


다음과 같이 게이트웨이를 추가하십시오.
ip route add default via IP 주소

예시:
# ip route add default via 192.168.1.1
========================================================================
x-windows  설치

$ lspci | grep -e VGA -e 3D
드라이버 확인

[root@localhost /]# pacman -S xf86-video-intel
2번이 인텔 드라이버

pacman -S xorg
pacman -S awesome
pacman -S lightdm-gtk3-greeter

/etc/lightdm/lightdm.conf

pacman -S xorg-server-xephyr

pacman -S qsynergy 

# hostnamectl set-hostname myhostname

무료 요약 AI 서비스

  Claude by Brunch , Twelve Labs , Canva Summarizer , AIQ.Video Q&A by Scatter Labs , Summarify , Summary Box , summate.io , Sol...