I'm trying to install ports as below. but, I'm getting jx prompt options to select. The flow should go with default options or anyway to give the input as yes through command line itself thats fair enough. In short, i should install ports non interactive way. kindly let me know the solution
make ports
I've tried make ports BATCH=yes. but didnt workout.
Related
I am trying to run a windows batch command from CentOS 6. I would like to know the best way to achieve this. I explored PsExec and WinExe utilities in unix to connect to windows machine and run the required commands.
I am trying this on a windows VM which is within company network, hence kindly highlight any specific network issues that I may have to check for the setup to run.
Any pointers would help.
Have you seen the examples from the PowerShell for Linux GitHub pages, as the working examples seem to cover this off nicely?
https://github.com/PowerShell/PowerShell/tree/master/demos/SSHRemoting
It will require SSH installed onto your Windows server, but otherwise seems to tick all of your boxes.
I want to run script automatically, but it (script) depends on my internet connection. So when I put it in /etc/init.d catalog, it crashes before I make internet connection. I found perfect answer here:
https://askubuntu.com/questions/258580/how-to-run-a-script-depending-on-internet-connection
...BUT this answer is suitable for Ubuntu - on Fedora I don't even have /etc/network catalog. Any similar is /etc/networks, but script put there didn't do anything.
Fedora have the network scripts in
/etc/sysconfig/network-scripts/
So you can follow similar procedure to achieve the same.
Windows 7 64 bit Machine.
I'm trying to Install Oracle Database 11g express edition. I've used it many times in the past with no problem. Recently my work machine was rebuilt, and while trying to install oracle, on the step that shows TNS port, MTS Port, and HTTP Port, it will not accept the default 1521 port, or any other port I try (I've tried quite a few). Message box says "Port 1521 is in use. Specify a different port number. This port is not in use that I can tell.
I don't see a log for the install either, I looked on line to see where it should be, but I don't have a log file for the installation (That I've been able to find)
netstat -na does not show any of port's i've tried to be in use. I also tried grepping for them.
netstat -na | grep 1521 (This did not return anything)
Wondering if anyone else has seen this, or has any ideas how to get around this or trouble shoot it? I've never had this issue before.
Thanks for any guidance.
Had this same problem. Regardless of what port i put, it would say "port already in use'. Solution was to change to a port known to be open, then click the back button on the installer until you get back to the first installer screen, then continue clicking next. This will install on your specified http port.
I think it's a bug from the install wizard too. I've Windows 8 64 bits. "Back and Next" is the solution.
I had the same. I think it's a bug from the install wizard.
In fact, like you i specified an available port (after a check with an netstat command on line), then i had this warn screen wwith the message "Port 8081 is in use. Specify a different port number".
The thing is, when you have this screen, try to go back to the beginning of the install wizard,
then go next from the beginning to the part "Specify Database Port" and by magical when you insert the same port : you manage to access at the next step.
Bye!
try running the setup from a local drive. i think you are running the setup from a mapped drive or usb or something like that. hopefully you managed anyway already ;)
I need to run a program from my windows xP machine thats installed on a remote UNIX machine using MobaXterm but I have very little experience with this sort of thing.
I can login into the machine using ssh and start the program without a problem. That program needs files that I have on my windows computer to process though and I want to copy them over to that remote machine. Unfortunately the drag-and-drop file transfer panel that is mentioned regularly on mobaxterm help sites isn't present and I can't figure out how to make it appear.
Could someone suggest how to get that drag-and-drop panel to appear please? I'm using MobaXterm version 3.0.
Alternatively any explanation on how to transfer these files another way would also be very much appreciated.
Thank you very much for any help you can give.
If it still doesn't work when you try all of above methods, try this:
when you creat a Session, change the Advanced SSH setting-->SSH-browser type to SCP, which default is SFTP.
. thanks to willfurnass
Some Linux distributions or some other Unix systems have disabled SSH password authentication by default.
In order for MobaXterm to be able to launch the SFTP browser, you will have to re-enable this feature:
Edit the "/etc/ssh/sshd_config" file on your server, and comment the following line:
PasswordAuthentication no
Restart your SSH server using the following command: /etc/init.d/sshd restart
Connect using MobaXterm SSH client and you will notice that the SFTP tab will be correctly launched.
If you can not modify your remote server configuration, you can also perform your file transfers inside MobaXterm terminal using SCP. A sample SCP command would be:
scp -r /drives/c/Some/Place/On/Your/Local/Windows/Drive/ yourlogin#yourserver:/Some/Place/On/Your/Remote/Unix/Server/
Ensure you have "Display SFTP Browser" enabled in your session settings under "Advanced SSH settings".
Occasionally it doesn't reappear, which is solved by a restart MobaXterm.
Another cause for the lack of sftp panel is if you accidentally enter and store a bad sftp password. MobaXterm then appears to attempt an automatic log in, but silently fails to open the sftp connection.
To fix this, go to Settings>MobaXterm passwords management and delete the offending password. Here's a screenshot of the settings page, showing the password management link.
To be clear, I had already run through the settings mentioned by #Nicolas and #Didier (thanks, guys!). I was able to get the sftp tab when ssh'ing in to other hosts (which didn't have bad passwords stored). And I had in the past seen the sftp pane. This fix solved my problem.
If you've never seen the sftp pane, then try the other suggestions first.
Have you tried:
Turning the program off and on again?
Note: I read this hint in a comment, which saved me from a tidious process of unnecessary fixing mobaXterm, also I am hence not the only one with that behavior. Even though this might be the first thing you already tried, some might not have been trying and haven't been lucky enough to read through the comments - this is for them.
For the most recent versions, ensure you have selected 'SFTP protocol' in the'SSH-browser' selector:
I read a guide. It says that run the following line and forget it.
/usr/bin/ssh-add -K
I am not sure when and where I should use it.
What is SSH forwarding?
Here's an explanation. And another. An "illustrated" one.
Those should give you a general idea of what's going on here.
If you don't know why you need it, you won't need to add it to set up your ruby environment.
Note to others: this is a question relating to setting up his dev environment before people demand it is closed.
That seems to be a Mac OS X specific option to ssh-add. It adds identities to your OS X keychain, so that any later use will already have them handy.
This is different from other kinds of forwarding. My typical use is to do normal ssh-add with no extra options, then ssh -A to forward the agent. Meaning that if I ssh to another host through the first one, my creds are automatically passed on. Very handy.
By far your best bet is to read the manual pages for any options you see used. Ssh comes with great man pages.