Ubuntu

Opening a port on Ubuntu

元气小坏坏 提交于 2021-02-07 10:21:02
问题 I am trying to open up port on my Ubuntu machine to allow me to connect the Mongo using an external program. I ran this which is the command line to open a new port: sudo iptables -A INPUT -p tcp --dport 27017 -j ACCEPT but when I ran this to check if the new rule was there... sudo netstat -ntlp | grep LISTEN ...the new port wasn't in the list - any ideas? 回答1: I think the mangodb instance was not started, apart from that , sudo netstat -ntlp | grep LISTEN gives the list ports that are active

Opening a port on Ubuntu

跟風遠走 提交于 2021-02-07 10:19:56
问题 I am trying to open up port on my Ubuntu machine to allow me to connect the Mongo using an external program. I ran this which is the command line to open a new port: sudo iptables -A INPUT -p tcp --dport 27017 -j ACCEPT but when I ran this to check if the new rule was there... sudo netstat -ntlp | grep LISTEN ...the new port wasn't in the list - any ideas? 回答1: I think the mangodb instance was not started, apart from that , sudo netstat -ntlp | grep LISTEN gives the list ports that are active

Fingerprint u.a.u 4500 with ubuntu 18.04

[亡魂溺海] 提交于 2021-02-07 09:38:04
问题 i want to install the drivers for u are u 4500, but it only can be compiled with old kernel versions (2.6 to 3.2) , can you help me to install the drivers on ubuntu with last kernel version. The sample application of fingerprint cant recognize the device. 回答1: I am not sure what problems you are having, but I could compile and install the driver under Ubuntu 18.04. I did get a few errors during compilation, which I fixed as follows: Error 1: /opt/DigitalPersona/urusdk-linux/Linux/drivers

Fingerprint u.a.u 4500 with ubuntu 18.04

你。 提交于 2021-02-07 09:35:25
问题 i want to install the drivers for u are u 4500, but it only can be compiled with old kernel versions (2.6 to 3.2) , can you help me to install the drivers on ubuntu with last kernel version. The sample application of fingerprint cant recognize the device. 回答1: I am not sure what problems you are having, but I could compile and install the driver under Ubuntu 18.04. I did get a few errors during compilation, which I fixed as follows: Error 1: /opt/DigitalPersona/urusdk-linux/Linux/drivers

spark start-slave not connecting to master

最后都变了- 提交于 2021-02-07 09:27:53
问题 I am using ubuntu 16 and trying to set up spark cluster on my lan. I have managed to configure a spark master, and manage to connect a slave from the same machine and see it on localhost:8080 When i try to connect from another machine, problems start, i configured passwordless ssh as explained here when i try to connect to the master using start-slave.sh spark://master:port as explained here I am getting this error log I tried accesing the master using the local ip and the local name (i

spark start-slave not connecting to master

╄→尐↘猪︶ㄣ 提交于 2021-02-07 09:27:31
问题 I am using ubuntu 16 and trying to set up spark cluster on my lan. I have managed to configure a spark master, and manage to connect a slave from the same machine and see it on localhost:8080 When i try to connect from another machine, problems start, i configured passwordless ssh as explained here when i try to connect to the master using start-slave.sh spark://master:port as explained here I am getting this error log I tried accesing the master using the local ip and the local name (i

RabbitMQ on Ubuntu 10.04 Server

混江龙づ霸主 提交于 2021-02-07 06:13:50
问题 Trying to run RabbitMQ on VPS with Ubuntu 10.04. Doing everything like usual: added RabbitMQ deb repo updated with apt-get update installed with apt-get install rabbitmq-server On my local machine with Ubuntu 11.10 and another VPS with same 10.04 everything works just fine. But on this one i getting error like this (from /var/log/rabbitmq/startup_log): Activating RabbitMQ plugins ... ******************************************************************************** *****************************

RabbitMQ on Ubuntu 10.04 Server

半腔热情 提交于 2021-02-07 06:12:05
问题 Trying to run RabbitMQ on VPS with Ubuntu 10.04. Doing everything like usual: added RabbitMQ deb repo updated with apt-get update installed with apt-get install rabbitmq-server On my local machine with Ubuntu 11.10 and another VPS with same 10.04 everything works just fine. But on this one i getting error like this (from /var/log/rabbitmq/startup_log): Activating RabbitMQ plugins ... ******************************************************************************** *****************************

urllib.request module fails to install in my system

ぃ、小莉子 提交于 2021-02-07 05:13:13
问题 Tried installing urllib.request module using below command sudo pip install urllib.request but it returned Downloading/unpacking urllib.request Could not find any downloads that satisfy the requirement urllib.request Cleaning up... No distributions at all found for urllib.request Storing debug log for failure in /home/mounarajan/.pip/pip.log How can I install this module? 回答1: urllib.request is only available in python3 branch. See the following post for more info. urllib.request in Python 2

urllib.request module fails to install in my system

匆匆过客 提交于 2021-02-07 05:13:07
问题 Tried installing urllib.request module using below command sudo pip install urllib.request but it returned Downloading/unpacking urllib.request Could not find any downloads that satisfy the requirement urllib.request Cleaning up... No distributions at all found for urllib.request Storing debug log for failure in /home/mounarajan/.pip/pip.log How can I install this module? 回答1: urllib.request is only available in python3 branch. See the following post for more info. urllib.request in Python 2