Difference between revisions of "Ubuntu"

From OpenEMR Project Wiki
Line 73: Line 73:
<br>
<br>
==Directory Structure==
==Directory Structure==
bin
<table width=250 cellspacing=0 cellpadding=0>
boot
<tr><td width=50><td width=200>
cdrom
<tr><td>'''bin'''
dev
<tr><td>'''boot'''
etc
<tr><td>'''cdrom'''
lib
<tr><td>'''dev'''
media
<tr><td>'''etc'''
mnt
<tr><td>'''lib'''
opt
<tr><td>'''media'''
proc
<tr><td>'''mnt'''
root
<tr><td>'''opt'''
run
<tr><td>'''proc'''
sbin
<tr><td>'''root'''
srv
<tr><td>'''run'''
sys
<tr><td>'''sbin'''
usr
<tr><td>'''srv'''
var
<tr><td>'''sys'''
<tr><td>'''usr'''
<tr><td>'''var'''
<tr><td><br>
</table>
<br>

Revision as of 16:12, 25 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
sudo apt-get install vsftpd




Init.d

Issue commands to start/stop services.

/etc/init.d/[APPLICATION] [COMMAND]
Commands
  • start
  • stop
  • restart


.bash_history

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


Directory Structure

bin
boot
cdrom
dev
etc
lib
media
mnt
opt
proc
root
run
sbin
srv
sys
usr
var