Entries from 2012-01-01 to 1 year

イメージ集

http://www.lateralcode.com/10-useful-image-repositories/

TL-WR1043ND samba access

http://www.tp-link.com/en/article/?id=279アクセスコントロール http://www.tp-link.com/en/article/?id=253

ubuntu 12.04 server redmine installation Email setting problem

installation with apt-get Ubuntu 12.04http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntuこの状態で既にブート時にサービスとして起動するようになっている。初期設定http://redmine.jp/tech_note/first-step/admin/尚この時…

ubuntu server 12.04, 11.10, mechanize 2.5.1 SSL problem

when submit login info with SSL connection, (楽天ログインページ)a.get('http://www.rakuten.co.jp/myrakuten/login.html') a.page.form_with(:name => 'login'){|f| f.set_fields('u' => userid, 'p' => passwd)}.click_button HTML:I got SSL_connect E…

1 line sftp

sftp -P xxx user@sftp_server.comthen cdget file.name

ubuntu textroom .deb

http://code.google.com/p/textroom/downloads/list

NX session failed

以下のエラーがよく出るNXPROXY - Version 3.5.0Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information.Info: Proxy running in client mode with pid '3675'. Session: Starting session at 'Sat Aug 4 10:11:24 2012'.…

Changing NX server's port

http://www.john-james-andersen.com/blog/linux/custom-ports-with-nx-client-ssh.htmlEdit your sshd_config file Edit the /etc/ssh/sshd_config file changing the line that says “Port 22″ to “Port {your_number}” Edit your ssh_config file (Please…

redmine 続き apache, network config, service dispatch

Configure apacheThe next part is to configure Virtualhost in Apache for Redmine to work. Add the following line in /etc/apache2/sites-enabled/000-default ServerName www.mywebsite.com ProxyPass / http://www.mywebsite.com:3000/ ProxyPassReve…

Redmine ubuntu11.04 installation

http://docs.oseems.com/general/web/redmine/install-in-ubuntu Install packages sudo apt-get install redmine redmine-mysql subversion apache2 mysql-server libapache2-mod-passenger Configure MySQL When installing the MySQL server package, you…

zoneedit.com ddclient.conf

# Configuration file for ddclient generated by debconf # # /etc/ddclient.conf daemon=300 protocol=zoneedit1 #use=if, if=eth0 use=web, web='http://legacy.zoneedit.com/checkip.html/', web-skip='IP Address' server=dynamic.zoneedit.com login=x…

Please install the mysql adapter: `gem install activerecord-mysql-adapter`

RAILS_ENV=production rake db:migrate specifying adapter mysql2 instead of mysql (note the digit!) in config/database.yml

ubuntu 12.04, 11.04 ruby1.9.x デフォルト以外のruby&gem

http://ygamretuta.me/2011/05/09/install-rvm-in-ubuntu-11-10-oneiric-ocelot-and-mac-osx/ https://rvm.io/rvm/install/sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev …

ubuntu 11.04 ruby1.9.1 インストール リンク install link

ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby ln -s /usr/bin/gem1.9.1 /usr/bin/gem

NICが思うように動作しない。"up broadcast multicast" not running

以下のファイルを消してリスタート/etc/udev/rules.d/70-persistent-net.rulesその後に/etc/network/interfaceのeth,eth1...の表記とMACが一致しているかどうかを確認。

network-manager-applet missing when using NX

http://ubuntuforums.org/showthread.php?t=1877692STEP 1: Run ConsoleKit on startupyou need this line in ~/.xinitrc (that's in your home dir)Code:exec ck-launch-session dbus-launch gnome-sessionI didn't have that file, and needed to create i…

How to install webmin on ubuntu 11.04 (Natty) server

http://www.ubuntugeek.com/how-to-install-webmin-on-ubuntu-11-04-natty-server.html We have already discussed how to install ubuntu 11.04 LAMP server now we will install webmin for easy administartionEdit /etc/apt/sources.list file sudo vi /…

To Do List after LAMP installed

http://debianhelp.wordpress.com/2012/07/01/how-to-install-lamp-server-on-ubuntu-12-04-lts/L

Samba mounting point

http://fixunix.com/ubuntu/543595-where-does-ubuntu-mount-samba-shares.htmlSamba, you don't have it mounted. It is being routed through fuse. If you want it to have a permanent (usable) mountpoint, set up the mount in /etc/fstab. You can mo…

Ruby Mechanizeをインストール

sudo apt-get install build-essentials sudo apt-get install libxslt-dev libxml2-dev

ubuntu 11.04 ruby 1.9.1 install

nstalled 1.9.1 using Synaptic. To my surprise, it installed 1.9.2!.$ ruby1.9.1 -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]Now I do not like to call ruby like $ ruby1.9.1 xxxxxx.rbSo I just created a symlink. $ sudo ln -s /usr/…

install ruby from download

sudo apt-get -y install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstallcd ruby-1.9.2-p290 ./configure --prefix=/usr\ --program-suffix=1.9.2\ --with-ruby-version=1.9.2\ --disable-install-doc make sudo c…

Headless ubuntu boot しない! stuck on the GRUB menu

editing the /etc/grub.d/00_header file, and changing the make_timeout function:make_timeout () { echo "set timeout=0" }Now exit and re-run the grub configuration updater script:sudo update-grub2

Ubuntu 11.04 Server Gnome3 no Graphic Acceralar with NX

NoMachine 3 download and install最小インストールsudo apt-get install --no-install-recommends ubuntu-desktopその他は http://gihyo.jp/admin/serial/01/ubuntu-recipe/0203 を参照/usr/NX/etc/node.cfgComment out this line: CommandStartGnome = "/e…

Ubuntu 12.04 rvm

http://www.andrehonsberg.com/article/install-rvm-ubuntu-1204-linux-for-ruby-193sudo apt-get install build-essential git-core Now we need to install RVM (Ruby Version Manager) using curl. If you do not have curl installed yet on your system…

Ubuntu 12.04 Gnome3 disable screen saver

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

mechanize proxy

a.set_proxy 'localhost', 4128

Ethernet Card の番号を変える eth0, eth1...

edit /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:81:5a:fa", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Networkmanager indicator missing

sudo nano /etc/NetworkManager/NetworkManager.conf"managed=false" → "managed=true"killall nm-appletand then reboot.

Nesta Heroku App Git upload key

http://nestacms.com/docs/deployment/heroku https://devcenter.heroku.com/articles/renaming-apps#manually_updating_a_git_remote $ heroku create --stack bamboo-mri-1.9.2 Enter your Heroku credentials. Email: ,(Herokuアカウント名) Password (ty…