【待完善】[laowang@cdh203 ~]$ sudo yum install krb5-server krb5-libs krb5-auth-dialogLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirrors.cn99.com * extr...
原创
2021-07-13 11:45:18
585阅读
1.memcached介绍:memcached是内存缓存,内容以key-value对的形式存在。读取的时候从内存中读取2.memcached原理:第一次读取去数据库中读取,然后先保存在缓存里,下一次相同的内容直接去缓存中取。如果缓存里没有再去数据库中读取3.配置
原创
2015-08-14 11:20:40
198阅读
public static void main(String[] args) throws ClientProtocolException, IOException, InvalidKeyException, NoSuchAlgorithmException { HttpClient httpclient = new DefaultHttpClient(); Lis
原创
2020-12-15 10:54:07
314阅读
设计模式参考资料 https://refactoringguru.cn/design-patterns/catalog http://c.biancheng.net/view/8462.html ...
转载
2021-07-19 15:02:00
146阅读
2评论
public static void main(String[] args) throws ClientProtocolException, IOException, InvalidKeyException, NoSuchAlgorithmException { HttpClient httpclient = new DefaultHttpClient();
原创
2023-04-13 05:55:25
62阅读
Vue组件
1.组件概念
组件系统是Vue.js其中一个重要的概念,它提供了一种抽象,让我们可以使用独立可复用的小组件来构建大型应用,任意类型的应用界面都可以抽象为一个组件树:
说白了:就是前端设计的代码复用,不用重复设计轮子。
2.为什么需要组件?
代码复用
3.如何使用组件
三步曲:创建组件构造器、注册组件和使用组件。
全局组件格式:
Vue.component(组件名,{参数代码设置})
原创
2024-03-19 23:00:10
49阅读
一、系统环境说明操作系统版本:CentOS 7.4.1708harbor01:10.0.0.134harbor02: 10.0.0.1351、准备基础环境:[root@localhost ~]# hostnamectl set-hostname Harbor01.example.com
[root@localhost ~]# sudo&n
原创
2018-09-04 11:11:35
10000+阅读
ApplicationEventPublisherAware
转载
2014-05-22 17:32:00
107阅读
2评论
awk工具:一个简单的例子:用一条awk命令查看root用户的uid? awk -F: '/^root/{print $3}' /etc/passwd
awk -F ':' '$1~/root/ {print $3}' /etc/passwd
&nbs
原创
2015-12-23 17:46:49
284阅读
SQL> create table dep(id number,name varchar2(10));Table created.SQL> insert into dep values(1,'dep1'); 1 row created.SQL> commit;Commit complete.SQL> select ora_rowscn ,id,nam
原创
2023-05-24 14:18:17
45阅读
redis批量删除指定pattern的keys批量删除Keyredis-cli keys "*" | xargs redis-cli del # 如果redis-cli没有设置成系统变量,需要指定redis-cli的完整路径 # 如:/opt/redis/redis-cli keys "*" | xargs /opt/redis/redis-cli del 指定 Red...
原创
2021-12-04 17:38:38
51阅读
在线调试:https://c.runoob.com/compile/66
https://www.runoob.com/lua/lua-basic-syntax.html
转载
2016-04-19 15:50:00
130阅读
2评论
总结几点经验:
1、php文件的执行是通过www用户实现的,严格来说php文件只需要给www用户“读”权限即可使得文件被apache或者nginx执行;
2、部分文件在管理操作中需要被修改,这样的文件需要将文件需要给www用户“写”权限;
3、文件夹如果程序不自动像文件夹内写入新文件,那么文件夹可以不给www用户“写入权限&rdqu
原创
2011-11-19 21:06:34
707阅读
defprint_jiujiu(self):foriinrange(1,10):forjinrange(1,10):print'',j,'*',i,'=',i*j,print''defprint_jiujiuzx(self):foriinrange(1,10):forjinrange(10-i,10):print'',i,'*',j,'=',i*j,print''defprint_jiujiu01
原创
2017-12-12 23:48:46
740阅读
点赞