- 博客(8)
- 收藏
- 关注
转载 Ubuntu16.04下安装python3.5并链接到默认python
参见http://blog.csdn.net/woainishifu/article/details/74080497安装pipwget https://bootstrap.pypa.io/get-pip.py sudo python3 get-pip.py sudo pip3 install setuptools --upgrade sudo pip3 install ipython[al...
2018-03-02 11:00:23 2084
原创 Ubuntu16.04下部署https网站,获取免费证书
1.Let's Encrypt简介 Let's Encrypt 是一个免费的开源,具有自动部署性能的开源CA。其官方网址为: https://letsencrypt.org/2.通过certbot部署Let's Encrypt安装环境:Ubuntu16.4+apache2.4.16$ sudo apt-get update$ sudo apt-get install sof...
2018-03-02 10:28:23 1341
原创 Ubuntu16.04下将Django框架部署到服务器80和443端口
1.安装Django框架pip install Django2.端口部署apache2网站部署文件位于/etc/apache2/sites-available, 默认文件为000-default.conf, 加了CA证书后的配置文件为:000-default-le-ssl.conf重新部署80端口,以便个人网站能够显示,以下是FileUp.conf:<VirtualHost *:80>...
2018-03-02 10:23:22 1960 1
原创 Ubuntu 16.04下 配置python开发环境
1.Anaconda从官网下载sh安装包后通过Xftp上传到服务器,通过root@jamesmartins:~# bash Anaconda2-4.3.1-Linux-x86_64.sh 安装完后记得添加路径,默认是不选,所以一定要选呀。Do you wish the installer to prepend the Anaconda2 install location to PATH ...
2018-02-09 11:34:31 989
原创 Ubuntu 16.04 下配置Wordpress
1.大坑从阿里云市场下载的网络环境一键安装包在Ubuntu 16.04 下无法运行,尝试过了几次后在其网站的问题中发现不支持。2.参考博客http://blog.csdn.net/qq_31714339/article/details/78237512点击打开链接...
2018-02-09 10:45:18 329
原创 Ubuntu 16.04 下配置服务器之mysql入门
1.Mysql基本指令安装完mysql后root账户对应的密码默认为空,可通过下面指令修改密码mysqladmin -uroot -p passwordEnter password: New password: Confirm new password:可使用以下指令登录mysql:mysql -uroot -pEnter password: ...
2018-02-09 09:22:33 178
原创 LeetCode Python - 3. Longest Substring Without Repeating Characters
1.DescriptionsGiven a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbb
2018-02-07 11:53:25 159
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人