Wesley13 Wesley13
3年前
java多线程知识点总结
1\.基本知识点http://zangweiren.blog.51cto.com/412366/94386新建线程的两种方式,继续Thread类和实现runnable接口,启动线程用start方法线程状态:新建,运行,阻塞,等待,终止sleep方
Wesley13 Wesley13
3年前
mysql忘记root用户密码找回步骤
修改或找回root密码步骤1.修改MySQL的登录设置:vi/etc/my.cnf在mysqld的段中加上一句:skipgranttables保存并且退出vi。2.重新启动mysqld/etc/init.d/mysqldrestart(servicemysqldrestar
Wesley13 Wesley13
3年前
ubuntu下sublime3无法输入中文
一、从命令行启动1.git clone https://github.com/lyfeyaj/sublimetextimfix.git2.cd ~/sublimetextimfix 这里进入的从github下载下来的文件夹,我直接在主目录clone的,所以直接进入~/sublimete
Stella981 Stella981
3年前
Linux中iptables的正确使用
1.首先介绍一下指令和相关配置文件启动指令:service iptables start重启指令:service iptables restart关闭指令:service iptables stop然后是相关配置:/etc/sysconfig/iptables如何操作该配置呢?vim /etc/sysconfig/iptab
Stella981 Stella981
3年前
Error response from daemon ... no space left on device docker启动容器服务报错
docker启动容器服务的时候,报错nospaceleftondevice!(https://oscimg.oschina.net/oscnet/ec70391f624ebcfe85eb791b52132871c15.jpg)1\.检查磁盘是否用光!(https://oscimg.oschina.net/oscnet/f2a9
Stella981 Stella981
3年前
CentOS7使用YUM安装Adobe Flash Player
方法一:安装FlashPlayer以管理员身份登录。yuminstallflashplugin验証安装安装好后,重新启动FireFox,在地址栏输入【about:plugins】确定ShockwareFlash是否安装成功并启用。更新Flashplayer以管理员身份登录。
Wesley13 Wesley13
3年前
3 SpringBoot与微服务
SpringBoot的使用?化繁为简:SpringMVC需要定义各种配置,配置文件多。SpringBoot的核心功能?  独立运行:javajarXXX.jar(以前启动SPringMVC需要有服务器,比如tomcat)  内嵌web服务器:内嵌Tomcat.  简化配置:用starter
Stella981 Stella981
3年前
Apache检查配置文件语法
Windows环境:httpdt或者:httpd.exewtf"C:\\Apache2.2\\conf\\httpd.conf"d"C:\\Apache2.2\\."_httpd.conf配置错误如果apache的配置文件httpd.conf搞错了,在windows里启动它,会提示therequested
Easter79 Easter79
3年前
TThreadedSelectorServer介绍及Direct Memory OOM分析
一、TThreadedSelectorServer线程模型:该服务会启动1个AcceptThread,2个SelectorThread(默认为2个,可设置),一个woker线程池(池的大小可设置),!(http://static.oschina.net/uploads/space/2015/0601/154802_Mlgb_143181
Wesley13 Wesley13
3年前
C# 获取目录路径
Console.WriteLine(System.Windows.Forms.Application.StartupPath);//获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称。(WindowsFrom应用程序才有效)//输出结果:C:\GetPathInfo\GetPath\bin\DebugCons