Difference between revisions of "Ubuntu"

From OpenEMR Project Wiki
Line 61: Line 61:
<br>
<br>
==.bash_history==
==.bash_history==
Location:  <tt style="font-size: 130%">~/.bash_history</tt><br>
Location:  <tt style="font-size: 130%">&nbsp;~/.bash_history</tt><br>
This file contains a history of all past command-line entries.<br>
This file contains a history of all past command-line entries.<br>


<br>
<br>
<div style="font-family: monospace; font-size: 130%">

Revision as of 13:46, 24 May 2014

General







Web Server How To



Package Manager - Apt-Get


Commands

  • Update - Updates the locally stored index of all installable packages from the remote server.
  • Upgrade - Upgrade all packages that have been already installed.


sudo apt-get update
sudo apt-get upgrade
sudo apt-get install [PACKAGE NAME]
sudo apt-get remove [PACKAGE NAME]
apt-get help


Local Package Index

/etc/apt/sources.list
/etc/apt/sources.list.d


Installing Applications of Interest

sudo apt-get install openssh-server
sudo apt-get install mutt




Init.d

Issue commands to start/stop services.

/etc/init.d/[APPLICATION] [COMMAND]


.bash_history

Location:  ~/.bash_history
This file contains a history of all past command-line entries.