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 ==
 +
 +<code>aptitude update</code>
 +
 +== Update system packages ==
 +
 +<code>aptitude safe-upgrade</code>
 +
 +== Search for a package ==
 +
 +<code>aptitude search <package></code>
 +
 +== Install, update, remove a package ==
 +
 +<code>aptitude install <package></code>
 +
 +== Install development libraries ==
 +
 +<code>aptitude -y install autoconf automake m4 gcc-3.3 gawk xorg-dev linux-kernel-devel</code>
 +
 +
 +
 +== List all available packages ==
 +
 +http://packages.ubuntu.com/
 +
 +== Find package owner for a file ==
 +
 +<code>
 +dpkg -S /bin/bash
 +</code>
 +
 +== How to edit repositories ==
 +
 +<code>
 +vim /etc/apt/sources.list
 +</code>
 +
 +
 +
 +==== LAMP ====
 +
 +== Install PHP 5.3 and MySQL 5.0 ==
 +
 +<code>
 +aptitude install php5 php5-curl php5-gd php5-imap php5-mcrypt
 +aptitude install imagemagick
 +</code>
 +
 +== Install PEAR ==
 +
 +<code>
 +aptitude install php-pear
 +</code>
 +
 +
 +
 +==== Services ====
 +
 +== See running services ==
 +
 +<code>service --status-all</code>
 +
 +
 +== Add, remove a service from startup ==
 +
 +<code>
 +aptitude install sysv-rc-conf
 +sysv-rc-conf
 +</code>
 +==== Stuff ====
 +
 +== Install Webmin ==
 +
 +<code>aptitude install libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions</code>
 +
 +Download the Webmin .deb file, then run:
 +
 +<code>dpkg --install webmin.deb</code>
 +
 +The service will start automatically.  The service name is ''webmin''
 +
 +== Configuration for PHP ==
 +
 +Located in ''/etc/php5''
 +
 +== Install and configure an FTPD ==
 +
 +<code>aptitude install vsftpd</code>
 +
 +Configuration in ''/etc/vsftpd.conf''
 +
 +== Install and configure Samba ==
 +
 +Samba is installed and runs at startup by default on 10.04.
 +
 +Configuration is in ''/etc/samba/smb.conf''
 +
 +The service name is ''smbd''
 +
 +== Install and configure NFS ==
 +
 +<code>aptitude install nfs-kernel-server</code>
 +
 +The NFS daemon is started following installation.
 +
 +The service name is ''nfs-kernel-server''
 +
 +== Install and configure AppleTalk ==
 +
 +<code>aptitude install netatalk</code>
 +
 +AFPD is started following installation.
 +
 +The service name is ''netatalk''
 +
 +== Setup monit ==
 +
 +<code>aptitude install monit</code>
 +
 +Edit ''/etc/default/monit'' and set startup to 1
 +
 +The service name is ''monit''
 +
 +== Set default web browser ==
 +
 +<code>
 +update-alternatives --config x-www-browser
 +</code>
 +==== System ====
 +
 +== RAID install or setup ==
 +
 +<code>aptitude install makedev mdadm
 +mdadm -C /dev/md0 -l mirror -n2 /dev/sdb1 /dev/sdc1
 +</code>
 +
 +== Change the hostname ==
 +
 +Edit ''/etc/hostname''
 +
 +== MOTD ==
 +
 +Ubuntu generates its own motd automatically.  Add your text to ''/etc/motd.tail'' to display on login.

Navigation
QR Code
QR Code ubuntu (generated for current page)