Tag Info

New answers tagged

1

Your iptables rules are broken in multiple ways. First of all, your POSTROUTING chain has two rules, but the first one matches every packet, so the second rule is never used. Secondly, your SNAT and MASQUERADE rules should only be applied to packets leaving on eth0. But since 212.235.19.203 is allocated to just one machine, you may be better off not using ...


0

I suppose you tried the iptables at (server_1) instead of (server_2) as you said. The problem here is that (server_2) doesn't know that it has to answer packets whose destination is 212.235.19.203. One posible solution is to use the following in (server_2): iptables -t nat -I PREROUTING -d 212.235.19.203 -j REDIRECT


2

There's a fling, Ruby vSphere Console, that you can make use of. If your Linux admins prefer Python they could use pyVmomi, but it's more of a library (although you can start Python, import pyVmomi and then use it as a "shell"). There's also virsh but it looks like you can't deploy templates with it. However, googleing for virsh + deploy + template I found ...


4

The only option I've found would be using the PySphere SDK I've used it to do snapshot consolidation and cleanup, but it can certainly do VM creation from a template.


2

A couple of thoughts on this... It's almost easier to install Linux operating systems anew if you have a deployment solution and configuration management in place (e.g. Cobbler and Puppet/Chef). I tend not to use vSphere templates for anything other than canned Windows server installations. If that's not possible, and the template deployment process is ...


0

"UNIX" is actually a copyright which I've sort of lost track of; but I believe is currently owned by SCO? They attempted to sue "Linux" (somewhat impossible to find a particular target there) and lost in a big time flame-war which was pretty much the last-gasp for SCO. Don't know that "UNIX" exists any longer except as a legal vagary. The name was ...


1

alternatively try to download and install eurysco to use the command line feature that is based on another logic... http://www.eurysco.com/feature/command-line


1

You can use curl or wget. curl --cert <your cert> or wget --certificate=<yourt cert> THe certificate (of course with priv key) needs to be located in a p12 file. You can specify the passphrase of this file.


1

Position where these two statuses are displayed depends on your configuration. But the logical meaning of them is as follows: The hardstatus line is used for status messages from screen - for example to alert you to activity, or other similar messages. The caption line is usually only shown if there is more than one window open, and allows you to view ...


0

You can use openssl s_client to inspect the certificate for validity. openssl s_client -connect www.google.com -CApath /usr/share/ca-certificates This gives me: [mark@pericles ~]$ openssl s_client -connect www.google.de:443 -CApath /usr/share/ca-certificates/ CONNECTED(00000004) depth=3 C = US, O = Equifax, OU = Equifax Secure Certificate Authority ...


0

Press Ctrl-Z to suspend the script ; kill %% Credits, explanations and more details in this answer.


0

If --stdin option is not working we can basically use two options: Either use another utilty called chpaswd in your script. OR use echo "current_password\nnew_password\nnew_password" | passwd user_name


3

From man tail: -c, --bytes=K output the last K bytes; alternatively, use -c +K to output bytes starting with the Kth of each file


1

Free WinSCP (for Windows) supports WebDAV (and WebDAVS) in the latest beta version (5.6 and later). WinSCP supports scripting/command-line operations too. Sample WinSCP script to upload file over WebDAV: open http://user@webdav.example.com/ put file.txt /path/ close Save the script to a file (e.g. script.txt) and run like: winscp.com /script=script.txt ...


-1

The kind of functionality I'm looking for can be achieved by accessing the web GUI at http://www.XXXX.com/index.php?menu=tools and entering commands there. It is impossible to log into the Elastix box using ssh and then running commands like one would using asterisks. You must use the web GUI.



Top 50 recent answers are included