no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | ubuntu [2016/09/09 20:43] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Ubuntu ====== | ||
+ | * [[Ubuntu Autoinstall]] | ||
+ | * [[Ubuntu HortonWorks]] | ||
+ | * [[Ubuntu Networking]] | ||
+ | * [[Ubuntu Release Upgrades]] | ||
+ | * [[Ubuntu Repositories]] | ||
+ | * [[upstart|Ubuntu Services]] | ||
+ | * [[Linux ISOs]] | ||
+ | * [[aptitude]] | ||
+ | * [[dpkg]] | ||
+ | * [[update-rc.d]] | ||
+ | |||
+ | ==== Package Management ==== | ||
+ | |||
+ | == Update package repository == | ||
+ | |||
+ | < | ||
+ | |||
+ | == Update system packages == | ||
+ | |||
+ | < | ||
+ | |||
+ | == Search for a package == | ||
+ | |||
+ | < | ||
+ | |||
+ | == Install, update, remove a package == | ||
+ | |||
+ | < | ||
+ | |||
+ | == Install development libraries == | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | == List all available packages == | ||
+ | |||
+ | http:// | ||
+ | |||
+ | == Find package owner for a file == | ||
+ | |||
+ | < | ||
+ | dpkg -S /bin/bash | ||
+ | </ | ||
+ | |||
+ | == How to edit repositories == | ||
+ | |||
+ | < | ||
+ | vim / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== LAMP ==== | ||
+ | |||
+ | == Install PHP 5.3 and MySQL 5.0 == | ||
+ | |||
+ | < | ||
+ | aptitude install php5 php5-curl php5-gd php5-imap php5-mcrypt | ||
+ | aptitude install imagemagick | ||
+ | </ | ||
+ | |||
+ | == Install PEAR == | ||
+ | |||
+ | < | ||
+ | aptitude install php-pear | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Services ==== | ||
+ | |||
+ | == See running services == | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | == Add, remove a service from startup == | ||
+ | |||
+ | < | ||
+ | aptitude install sysv-rc-conf | ||
+ | sysv-rc-conf | ||
+ | </ | ||
+ | ==== Stuff ==== | ||
+ | |||
+ | == Install Webmin == | ||
+ | |||
+ | < | ||
+ | |||
+ | Download the Webmin .deb file, then run: | ||
+ | |||
+ | < | ||
+ | |||
+ | The service will start automatically. | ||
+ | |||
+ | == Configuration for PHP == | ||
+ | |||
+ | Located in ''/ | ||
+ | |||
+ | == Install and configure an FTPD == | ||
+ | |||
+ | < | ||
+ | |||
+ | Configuration in ''/ | ||
+ | |||
+ | == Install and configure Samba == | ||
+ | |||
+ | Samba is installed and runs at startup by default on 10.04. | ||
+ | |||
+ | Configuration is in ''/ | ||
+ | |||
+ | The service name is '' | ||
+ | |||
+ | == Install and configure NFS == | ||
+ | |||
+ | < | ||
+ | |||
+ | The NFS daemon is started following installation. | ||
+ | |||
+ | The service name is '' | ||
+ | |||
+ | == Install and configure AppleTalk == | ||
+ | |||
+ | < | ||
+ | |||
+ | AFPD is started following installation. | ||
+ | |||
+ | The service name is '' | ||
+ | |||
+ | == Setup monit == | ||
+ | |||
+ | < | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | The service name is '' | ||
+ | |||
+ | == Set default web browser == | ||
+ | |||
+ | < | ||
+ | update-alternatives --config x-www-browser | ||
+ | </ | ||
+ | ==== System ==== | ||
+ | |||
+ | == RAID install or setup == | ||
+ | |||
+ | < | ||
+ | mdadm -C /dev/md0 -l mirror -n2 /dev/sdb1 /dev/sdc1 | ||
+ | </ | ||
+ | |||
+ | == Change the hostname == | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | == MOTD == | ||
+ | |||
+ | Ubuntu generates its own motd automatically. |