python3 no module named PIL
摘要:sudo apt-get install python3-imaging
阅读全文
posted @
2017-02-23 19:05
斜月三星一太阳
阅读(806)
推荐(0)
python3 no module named yaml
摘要:sudo apt-get install python3-yaml
阅读全文
posted @
2017-02-23 19:04
斜月三星一太阳
阅读(2481)
推荐(0)
vbox和宿主机共享文件夹
摘要:首先,查看vbox安装的ubuntu是否支持vboxsf模块 如果没有安装,需要安装vboxsf模块:(如果安装了请跳过) 设备-->安装增强功能 在/mnt文件夹下新建文件夹/mnt/share 控制-->设置-->共享文件夹 挂载文件夹: ok 需要注意的是如果你在共享文件夹时设置了自动挂载功能
阅读全文
posted @
2017-02-23 11:04
斜月三星一太阳
阅读(238)
推荐(0)
ubuntu安装ssh
摘要:(如果有需要也可以安装openssh-client) 检测ssh server是否启动: 如果看到ssd说明ssh server顺利启动了
阅读全文
posted @
2017-02-23 10:40
斜月三星一太阳
阅读(154)
推荐(0)
vbox安装64位ubuntu
摘要:如果不做任何设置的话,你会发现下载下来的vbox只能安装32位的系统,如果想要安装64位的系统,我们需要做一些配置: 进入bios(basic input output system), Security-->Virtualization 设置为enable 再记录一个用vbox安装Ubuntu的时
阅读全文
posted @
2017-02-22 21:13
斜月三星一太阳
阅读(294)
推荐(0)
记录一个调试REST风格的web服务的client
摘要:coogle浏览器的advanced rest client很好用,记录一下,脑子不好,容易忘,,可以在chrome 的网上应用店添加 Rest client是用来调试REST风格的Web服务,接收POST, GET, PUT, DELETE请求。
阅读全文
posted @
2017-02-22 16:41
斜月三星一太阳
阅读(164)
推荐(0)
ubuntu搭建mediawiki
摘要:1.搭建lamp环境,lamp指的是: Linux+Apache+Mysql/MariaDB+Perl/PHP/Python (我们安装的是Linux+apache2+postgresql+php) (还需要安装php5-pgsql模块:sudo apt-get install php5-pgsql
阅读全文
posted @
2017-02-21 16:34
斜月三星一太阳
阅读(589)
推荐(0)
mediawiki安装实现代码高亮的插件GeSHiHighLight
摘要:1.下载新版本的GeSHi(http://qbnz.com/highlighter) 2.解压,复制geshi目录到mediawiki的扩展目录(extensions)下(建议删除contrib和docs两个目录及内容) 3.在mediawiki的扩展目录(ectensions)下,新建GeSHiH
阅读全文
posted @
2017-02-21 13:42
斜月三星一太阳
阅读(2116)
推荐(0)
记录一个在线压缩和还原压缩js代码的工具
摘要:packer – javascript 压缩工具 http://dean.edwards.name/packer/ Javascript Beautifier 可以恢复某些压缩工具压缩的js代码 网页版:http://jsbeautifier.org
阅读全文
posted @
2017-02-20 12:19
斜月三星一太阳
阅读(1361)
推荐(0)
ubuntu tomcat https
摘要:1.generate key use java key tool 2.sign certificate 3.modify server.xml test it: https://ip:8443
阅读全文
posted @
2017-02-09 18:03
斜月三星一太阳
阅读(257)
推荐(0)
ubuntu apache2 https
摘要:1. enable the module ssl by: 2.after you have enabled module ssl , you will have to restart the web server for the change to be recognized: now ,the w
阅读全文
posted @
2017-02-09 17:41
斜月三星一太阳
阅读(240)
推荐(0)
ubuntu apache2配置多站点
摘要:ubuntu下使用sudo apt-get install apache2方法安装时,配置文件主要在/etc/apache2/目录下。主要有: apache2.conf : 主配置文件,会通过include的方式包含其他的配置文件 ports.cong : 可以配置你需要启用的端口号 mods-av
阅读全文
posted @
2017-02-09 14:20
斜月三星一太阳
阅读(620)
推荐(0)
Ubuntu系统下同时打开多个终端窗口的软件
摘要:sudo apt-get install Terminator
阅读全文
posted @
2017-02-06 18:47
斜月三星一太阳
阅读(397)
推荐(0)
windows下apache服务器的下载,安装,配置
摘要:1.进行apache官网->Download->Files for Microsoft Windows->ApacheHaus,然后选择合适的版本下载 2.将下载下来的压缩包解压到合适的目录 3.找到Apache\conf\httpd.conf文件,打开,修改:a) Define SRVROOT为当
阅读全文
posted @
2017-02-06 11:25
斜月三星一太阳
阅读(160)
推荐(0)
windows中以管理员身份运行cmd
摘要:开始->所有程序->附件->命令提示符->右键,以管理员身份运行(win10可以直接搜索cmd,右键,以管理员身份运行)
阅读全文
posted @
2017-02-06 10:39
斜月三星一太阳
阅读(265)
推荐(0)