Saturday , July 27 2024

Install SQLite3 on CentOS 5 for use with ruby-sqlite3

Ở bài này mình hướng dẫn các bạn cách cài đặt SQLite3 trên CentOS 5, các phiên bản khác các bạn cũng làm tương tự.

Yêu cầu bạn cài Ruby, Gem trước: Install Ruby 1.9.3 + RubyGems 1.8.7 + Rails 3.2.1 with libyaml on CentOS

Bắt đầu cài đặt SQLite3 từ source như sau:

1
2
3
4
5
6
7
# cd /usr/local/src
# wget http://www.sqlite.org/sqlite-autoconf-3071400.tar.gz
# tar xvfz sqlite-autoconf-3071400.tar.gz
# cd sqlite-autoconf-3071400
# ./configure
# make
# make install

Tiếp theo là cài gem sqlite3:

1
# gem install sqlite3

Vậy là đã cài đặt xong. Các bạn có thể kiểm tra version như sau:

1
# sqlite3 --version

Chúc các bạn thành công!

Link: SQLite3

About Ngo Thang IT

Check Also

login ssh root password vps google cloud

Cách đăng nhập SSH root bằng mật khẩu trên VPS Google Cloud

Xin chào, bạn đã tạo được VPS (VM Instance) trên Google Cloud nhưng muốn đăng …

4 Bình luận

  1. I simply want to mention I am very new to blogging and site-building and definitely loved you’re web-site. Probably I’m want to bookmark your site . You surely come with outstanding writings. Thank you for sharing with us your website.

  2. Thanks a bunch for sharing this with all of us you really recognise what you are talking about! Bookmarked. Kindly additionally visit my website =). We may have a hyperlink change contract among us!

  3. Merely wanna input which you have a really good web internet site , I love the pattern it truly stands out.

  4. You made several nice points there. I did a search on the topic and found the majority of people will have the same opinion with your blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Đăng Ký Nhận Tin Qua Email

Nhận thông tin bổ ích về WordPress, Hosting, Thủ thuật website, Download miễn phí....và các phần quà hấp dẫn qua email.

* là bắt buộc