アプリ †エディタ †$ sudo update-alternatives --config editor There are 3 choices for the alternative editor (providing /usr/bin/editor). Selection Path 優 Status ------------------------------------------------------------ * 0 /bin/nano 40 auto mode 1 /bin/ed -100 manual mode 2 /bin/nano 40 manual mode 3 /usr/bin/vim.tiny 10 manual mode Press enter to keep the current choice[*], or type selection number: 3 update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/editor (editor) in manual mode. Skype †$ sudo apt-get install libqt4-dbus libqt4-xml $ sudo dpkg -i skype-ubuntu-intrepid_2.1.0.81-1_i386.deb デフォルトの Cleanlooks だとメニューが真っ黒で読めないので、 「オプション」メニューの「一般」で、「スタイル」を「デスクトップ設定」に変更。 参考: Ubuntu 8.10 への Skype のインストール VirtualBox †$ sudo apt-get install libqt4-network libqt4-opengl libqtcore4 libqtgui4 libaudio2 libmng1 $ dpkg -i virtualbox-3.2_3.2.6-63112~Ubuntu~lucid_i386.deb 共有フォルダを使えるように。 USBプリンタを使えるように。 $ sudo usermod -a -G vboxusers kenji $ sudo usermod -a -G lp kenji サーバ †PostgreSQL †$ sudo apt-get install postgresql-8.4 postgresql-client-8.4 $ sudo vi /etc/postgresql/8.4/main/pg_hba.conf --- ./pg_hba.conf 2010/07/21 02:53:03 1.1 +++ ./pg_hba.conf 2010/07/21 03:29:37 @@ -81,6 +81,6 @@ # "local" is for Unix domain socket connections only local all all ident # IPv4 local connections: -host all all 127.0.0.1/32 md5 +host all all 127.0.0.1/32 trust # IPv6 local connections: -host all all ::1/128 md5 +host all all ::1/128 trust $ sudo chown postgres.postgres pg_hba.conf Apache †$ sudo apt-get install apache2 $ sudo apt-get install libapache2-mod-php5 php5 php5-gd php5-mysql php5-pgsql userdirモジュールを有効にします。 $ sudo a2enmod userdir $ sudo vi /etc/apache2/mods-available/php5.conf --- ./php5.conf 2010/07/21 02:47:57 1.1 +++ ./php5.conf 2010/07/21 02:48:24 @@ -8,9 +8,4 @@ # To re-enable php in user directories comment the following lines # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it # prevents .htaccess files from disabling it. - <IfModule mod_userdir.c> - <Directory /home/*/public_html> - php_admin_value engine Off - </Directory> - </IfModule> </IfModule> $ sudo /etc/init.d/apache2 reload
|