Centos7 升级 sqlite3
下载地址:https://www.sqlite.org/download.html
[root@djangoServer ~]# wget https://www.sqlite.org/2019/sqlite-autoconf-3290000.tar.gz
[root@djangoServer ~]# tar -zxvf sqlite-autoconf-3290000.tar.gz
#构建并安装
[root@djangoServer ~]# cd sqlite-autoconf-3270200
[root@djangoServer sqlite-autoconf-3290000]# ./configure --prefix=/usr/local/sqlite
[root@djangoServer sqlite-autoconf-3290000]# make && make install
#检查版本
## 最新安装的sqlite3版本
[root@djangoServer ~]# /usr/local/sqlite/bin/sqlite3 --version
# 备份旧的sqlite3
[root@djangoServer ~]# mv /usr/bin/sqlite3 /usr/bin/sqlite3_old
## 软链接将新的sqlite3设置到/usr/bin目录下
[root@djangoServer ~]# ln -s /usr/local/sqlite/bin/sqlite3 /usr/bin/sqlite3
## 查看当前全局sqlite3的版本
[root@djangoServer ~]# sqlite3 --version
3.29.0 2019-07-10 17:32:03 fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88bfa6
#将路径传递给共享库
# 设置开机自启动执行,可以将下面的export语句写入 ~/.bashrc 文件中,如果如果你想立即生效,可以执行source 〜/.bashrc 将在每次启动终端时执行
[root@djangoServer ~]# export LD_LIBRARY_PATH=/usr/local/sqlite/lib
最新文章
- ecshop随机分类
- 带后台服务配置的tomcat使用
- Sublime Text 3初阶
- c/c++与Python的语法差异
- 邻接表c源码(构造邻接矩阵,深度优先遍历,广度优先遍历,最小生成树prim,kruskal算法)
- MPI编程的常用接口速查
- 腾讯QQ群数据下载方法(7000万个qq群资料全泄漏)
- ajax向后台传值
- android图片处理方法(转)
- [Mugeda HTML5技术教程之12]制作跨屏互动应用
- 【转】int &;&; 非常量右值
- jdom.jar导入问题
- NopCommerce(3.9)作业调度插件
- navicat为mysql建立索引
- Scala编程入门---函数过程,Lazy值和异常
- 【原】Java学习笔记019 - 面向对象
- 在MyEclipse中搭建spring-boot+mybatis+freemarker框架
- Web组件流畅拖动效果
- Abode Audition 的使用
- JS 获取css transform中的值
热门文章
- 2019 ICPC Asia Nanjing Regional
- HDOJ1232 畅通工程 DFS
- Codeforces Round #648 (Div. 2) C. Rotation Matching
- 【poj 2891】Strange Way to Express Integers(数论--拓展欧几里德 求解同余方程组 模版题)
- Codeforces Global Round 9 C. Element Extermination (思维,栈)
- CodeCraft-20 (Div. 2) B. String Modification (字符串,规律)
- 分布式一致性算法 2PC 3PC Paxos
- std::invoke_result的实现详解
- mysql+python+pymysql的一些细节问题
- Socket 编程简介