우분투 ruby 설치

1 개요[ | ]

우분투 ruby 설치

2 확인[ | ]

Console
Copy
root@zetawiki:~# ruby -v
The program 'ruby' can be found in the following packages:
 * ruby
 * ruby1.8
Try: apt-get install <selected package>

3 설치[ | ]

Console
Copy
root@zetawiki:~# apt-get install ruby
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libruby1.9.1 libyaml-0-2 ruby1.9.1
Suggested packages:
  ri ruby-dev ruby1.9.1-examples ri1.9.1 graphviz ruby1.9.1-dev ruby-switch
The following NEW packages will be installed:
  libruby1.9.1 libyaml-0-2 ruby ruby1.9.1
0 upgraded, 4 newly installed, 0 to remove and 69 not upgraded.
Need to get 2,734 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Console
Copy
... (생략)
Unpacking libruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
Setting up ruby (1:1.9.3.4) ...
Setting up ruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Setting up libruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

4 확인 2[ | ]

Console
Copy
root@zetawiki:~# ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

5 같이 보기[ | ]

  • 우분투 MySQL 설치
    이번에 처음 우분투를 설치하게 되었고 mysql을 설치하고자 합니다 덕분에 잘 따라하고 있었습니다만 netstat -ntlp | grep mysqld (not all processes could be identified, non-owned process info will not Qweqwe750
  • 우분투 MySQL 설치
    명령어를 실행한 계정이 root가 아닌 것 같군요. 아래와 같이 sudo를 붙여서 실행해보세요. sudo netstat -ntlp | grep mysqld "ERROR 1045 (28000): Access denied for user"는 아이디, 패스워드 확인 후에 아래와 같이 J Jmnote