Entries from 2012-07-01 to 1 month

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…