Posts

Showing posts with the label dns

How to configure a Matlab cluster in your lan

Image
First, you need to run admincenter to mange your cluster. It route should be there: /usr/local/MATLAB/R2016a/toolbox/distcomp/bin/admincenter Now, you must run mdce on each member node of your cluster cd /usr/local/MATLAB/R2016a/toolbox/distcomp/bin sudo ./mdce start                 WARNING: The mdce script detected that the number of processes allowed is limited by ulimit. Be sure that the limit of processes for the ROOT user (or the user running the mdce service) is set to either "unlimited" or at least 128 * W, where W is the maximum number of MATLAB Distributed Computing Server workers that will run on this machine. Creating LOGBASE directory (/var/log/mdce). Creating CHECKPOINTBASE directory (/var/lib/mdce). Creating SECURITY_DIR directory (/var/lib/mdce/security). Starting the MATLAB Distributed Computing Server in the background. To choice who is the jobmanger or workers you need run each command by separate: sudo...

Configure a Vbox network for GNS3 with Internet through a cloud with a TAP interface

Image
Today we going to configure a virtual network within GNS3. We can download older GNS3 versiones from sourceforge or the most recent from  gns3.com. We need to add the repositories to apt and after install gns3: sudo add-apt-repository ppa:gns3/ppa sudo apt-get update sudo apt-get install gns3-gui To have a connection to access Internet through our physical interface, we create a TAP interface (virtual bridge): sudo apt-get install uml-utilities modprobe tun tunctl ifconfig tap0 10.0.0.1 netmask 255.255.255.0 up On the last line, you configure the ip, that will be the gateway for your virtual topology. Now, as we need forward the packets, between the virtual network and your physical router, you must enable the forwarding option: sudo iptables -I INPUT -j ACCEPT -i tap0 sudo iptables -I OUTPUT -j ACCEPT -o tap0 sudo sysctl -w net.ipv4.ip_forward=1 Now, you need an appliance or a any host image to create our virtual network. You can use a minimal Ubuntu version ...