Difference between revisions of "Ubuntu"

From OpenEMR Project Wiki
Line 73: Line 73:
<br>
<br>
==Directory Structure==
==Directory Structure==
<table width=250 cellspacing=0 cellpadding=0>
<table width=275 cellspacing=0 cellpadding=0>
<tr><td width=50><td width=200>
<tr><td width=75><td width=200>
<tr><td>'''bin'''<td>Essential user command binaries.
<tr><td>'''bin'''<td>Essential user command binaries.
<tr><td>'''boot'''<td>Static files of the boot loader.
<tr><td>'''boot'''<td>Static files of the boot loader.
Line 85: Line 85:
<tr><td>'''mnt'''<td>Mount point for a temporarily mounted filesystem.
<tr><td>'''mnt'''<td>Mount point for a temporarily mounted filesystem.
<tr><td>'''opt'''<td>Add-on application software packages.
<tr><td>'''opt'''<td>Add-on application software packages.
<tr><td>'''proc'''
<tr><td>'''proc'''<td>Virtual filesystem documentation kernel and process status as text files.
<tr><td>'''root'''
<tr><td>'''root'''<td>Home directory for the root user.
<tr><td>'''run'''
<tr><td>'''run'''
<tr><td>'''sbin'''<td>System binaries.
<tr><td>'''sbin'''<td>System binaries.
<tr><td>'''srv'''
<tr><td>'''srv'''<td>Data for services provided by the system.
<tr><td>'''sys'''
<tr><td>'''sys'''
<tr><td>'''usr'''
<tr><td>'''usr'''<td>Multi-user utilities & applications.
<tr><td>'''var'''
<tr><td>'''var'''<td>Variable files.
<tr><td><br>
<tr><td><br>
</table>
</table>
<br>
<br>

Revision as of 16:29, 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

binEssential user command binaries.
bootStatic files of the boot loader.
cdrom
devDevice files.
etcHost-specific CONFIGURATION files, i.e. preferences.
homeUser home directories.
libEssiential shared libraries and kernel modules.
mediaMount point for removable media.
mntMount point for a temporarily mounted filesystem.
optAdd-on application software packages.
procVirtual filesystem documentation kernel and process status as text files.
rootHome directory for the root user.
run
sbinSystem binaries.
srvData for services provided by the system.
sys
usrMulti-user utilities & applications.
varVariable files.