快乐源地
yonghengmoming · 共 22 篇文章
跨电脑信息传递用
跨电脑信息传递用,省去U盘传来传去 deb http://mirrors.163.com/debian/ stretch main non-free contrib deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.163.com/debian/ stretch main non-free contrib…
2018-03-12 14:57 · 评论(0)
debian8架设nginx+php+mysql
安装网站服务器: 1.安装nginx:http://my.oschina.net/duwaiweb/blog/80578 apt-get install nginx /etc/init.d/nginx start 配置域名:http://wiki.ubuntu.org.cn/Vps nginx默认用户名和用户组:www-data:www-data 2.安装PHP-FPM: # # deb cdrom:[Debian GNU/Linux 8.5.0 _Jessie_ - Official amd64 DVD Binary-1 20160604-15:35]/ jessie contrib ma…
2017-08-25 22:49 · linux · 评论(0)
position 的 static、relative、absolute、fixed、inherit
转载自:(http://www.cftea.com/c/2009/01/84CEP6T7Q4BYZ1OZ.asp) position 有五个值:static、relative、absolute、fixed、inherit。 static 是默认值。就是按正常的布局流从上到下从左到右布局,平常我们做网页时,没有指定 position,也就表示使用 static。 relative 没有脱离布局流 ,此时可以使用 top、right、bottom、left 属性。 top 和 bottom 共存时,使用 top 值,忽略 bottom 值; left 和 right 共存时,使用 left 值,…
2017-08-25 22:48 · 评论(0)
eclipse 插件地址收集
持续添加中 SVN插件:http://subclipse.tigris.org/update_1.4.x (官网地址:http://www.polarion.org/projects/subversive/download/1.1/update-site) WTP编辑插件(编辑jst文件):http://download.eclipse.org/webtools/downloads/ 参考地址:http://hi.baidu.com/%C3%CE%C0%EF%CF%E3%B0%CD%C0%AD/blog/item/221da35468be2d133a293594.html
struts.xml参数详解(留着自己看的)
参考自:http://www.cnblogs.com/it563/articles/1939927.html <?xml version="1.0" encoding="GBK"?> <!-- 下面指定Struts 2.1配置文件的DTD信息 --> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd"> <!-- struts是Struts 2配置文件的根元素 --> <s…
2012-04-14 10:34 · struts · 评论(0)
ubuntu常见问题集中
1.命令行用gnome-open,以管理员权限打开文件夹 sudo apt-get install libgnome2-0 2.ubuntu下推荐的图片编辑软件:GIMP 图片编辑软件 sudo apt-get install gimp 3.关闭客人会话(参考自:http://www.gejo.in/archives/564): sudo gedit /etc/lightdm/lightdm.conf [SeatDefaults] greeter-session=unity-greeter user-session=ubuntu Append allow-guest=false to it,…
oracle数据操作篇(sql语句)
创建序列seq_cqyt,按1递增,从1开始递增,最小值为1(序列在数据库中很常用): create sequence seq_cqyt increment by 1 start with 1 nomaxvalue minvalue 1; 删除序列: drop sequence seq_cqyt; 查看指定表的字段信息: desc CQYT1--这个是表名,要大写 往表中插入数据: insert into cqyt1(id,username,password) values (12,'u2','p2'); insert into cqyt1 values (13,'u3','p3'); --…
2012-04-13 08:52 · oracle · 评论(0)
oracle表的操作篇(sql语句)
这篇文章的内容包括:表的増删改查,字段的増删改查,主键、外键、唯一、非空、默认约束的増删改 查看自己用户的所有表: select * from user_tab_comments; 创建表: create table cqytest( id number(1), username varchar2(11), password varchar2(11)--最后一个字段后面必须没有逗号 )tablespace cqyspace; 复制表: create table test1 as select * from cqy.cqytest; --复制cqy用户的cqytest表 删除表: drop t…
2012-04-09 16:13 · oracle · 评论(0)
oracle环境搭建篇(包括创建表空间和用户)
下载oracle http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html 要先注册,注册后,先选择接受协议,然后下载相应系统的oracle,File1和File2都要下载 安装oracle 解压下载的oracle File1和File2,先解压File1,然后重命名,解压File2后,把内容剪切到File1里 开始安装 安装时去掉自动更新的勾 选择创建和配置数据库 选择桌面类 安装个人版 设置数据库路径,选择个人版,修改全局数据库名(SID,后面会用到),设置一个口令 选勾全部忽略 …
2012-04-08 20:07 · oracle · 评论(0)
ubuntu文本编辑器中文中文乱码问题解决
转载自:http://www.2cto.com/os/201201/117535.html 缺省配置下,用Ubuntu 的文本编辑器(gedit)打开GB18030/GBK/GB2312 等类型的中文编码文本文件时,将会出现乱码。 出现这种情况的原因是,gedit 使用一个编码匹配列表,只有在这个列表中的编码才会进行匹配,不在这个列表中的编码将显示为乱码。 您要做的就是将GB18030 加入这个匹配列表。 1、命令行方式 ubuntu11.10 开始默认GSettings (基于命令行)作为系统的配置工具,要解决gedit 的中文字乱码,只需在终端执行: gsettings set org.…
ubuntu下使用IE7和RTX
ubuntu中安装ie,就必须安装wine虚拟环境 安装Wine虚拟环境 (为了安装IE和RTX) 那个是windows的程序吧~如果非要安装就要用虚拟机~打开终端,输入指令 sudo apt-get install wine 安装winetricks wget http://www.kegel.com/wine/winetricks sudo chmod +x winetricks sh winetricks msxml3 gdiplus riched20 riched30 ie6 vcrun6 vcrun2005sp1 flash winetricks gdiplus riched20 …
ubuntu的备份和还原
首先,成为根用户 :sudo su (这里进入根用户只是为了方便,不进入也可以) 下面转到您的文件系统根目录下 (这里只是我们的一个例子,您可以转到任何一个您想备份的目录下,包括远程或可移动驱动器。) CD到根目录 :cd / 完整的备份命令: sudo tar -cvpzf /backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/media --exclude=/host --exclude=/mnt --exclude=/sys / 讲解: sudo tar -cvpzf /ba…
ubuntu 安装mysql
二、ubuntu 安装mysql 安装mysql(参考自:http://wiki.ubuntu.org.cn/MySQL%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97) 安装MySQL :sudo apt-get install mysql-server 中间有几步需要手动按确定,按Tab,选中确定后回车就好 创建库、用户 默认的MySQL安装之后根用户是没有密码的,所以首先用根用户进入:$mysql -u root 进入mysql之后,最要紧的就是要设置Mysql中的root用户密码了,否则,Mysql服务无安全可言了。 mysql> GRANT ALL PRIV…
ubuntu 安装oracle
一、ubuntu 安装oracle 参考文章: http://wiki.ubuntu.org.cn/Ubuntu%E4%B8%8AOracle10g%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97#.E4.BD.BF.E7.94.A8.E7.BD.91.E9.A1.B5.E6.B5.8F.E8.A7.88.E5.99.A8.E8.AE.BF.E9.97.AEOracle.E7.9A.84http.E7.AE.A1.E7.90.86.E7.95.8C.E9.9D.A2 下载oracle ,地址:http://www.oracle.com/technetwork/data…
ubuntu linux windows 多系统的 linux 下搭建eclipse 并 部署tomcat
总共分为四个步骤: 1.安装ubuntu linux, 2.部署jdk, 3.安装eclipse, 4.安装tomcat 安装ubuntu 下载ubuntu (for window) 安装器 下载地址:http://www.ubuntu.com/download/ubuntu/windows-installer 下载后按步骤安装即可,安装器本身不大,但是安装时要下载ubuntu系统,会很花时间 (笔者家里两台电脑,用同样的网络,安装时间差异很大 一台core i5 cpu,4G内存,1G n卡,安装只要半个小时 一台core 双核,2G内存,64M集成显卡,安装要5个多小时,睡觉前开着,第二…