我在我的小型专用网络中玩NMAP,执行端口扫描。
到目前为止,我已经扫描了以下OSs (未修改的新安装--意味着没有安装额外的软件!):
Ubuntu 14.04
Windows 2012
Windows 2008 R2
Windows 7
对于W7,所有其他开放源码软件返回的端口都已打开。W7在其原始版本中是安全的,还是在NMAP命令中缺少了任何参数?
root@ubuntu-14:/# nmap 192.168.0.10 -sS -vv
Starting Nmap 6.40 ( http://nmap.org ) at 2015-11-22 09:26 CET
Initiating AR
在Rackspace next gen (Performance)服务器上重新安装Ubuntu 10.04需要打开以下端口: 25/tcp、80/tcp、443/tcp、3306/tcp。
我使用nmap检查打开的端口,下面是打开的列表:
PORT STATE SERVICE
22/tcp open ssh
所以我使用ufw打开端口(25/tcp,80/tcp,443/tcp,3306/tcp)
$sudo ufw allow 25/tcp
Rule updated
之后,ufw列出了与打开的端口相同的端口(22/tcp):
PORT STATE SERVICE
22/tcp ope
MySQL 8.0版本不支持Google Data Studio Connector MySQL。这看起来是一个身份验证问题。
我的MySQL版本:8.0.17Linux Ubuntu
我已经尝试了所有3种类型的密码认证类型:标准,Casching_sha2_password和SHA256密码。所有防火墙都是打开的入站规则。mysql用户具有通配符%。
我希望连接到数据库,也许可以尝试更改服务器上的任何身份验证配置,使其像版本5那样工作。
错误信息:"Não foi possível fazer a conexão ao banco de dados. Verifique seus p
我的笔记本电脑上有Ubuntu16.04.1,我想用它连接到我的Ubuntu16.04.1桌面。我在台式机和笔记本电脑上安装了OpenSSH服务器。
$ ssh user@ip address
ssh: connect to host ip address port 22: Connection timed out
我正尝试在AWS Elastic Beanstalk (此应用程序: )上运行一个简单的注册Flask应用程序,该应用程序连接到一个外部MySQL数据库,托管在AWS RDS上。
该应用程序在本地运行良好(即使我从本地应用程序连接到AWS RDS )。
但是当我在命令行中打开eb时,我得到:
502 Bad Gateway
nginx/1.8.1
当我创建eb时,我收到了警告:
WARN Only one EXPOSE directive is allowed, using the first one: 3306
因为在我的Dockerfile中,我有:
EXPOSE 3306
EXP
我安装了Ubuntu服务器,我正在学习它的安全性。
我看到的一篇文章是关于telnet以及如何在CentOS上禁用它。
显然,它不能在Ubuntu上工作,所以我如何在Ubuntu服务器上禁用Telnet?
ll /etc/xinetd.d/telnet
ls: cannot access /etc/xinetd.d/telnet: No such file or directory
我指的是在Ubuntu:在Ubuntu13.04上使用PHP5 5(和PHP5 5)和MySQL支持(LEMP)安装Nginx上安装Nginx的链接。
sudo su -运行正常。
apt-get install mysql-server mysql-client
mysql-client is already the newest version.
mysql-server is already the newest version.
然而,当我在火狐上尝试http://localhost时,它并没有显示欢迎页面。(也就是说,Nginx没有运行)。
无法连接Firefox无法在本地主机上
我正在尝试运行mysql到修改后的ubuntu镜像,其中包括安装Node.js和基本mysql安装使用以下docker文件
# Memcached
# use the ubuntu base image provided by dotCloud
FROM ubuntu/mysqlbase
MAINTAINER Hitesh
# make sure the package repository is up to dat//e
#RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" >
{
Error: connect ECONNREFUSED 127.0.0.1:3306
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
--------------------
at Protocol._enqueue (/home/ubuntu/workspace/
问题是,当我使用putty到主机并输入用户名时,密码提示会延迟。发现这与我的iptable直接相关,可以通过更改默认策略来解决问题。如果默认输入策略为“接受”,则密码提示立即出现。
Mar 13 00:05:01 server-ubuntu sshd[6154]: Connection from 192.168.0.10 port 26304
Mar 13 00:05:06 server-ubuntu sshd[6154]: Failed none for acid from 192.168.0.10 port 26304 ssh2
但是,如果默认输入策略为DROP,则在输入用户名后,在获得密
我意识到了一些奇怪的事情,或者是一些我不明白的事情。在我的日记里,我注意到有人试图向mysql求助。我将T4映射到我的服务器,并且可以看到mysql是打开的。一个Firewalld读物说,这些东西在默认情况下不是打开的,我自己也没有打开。
nmap T4
PORT STATE SERVICE
17/tcp filtered qotd
19/tcp filtered chargen
22/tcp open ssh
25/tcp filtered smtp
70/tcp filtered gopher
80/tcp open ht
我在Ubuntu 18.04上安装Mysql
我打字:
sudo apt-get install mysql-server
最后,我收到了一个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version (5.7.28-0ubuntu0.18.04.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgrad
我在共享主机中有mysql数据库,在一个%面板中用定义为“远程MySQL”。
我在CMD中输入:
C:\xampp\mysql\bin>mysql -u SiteName_username -p pass_of_mysql -h srv3.linuxisrael.co.il
我按回车
Enter password :
我按回车
按住这里进入是对的?
我的计算机上没有安装MySQL密码
我得到了:
mysql error 2003 (hy000) Can't connect to MySQl server on 'srv3.linuxisrael.co.il'
我一直在尝试从以下dockerfile准备Docker容器中包含mongodb的镜像:
# Dockerizing MongoDB: Dockerfile for building MongoDB images
# Based on ubuntu:latest, installs MongoDB following the instructions from:
# http://d...content-available-to-author-only...b.org/manual/tutorial/install-mongodb-on-ubuntu/
# Format: FROM re