Computer Plumber
  • About
  • Services
  • Contact
  • Policies
  • How to change the default SSH port in OSX Server

    So you don’t want to have your remote login port (ssh port) on your OSX server setup to port 22. You can easily change the listening port doing the following 2 steps. There is no need to add another service.
    First you will need to edit your Lion Services file:

    
    sudo nano /etc/services
    

    Read the rest of this entry »

    Share
    No comments Apple, command line, Leopard, Leopard Server, Lion Server, ssh
  • Adjust What the History Command Shows

    By default on OS X, the history command (accessed via the terminal) shows the last 500 commands including multiple entries that are the exact same. Just to find an old useful command, you may have to sort through 100’s of ls and cd commands. Wouldn’t it be nice to show only unique commands, and remove the duplicates, or store a larger history? Well you can and it is very simple to set the variables to control what the history command shows on the MAC terminal.




    Launch a terminal, by default you should be put into your home directory. To make sure you are in your HOME, just type: Read the rest of this entry »

    Share
    No comments command line, Leopard Server, Linux, Mac, OS X, Ubuntu, Unix
  • Remote Control Windows XP from a MAC

    There are other ways to do this but this is the simplest and only requires installing 1 application.



    1. Download and install the Remote Desktop Connection application for MAC.
    2. On your XP machine, right click My Computer and select properties.
    3. Select ‘Allow users to connect remotely to this computer’
    4. Get the IP address of your XP machine, open a command prompt and type ipconfig)
    5. Back on your MAC, launch the Remote Desktop Connection program and connect using the IP found in step.

    Read the rest of this entry »

    Share
    1 comment Leopard Server, Mac, Microsoft, OS X, Windows 2000, Windows 7, Windows NT, Windows Vista, Windows XP
  • Simple Screen Capturing

    There are few ways to do screen capture in Mac OS X. These will save the image to your Desktop as a PNG file. If you want to save them to the Clipboard instead, just add + Control in all 3 options.

    Option #1 – Capture the whole screen:

    1. Hold down Apple key ⌘ + Shift + 3 and then release all.

    Option #2 – Capture just a portion of your screen:




    Read the rest of this entry »

    Share
    No comments command line, Leopard, Leopard Server, Mac, Microsoft, OS X, Windows
  • Using the SCP command

    SCP aka secure copy or ssh copy is just about the easiest way to quickly transfer files and folders on X based systems without the need to setup FTP servers and accounts. The scp command we use most often just for single files is:

    scp -P port file1 user@server2:~/

    This will simply copy file1 to the home directory of the user on server2. Since we use a non standard port, the -P is very important.

    Sometimes we want to dump a whole folder with subfolders using scp. This command will scp the folder and subfolders to the home folder of user at server2:
    Read the rest of this entry »

    Share
    No comments command line, file sharing, Leopard Server, Linux, Mac, OS X, Ubuntu, Unix
  • « Older Entries

Pages

  • About
  • Contact
  • Policies
  • Services

Categories

  • Amazon (13)
  • Databases (11)
  • Linux (48)
  • Mac (35)
  • Rails (13)
  • Virtual (8)
  • Web (33)
  • Windows (35)
  • follow me on Twitter

 

Computer Plumber | Computer Service Excellence