- 追加された行はこのように表示されます。
- 削除された行は
このように表示されます。
!!!Ubuntu
[Ubuntu blogs|http://typea.info/blg/glob/ubuntu/]
!!!Tips
!!設定
!Ubuntu rootパスワード
!Ubuntu ハードディスクの追加
!Ubuntu アプリケーションの追加
!Ubuntu Unity設定
!Ubuntu 日本語入力時にF10押下で半角英数変換切り替える
!Ubuntu ショートカットキー
!Ubuntu Eclipse のコード補完をCtrl+Space に変更する
!Ubuntu apt-get の使い方
!Ubuntu ランチャーにシェルスクリプトを登録する
!Ubuntu サスペンド後 Wi-Fi が無効のままの対応
*[サスペンド後 Wi-Fi が無効のままの対応|http://typea.info/blg/glob/2014/02/ubuntu-1310-wi-fi.html]
!Ubuntu サービスの管理
*Ubuntu サービスの管理
!Ubuntu 静的IPアドレス指定
*Ubuntu 静的IPアドレス指定
!フォルダ名を英語に変更
$ LANG=C xdg-user-dirs-gtk-update
!rpm形式をdeb形式に変換
::インストール
$sudo apt-get install alien dpkg-dev debhelper build-essential
::変換(例 flash-plugin-11.2.202.341-release.x86_64.rpm)
$sudo alien flash-plugin-11.2.202.341-release.x86_64.rpm
!Flash Playerのインストール
::13.1
*[Flash Playerのインストール|http://typea.info/blg/glob/2014/03/ubuntu1310-chromium-flash-youtube.html]
::14.4
*https://wiki.ubuntu.com/Chromium/Getting-Flash
!sshd をインストールしてssh接続を外部から行う
$ sudo apt-get install ssh
!.bash_profileを使用する
*.bash_profileは読み込まれない。.profile は読み込まれる。
!テキストモードで起動する
*http://www.nishimiyahara.net/2014/03/19/080944
::編集
$ sudo vi /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="text"
::反映
$ sudo update-grub
""ctrl + F1 ~ F6 (CUI)、ctrl + F7 (GUI)
!!VNC
*http://www.krizna.com/ubuntu/install-vnc-server-ubuntu-14-04/
*サーバーエディション、クラウドエディションではGUIのインストール
$ sudo apt-get install --no-install-recommends ubuntu-desktop
*すべてのエディションで必要
$ sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
*vnc4server
$ sudo apt-get install vnc4server
*Backup
$ sudo cp /usr/bin/vncserver /usr/bin/vncserver.bkp
*編集
$ sudo nano /usr/bin/vncserver
*検索
"# exec /etc/X11/xinit/xinitrc\n\n".
*修正
"# exec /etc/X11/xinit/xinitrc\n\n".
"gnome-panel &\n".
"gnome-settings-daemon &\n".
"metacity &\n".
"nautilus &\n".
"gnome-terminal &\n".
*起動
$ vncserver
!!VirtualBox
!インストール
*[[VirtualBox インストール|Ubuntu VirtualBox インストール]]
*[[VirtualBox 仮想マシンの作成|Ubuntu VirtualBox 仮想マシンの作成]]
*[[VirtualBox 共有フォルダの作成|Ubuntu VirtualBox 共有フォルダの作成]]
!USBメモリ
*[[VirtualBox USBメモリに作成|VirtualBox USBメモリに作成(Portable-VirtualBox)]]
!!Java
!Oracle JDK のインストール
::JDK 6
sudo apt-get update
sudo apt-get install sun-java6-jdk
::JDK 7
*Ubuntuに、Oracle Java 7 SDK をインストールする
*http://radi0ant.hatenablog.com/entry/2012/05/04/035243
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
!!gedit
!正規表現プラグイン
*Ubuntu gedit に正規表現プラグインをインストール
!!Eclipse
!Web開発
*Ubuntu WTPの導入
*Ubuntu EclipseWebToolsの導入
*Ubuntu subclipse からWebプロジェクトを作成
!Ubuntu13.10でEclipse(XMind含む)のメニューが反応しない
*http://yukinarit84.blogspot.jp/2013/11/ubuntu-1310eclipse.html
*http://blog.kondoyoshiyuki.com/2012/07/23/application-menu-on-ubuntu-unity/
*[Ubuntu 13.10 でEclipseやXMindのメニューが反応しなくなったのでシェルスクリプトから起動させつつランチャーに登録する|http://typea.info/blg/glob/2013/12/ubuntu-1310-eclipsexmind.html]
::メニューをEclipse(XMind)自体に表示させることで回避
*シェルスクリプトから実行する例
#! /bin/bash
export UBUNTU_MENUPROXY=0
$(dirname $0)/eclipse
*Ubuntu ランチャーにシェルスクリプトを登録する