Ở 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
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.
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!
Merely wanna input which you have a really good web internet site , I love the pattern it truly stands out.
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.