05 2018 档案

摘要:右键 选择属性 选择Switch location 就可以了 阅读全文
posted @ 2018-05-25 15:04 zhaocundang 阅读(591) 评论(0) 推荐(0) 编辑
摘要:log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception i 阅读全文
posted @ 2018-05-19 23:56 zhaocundang 阅读(1641) 评论(0) 推荐(0) 编辑
摘要:1.创建数据库: from blog http://www.cnblogs.com/zhaocundang/p/9061959.html 使用navicat mysql IDE: 创建数据库 bookshop 创建表 CREATE TABLE books(id INT PRIMARY KEY aut 阅读全文
posted @ 2018-05-19 22:45 zhaocundang 阅读(2303) 评论(0) 推荐(0) 编辑
摘要:hibernate 插入数据错误:Caused by: java.sql.SQLException: Field 'id' doesn't have a default value 无法插入数据; 错误原因: id在数据库表中是作为主键,但是在插入的过程中,没有给予数值,并且没有让其自增 解决办法: 阅读全文
posted @ 2018-05-19 22:42 zhaocundang 阅读(1591) 评论(0) 推荐(0) 编辑
摘要:vim /etc/export /data_sda1/ 192.168.1.*(rw,sync,insecure,no_root_squash) mac端自带rpcbind 挂载 sudo mount -o resvport 192.168.1.180:/data_sda1 sda_data 阅读全文
posted @ 2018-05-19 20:34 zhaocundang 阅读(887) 评论(0) 推荐(0) 编辑
摘要:1.安装 apt-get install nfs-common nfs-kernel-server 省略(sudo apt-get install portmap >install rpcbind ) 2.mkdir /mnt/sda1/ 3.vim /etc/exports /mnt/sda1 * 阅读全文
posted @ 2018-05-18 14:58 zhaocundang 阅读(942) 评论(0) 推荐(1) 编辑
摘要:硬盘文件全是中文字符,让树莓派支持 sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf 阅读全文
posted @ 2018-05-18 12:02 zhaocundang 阅读(549) 评论(0) 推荐(0) 编辑
摘要:如果你知道密码: mysqladmin -u root -p password 新密码 MYSQL数据库密码忘记: 1. 在系统偏好 中,中止MYSQL服务.; 2. cd/usr/local/mysql-...../bin sudo ./mysqld_safe--skip-grant-tables 阅读全文
posted @ 2018-05-18 11:56 zhaocundang 阅读(315) 评论(0) 推荐(0) 编辑
摘要:vim /etc/dhcpcd.conf 修改如下 interface eth0 static ip_address=192.168.1.177/24 static routers=192.168.1.1 static domain_name_servers=114.114.114.114 阅读全文
posted @ 2018-05-17 10:04 zhaocundang 阅读(2109) 评论(0) 推荐(0) 编辑
摘要:永久修改主机名: 阅读全文
posted @ 2018-05-17 09:38 zhaocundang 阅读(434) 评论(0) 推荐(0) 编辑
摘要:Java web环境:Tomcat + Jdk +eclipse java EE 创建一个能运行的java web工程,记得勾选上web.xml 下载struts库,目前最新2.5-2.16 all.zip 将lib下的jar包 http://mirrors.tuna.tsinghua.edu.cn 阅读全文
posted @ 2018-05-12 19:03 zhaocundang 阅读(200) 评论(0) 推荐(0) 编辑
摘要:终端输入 curl http://members.3322.org/dyndns/getip way 2: ➜ ~ wget http://ipecho.net/plain O q ; echo 1.180.18.115 阅读全文
posted @ 2018-05-12 15:05 zhaocundang 阅读(4326) 评论(2) 推荐(2) 编辑
摘要:sudo spctl master disable 阅读全文
posted @ 2018-05-10 18:47 zhaocundang 阅读(229) 评论(0) 推荐(0) 编辑
摘要:先安装配置好apache apt get install apache2 /etc/init.d/apache2 start (blog passage from http://www.cnblogs.com/xiaobo Linux/p/8988378.html) 1.下载jdk SE 官网下载 阅读全文
posted @ 2018-05-04 00:01 zhaocundang 阅读(1624) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示