摘要: <!doctype html><HTML> <HEAD><meta charset="utf-8"> <style type="text/css">body{ font-size:100px; text-align:center;}input{ width:350px; height:140px; 阅读全文
posted @ 2019-06-25 12:39 无聊的菜鸟 阅读(2359) 评论(0) 推荐(0) 编辑
摘要: 操作部署某个环境的时候使用的是CentOS7版本,然后在需要启动httpd服务的时候惯性的使用service httpd start命令,但是提示有"/bin/systemctl start httpd.service"问题。看来系统变动之后一些操作命令还是有些变化的。 当然,为了兼容性,我们原来习 阅读全文
posted @ 2019-06-19 21:34 无聊的菜鸟 阅读(6099) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/achang21/article/details/52538049 使用方法如下: >>> 关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld. 阅读全文
posted @ 2019-06-19 21:27 无聊的菜鸟 阅读(2960) 评论(1) 推荐(0) 编辑
摘要: yum search ifconfig 通过yum search 这个命令我们发现ifconfig这个命令是在net-tools.x86_64这个包里,接下来我们安装这个包就行了 运行 yum install net-tools 就OK了 阅读全文
posted @ 2019-06-19 21:26 无聊的菜鸟 阅读(9978) 评论(2) 推荐(0) 编辑
摘要: 一、著名端口 端口号码 / 层名称注释 1 tcpmux TCP 端口服务多路复用 5 rje 远程作业入口 7 echo Echo 服务 9 discard 用于连接测试的空服务 11 systat 用于列举连接了的端口的系统状态 13 daytime 给请求主机发送日期和时间 17 qotd 给 阅读全文
posted @ 2019-06-11 15:38 无聊的菜鸟 阅读(4467) 评论(0) 推荐(0) 编辑
摘要: 大家在学习计算机的时候,对于最常用的几个端口比如80端口肯定有很深的印象,但是对于其他一些不是那么常用的端口可能就没那么了解。所以,在一些使用频率相对较高的端口上,很容易会引发一些由于陌生而出现的错误,或者被黑客利用某些端口进行入侵。对于这件事情,大部分人都很头疼——最多可达65535个的端口,让人 阅读全文
posted @ 2019-06-11 15:36 无聊的菜鸟 阅读(21584) 评论(0) 推荐(1) 编辑
摘要: Mysql: <?php header('Content-Type:text/html;charset=utf-8'); $link = mysql_connect('localhost:3306','root','123456'); $db_selected = mysql_select_db(' 阅读全文
posted @ 2019-06-10 20:49 无聊的菜鸟 阅读(495) 评论(0) 推荐(0) 编辑
摘要: MYSQL <?php header("Content-Type:text/html;charset=utf-8"); $link = mysql_connect('localhost:3306','root','123456'); if($link){ echo '数据库连接正确'; }else{ 阅读全文
posted @ 2019-06-10 20:45 无聊的菜鸟 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 0X01: root@kali:~# mysql -h 192.168.7.106 -u root ERROR 1045 (28000): Access denied for user 'root'@'192.168.7.108' (using password: NO) 0X02(解决方法): m 阅读全文
posted @ 2019-06-09 17:42 无聊的菜鸟 阅读(365) 评论(0) 推荐(0) 编辑
CopyRight 2020-2021