随笔分类 -  ubuntu

摘要:debian 9.8 安装php 7.3.3 卸载apt安装的 apt get autoremove php7 find /etc name " php " |xargs rm rf apt purge 如果是源码安装 whereis php 找出含有php的文件夹 rm rf ... 安装依赖 a 阅读全文
posted @ 2019-03-27 09:29 geek程序员 阅读(485) 评论(0) 推荐(0)
摘要:ubuntu 安装 1, wget O install.sh http://download.bt.cn/install/install ubuntu.sh && sudo bash install.sh 2, 阿里云安全组打开相关端口 3, 数据库配置允许远程端口 my.cnf 4, 设置数据库访 阅读全文
posted @ 2018-11-08 15:57 geek程序员 阅读(2252) 评论(0) 推荐(0)
摘要:服务器配置 购买阿里云服务器 (选择ubuntu 16系统 / 内存2G以上) 安全策略, 入规则: 添加端口 20,21,22, 80, 443, 3306, 8080, 安装宝塔 wget O install.sh http://download.bt.cn/install/install ub 阅读全文
posted @ 2018-08-26 08:46 geek程序员 阅读(1296) 评论(0) 推荐(0)
摘要:1. 使用自带终端或iterm2,iterm2界面和用户体验更好一点 2. 服务端:/etc/profile文件中配置TMOUT=0, export TMOUT=0 设置变量 source /etc/profile生效,重新登录用户 3. 客户端:~/.ssh/config文件中配置 Host Se 阅读全文
posted @ 2018-02-08 22:20 geek程序员 阅读(1076) 评论(0) 推荐(0)
摘要:sudo apt get install python pip python dev libmysqlclient dev pip install MySQL python 阅读全文
posted @ 2018-01-09 11:42 geek程序员 阅读(1941) 评论(0) 推荐(1)
摘要:下载navicat解压到opt目录创建桌面快捷方式sudo vim /usr/share/applications/navicat.desktop 阅读全文
posted @ 2017-02-26 08:50 geek程序员 阅读(261) 评论(0) 推荐(0)
摘要:crontab -l #查看详情crontab -e #设置定时任务 * * * * * command 分 时 日 月 周 命令 第1列表示分钟1~59 每分钟用*或者 */1表示 第2列表示小时1~23(0表示0点) 第3列表示日期1~31 第4列表示月份1~12 第5列标识号星期0~6(0表示 阅读全文
posted @ 2017-02-25 15:59 geek程序员 阅读(8334) 评论(0) 推荐(0)
摘要:安装mysql sudo apt install mysql-server #5.7版本安装php sudo apt install php #php7.0版本安装nginx sudo apt install nginx #nginx/1.10.0service nginx start #启动ngi 阅读全文
posted @ 2017-02-20 17:42 geek程序员 阅读(543) 评论(0) 推荐(0)
摘要:Ubuntu16.04换源 阅读全文
posted @ 2017-02-16 10:43 geek程序员 阅读(120) 评论(0) 推荐(0)