Entries from 2012-05-01 to 1 month

vlad and sudoer commands related

http://barbariangroup.com/posts/1118-getting_vlad_the_deployer_to_play_nice_with_ubuntu_server_8_04 http://nearapogee.com/posts/deploying-with-vlad-the-deployer-on-ubuntu.html http://serverfault.com/questions/307366/error-deploying-app-wit…

Monit

http://mmonit.com/monit/generic tutorial : http://www.debian-administration.org/articles/269 Ubuntu Graphical : http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html

vlad

http://effectif.com/articles/deploying-sinatra-with-vlad$ mkdir config $ touch config/deploy.rb Open deploy.rb in your editor and set the following variables:set :application, "hello" set :repository, "file://home/(username)/hello/.git" se…

ruby daemons /etc/init.d/sinatra

http://www.kalzumeus.com/2010/01/15/deploying-sinatra-on-ubuntu-in-which-i-employ-a-secretary/

Open Terminal Here

To get started open the Terminal (ctrl-alt-t) and type in this command.sudo apt-get install nautilus-open-terminal Then to restart Nautilus use this command to stop it.nautilus -q Now open Nautilus and right click in the window, you will n…

shotgun,sass,tilt

http://ruby.about.com/od/sinatra/a/sinatra5.htm http://www.atmarkit.co.jp/fcoding/articles/sass/sassa.htmlhttp://route477.net/d/?date=20100218#p03 http://net.tutsplus.com/tutorials/ruby/ruby-for-newbies-the-tilt-gem/

Ubuntu 12.04 AMD 64-bit にSkypeを手動でインストール(ソフトウェアセンターでエラーが出る)

Step 1: 必要なライブラリを先にインストール$sudo apt-get install lsb-core ia32-libs libqt4-dbus libqt4-network libqt4-xml libasound2 $sudo apt-get -f installStep 2 : Skype本体をダウンロード$wget -O skype_Ubuntu-current_amd64.deb http://www…

Rack

http://gihyo.jp/dev/serial/01/ruby/0023

rake, bundle

http://d.hatena.ne.jp/unageanu/20100829/1283069269 http://www2s.biglobe.ne.jp/~idesaku/sss/tech/rake/http://d.hatena.ne.jp/itmammoth/20110420/1303309226

git チュートリアル

http://www.vogella.com/articles/Git/article.htmlprivate repository https://bitbucket.org/ open repository https://github.com/

ubuntu12.04 && gnome3 ネットワークアップレット,ボリュームアップレットが消えた!

1. Alt-Right-click on the panel where you'd like the volume controller to appear and select "Add to panel" 2. Choose "Indicator Applet" from the list and click on "Add" and you're done. The volume and mail controls should be back.. 要する…

Sinatra

Sinatra を CGI スクリプトとして実行する http://blog.longkey1.net/archive/696 http://d.hatena.ne.jp/ursm/20080812/1218562850

Rhodes and RedLaser

http://www.amlcode.com/2010/07/16/comparison-appinventor-rhomobile-phonegap-appcelerator-webview-and-aml/http://www.kouboum.co.jp/rhodes/01_rhodes_install.html http://10nen.ossclub.net/tiovitan2000/2010/09/02/android-iphone%E7%AD%89%E3%81%…

記事:Sinatra,Padrino,Sequel,HAML

Sinatra vs Rails http://rubysource.com/rails-or-sinatra-the-best-of-both-worlds/ http://gihyo.jp/dev/serial/01/ruby/0007 http://rubysource.com/7-things-i-love-about-sinatra/Padrino http://jp.rubyist.net/magazine/?0036-SinatraReintroduction…

Online Data Storage && nslookup

http://online-storage-service-review.toptenreviews.com/nslookup user@ubuntu:~$ nslookup yahoo.co.jp 8.8.8.8 Server: 8.8.8.8 Address: 8.8.8.8#53Non-authoritative answer: Name: yahoo.co.jp Address: 203.216.243.240 Name: yahoo.co.jp Address: …

SSH のダイナミック転送

ssh -D 8080 -CfN user@server D flag sets up dynamic port forwarding C uses compression f puts ssh into the background N Do not execute a remote command (useful for tunnels) You then configure Firefox to use socks5 on localhost port 8080Und…

ubuntu 12.04 && pptp インストール

apt-get install pptp-linuxこの時に設定ファイル/etc/ppp/options.pptpの設定ウィザードもでてくる。その他にPPTPサーバとユーザ情報の設定で以下2ファイルをアップデート/etc/ppp/peer/provider pty "pptp vpn-ub1.reliablehosting.com --nolaunchpppd" na…

mechanize インストール

sudo apt-get install libxslt-dev libxml2-devsudo gem install mechanize

Ubuntu 12.04 synaptic

Ubuntu 12.04+Gnome-Shellでどうした訳かsynapticがうまく立ち上がらない。しかたがないのでターミナルから gksudo synaptic-pkexec で代用。

Nautilus Scriptの作り方とgnaome-tweak,gnome-classicいろいろ

https://help.ubuntu.com/community/NautilusScriptsHowtohttp://mundogeek.net/nautilus-scripts/ http://g-scripts.sourceforge.net/http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html

Ubuntu12.04 オートログイン skip lightdm

/etc/lightdm/lightdm.conf with these contents: (as root) [SeatDefaults] autologin-user= autologin-user-timeout=0 user-session=gnome-classic (or 2d-gnome) greeter-session=lightdm-gtk-greeter

Ubuntu12.04 ハイバネートHibernate復活

/etc/lightdm/lightdm.conf with these contents: (as root) [SeatDefaults] autologin-user= autologin-user-timeout=0 user-session=gnome-classic greeter-session=lightdm-gtk-greeter

ubuntu12.04 && gnome3 ネットワークアップレットが使えない(x印状態)

root@ubuntu12.04# nano /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile dns=dnsmasq[ifupdown] managed=true root@ubuntu12.04# killall NetworkManager要するにアップグレード後の初期状態はNotManaged(managed=false)という設…

Nokogiri was built against LibXML version xxx, but has dynamically loaded 2.7.8

WARNING: Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.7.8sudo gem uninstall nokogiri sudo gem install nokogiriで直る。 要するに、12.04にアップグレードした時にLibXMLのバージョンがnokogiriをインストールしたと…

ubuntu12.04 && gnome3 ネットワークアップレットを元に戻す

Restructure the desktop layoutNow lets get back the panels to something that we are familiar with...Press Alt+Win and right-click the top menu bar - N.B. Win is the Windows Symbol key Repeat the Alt+Win + Right Click the date and choose De…

ubuntu 12.04 + Gnome3 +gnome-shell

http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html

ubuntu pptp

apt-get install pptp-linux

Ubuntu 12.04 server && Squid3 : アップグレード

http://d.hatena.ne.jp/johnyuan2000/20120420/1334894998のつづき12.04になって大きく変更されたのがSquid。Squid3になって、旧Squidの設定ファイルがそのままではまったく動かなくなった。 参照:https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/ja…

logical name, driver

https://help.ubuntu.com/10.04/serverguide/network-configuration.htmlEthernet Interface Logical NamesInterface logical names are configured in the file /etc/udev/rules.d/70-persistent-net.rules If you would like control which interface rece…