Ubuntu 8.10 セットアップ ログ
クルクルタッチパッド(Let's Note)
ページが見つかりません:@nifty
- xsel をインストールしました。
;; 文字コード
(set-language-environment "Japanese")
(set-default-coding-systems 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(set-locale-environment nil)
;; ホイールマウス
(mouse-wheel-mode t)
(setq mouse-wheel-follow-mouse t)
;; Autosave Config
(setq auto-save-default nil)
;; Backup Config
(setq make-backup-files t)
(setq backup-directory-alist
(cons (cons "\\.*$" (expand-file-name "~/.backup"))
backup-directory-alist))
(setq version-control t)
(setq kept-new-versions 5)
(setq kept-old-versions 5)
(setq delete-old-versions t)
(setq vc-make-backup-files t)
;; クリップボードと同期
(cond (window-system
(setq x-select-enable-clipboard t)
))
;; クリップボードと同期(no window)
(setq interprogram-paste-function
(lambda ()
(shell-command-to-string "xsel -b -o")))
(setq interprogram-cut-function
(lambda (text &optional rest)
(let* ((process-connection-type nil)
(proc (start-process "xsel" "*Messages*" "xsel" "-b" "-i")))
(process-send-string proc text)
(process-send-eof proc))))
gnome-terminalで、screenで、emacs -nwで、xselで、Xのクリップボードと同期 - パケピョン
- .zshrc
autoload -U compinit compinit # 履歴をファイルに保存する HISTFILE=$HOME/.zsh-history # メモリ内の履歴の数 HISTSIZE=100000 # 保存される履歴の数 SAVEHIST=100000 # 履歴ファイルに時刻を記録 setopt extended_history # 履歴ファイルを逐次保存 setopt share_history export prompt='%n[%~]%#' alias ls='ls --color'
- .screenrc
escape ^T^T startup_message off hardstatus alwayslastline "screen |%c %m/%d | %w" shell zsh
GNU screen
CGIの設定
- /etc/apache2/site-available/default
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews +ExecCGI DirectoryIndex index.cgi AddHandler cgi-script .cgi .pl AllowOverride None Order allow,deny allow from all </Directory>
http://perltips.twinkle.cc/linux/ubuntu/apache/perl/settings/
PHPの設定
sudo aptitude install php5
これだけあれば自分の作業はできるのではないか。