摘要:
安装完Ubuntu后忽然意识到没有设置root密码, 不知道密码自然就无法进入根用户下。Ubuntu的默认root密码是随机的, 即每次开机都有一个新的root密码。我们可以在终端输入命令 sudo passwd, 然后输入当前用户的密码,enter,终端会提示我们输入新的密码并确认, 此时的密码就 阅读全文
摘要:
这段代码通过判断当前元素的display的值来设置它的display值,如果是none就设成block,如果是block就设置成none,从而实现了隐藏和现实的切换。 阅读全文
摘要:
1.jd-gui (windows环境) 下载地址 https://files.cnblogs.com/files/indifferent/jd-gui-windows-1.5.1.zip 下载并解压缩后,直接用jd-gui.exe 应用程序打开jar包即可 阅读全文
摘要:
1.若Tomcat的端口设置为10000,则http://localhost:10000访问的目录是 webapps 2.Service.xml中host内配置Context标签,path+docbase属性。 <Host name="localhost" appBase="webapps" unp 阅读全文
摘要:
转载 https://blog.csdn.net/qq_27803491/article/details/52785838 01-.tar格式 解包:[*******]$ tar xvf FileName.tar 打包:[*******]$ tar cvf FileName.tar DirName( 阅读全文
摘要:
启动与停止 1、启动 MySQL安装完成后启动文件mysql在/etc/init.d目录下,在需要启动时运行下面命令即可。 [root@test1 init.d]# /etc/init.d/mysql start 或者:service mysql start 或者:systemctl start m 阅读全文
摘要:
系统环境: [root@localhost ~]# cat /etc/RedHat-release CentOS release 6.7 (Final)[root@localhost tools]# uname -aLinux localhost 2.6.32-573.22.1.el6.x86_64 阅读全文