Find the answer to your Linux question:
Results 1 to 5 of 5
I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response! please help...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    5

    sudo: add-apt-repository: command not found???


    I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response! please help

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Make sure you have the package python-software-properties installed.

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    5
    thanks that got it fixed but now I need to figure out how to copy a .jar file that is in the downloads folder of my mac, to the server via ssh.... and i have no idea where to start (the name of the file is Minecraft_server.jar)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I don't use Macs at all, but they just have their own implementation of ssh, right? So you should be able to use scp

    Basic usage would be something like
    Code:
    scp Minecraft_server.jar user@linuxhost.com:/home/user
    If you prefer a GUI, you can also use pretty much any ftp program, like Filezilla to connect over ssh.

  6. #5
    Just Joined!
    Join Date
    Jan 2010
    Posts
    5
    Reed9 f.y.i. you are my new best friend lol the command wouldnt work but the GUI worked perfectly (after I figured out how to use it) THANKS!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •