Difference between revisions of "Ubuntu"
From OpenEMR Project Wiki
Line 75: | Line 75: | ||
<table width=250 cellspacing=0 cellpadding=0> | <table width=250 cellspacing=0 cellpadding=0> | ||
<tr><td width=50><td width=200> | <tr><td width=50><td width=200> | ||
<tr><td>'''bin''' | <tr><td>'''bin'''<td>Essential user command binaries. | ||
<tr><td>'''boot''' | <tr><td>'''boot'''<td>Static files of the boot loader. | ||
<tr><td>'''cdrom''' | <tr><td>'''cdrom''' | ||
<tr><td>'''dev''' | <tr><td>'''dev'''<td>Device files. | ||
<tr><td>'''etc''' | <tr><td>'''etc'''<td>Host-specific CONFIGURATION files, i.e. preferences. | ||
<tr><td>'''lib''' | <tr><td>'''home'''<td>User home directories. | ||
<tr><td>'''media''' | <tr><td>'''lib'''<td>Essiential shared libraries and kernel modules. | ||
<tr><td>'''mnt''' | <tr><td>'''media'''<td>Mount point for removable media. | ||
<tr><td>'''opt''' | <tr><td>'''mnt'''<td>Mount point for a temporarily mounted filesystem. | ||
<tr><td>'''opt'''<td>Add-on application software packages. | |||
<tr><td>'''proc''' | <tr><td>'''proc''' | ||
<tr><td>'''root''' | <tr><td>'''root''' | ||
<tr><td>'''run''' | <tr><td>'''run''' | ||
<tr><td>'''sbin''' | <tr><td>'''sbin'''<td>System binaries. | ||
<tr><td>'''srv''' | <tr><td>'''srv''' | ||
<tr><td>'''sys''' | <tr><td>'''sys''' |
Revision as of 16:26, 25 May 2014
General
Web Server How To
Package Manager - Apt-Get
- apt-get Man Page
- Ubuntu Packages Web Catalog
- Synaptic - GUI Interface for 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 | Essential user command binaries. |
boot | Static files of the boot loader. |
cdrom | |
dev | Device files. |
etc | Host-specific CONFIGURATION files, i.e. preferences. |
home | User home directories. |
lib | Essiential shared libraries and kernel modules. |
media | Mount point for removable media. |
mnt | Mount point for a temporarily mounted filesystem. |
opt | Add-on application software packages. |
proc | |
root | |
run | |
sbin | System binaries. |
srv | |
sys | |
usr | |
var | |