2

I have this problem, I want open multiple instances of a portable software named hitleap (it is for ubuntu, I am not using wine) in ubuntu.

when I try open after is running the shows me enter image description here

How could I running multiple instances of the this program?

I want not VirtualMachines as virtualbox because I have low ram and processor (This ubuntu is a VPS)

NOTE: please do not suggest me networking solutions, my problem is that the program denied to execute more of one instance of self

IF someone want try resolve the problem, please download the files, in the web page Link of app only for ubuntu 64 bits linux and testing.

0

1 Answer 1

0

The HitLeap Support page says :

Can I run multiple HitLeap Viewers?

Yes, if you have access to multiple computers then you can run one instance of the HitLeap Viewer on each of them, assuming that they also have different IP addresses.

This means that only one instance is allowed for each IP address, so you cannot run more than one instance on one computer.

The VirtualBox solution

The simple solution would be to use VirtualBox to create multiple virtual machines that can each run one separate instance of HitLeap. This simple solution is not very convenient, but does not require deep knowledge of Linux.

The network namespaces solution (without VirtualBox)

More complex solutions that do not require virtual machines are described in the post Bind unix program to specific network interface.

The accepted answer uses a flexible feature called 'network namespaces' which is exposed through the ip program of Linux. The answer describes doing the following as root:

# Add a new namespace called test_ns
ip netns add test_ns

# Set test to use eth0, after this point eth0 is not usable by programs
# outside the namespace
ip link set eth0 netns test_ns

# Bring up eth0 inside test_ns
ip netns exec test_ns ip link set eth0 up

# Use dhcp to get an ipv4 address for eth0
ip netns exec test_ns dhclient eth0

# Ping google from inside the namespace
ip netns exec test_ns ping www.google.co.uk

It is also possible to manage network namespaces to some extent with the unshare and nsenter commands. This allows you to also create separate spaces for PIDs, users and mount points.

Further references contained in that post are :

8
  • thank you for you reply, I understand it, I have 4 virtual marchines with proxys for it (In my pc). but the problem it that I have a VPS i want run multiples instances without virtual machinas as virtualbox because I have not good processor in my VPS... I need can run multiples instances in the ubuntu of the VPS...
    – Milor123
    Apr 3, 2017 at 19:12
  • That depends if you can use network namespaces on the VPS.
    – harrymc
    Apr 3, 2017 at 19:14
  • Really I could use proxychains for solved it. The problem is that the problem can not be opened in more of one instance
    – Milor123
    Apr 3, 2017 at 19:15
  • Proxychains only present an IP address to an external server. A program launched from inside the computer sees the real IP address associated with the default network interface. If the computer has multiple network interfaces then programs can be bound to them and therefore use differing IP addresses - this is also described in my above link, but the network namespaces method is easier to use.
    – harrymc
    Apr 4, 2017 at 5:51
  • Thank you, but it don't solve the problem for open multiple instances in the software.
    – Milor123
    Apr 4, 2017 at 16:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .