Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot. When you’re running Ubuntu and updating your system frequently, there is a high chance that older kernels that are no longer needed are still installed on your system. Over time, if these older kernels are not removed, precious hard disk space may be wasted and your system’s performance may suffer. This brief tutorial will show you how to find out your current running kernel and how to remove older ones that are not being used by your system. This will help you free up some space and may also improve your system’s performance.
Objectives: Find out your current running kernelRemove older kernelsEnjoy! To get started, press Ctrl – Alt – T to open Terminal. Uname -r Next, take notes of your current kernel. Next, type the command below to view / list all installed kernels on your system. dpkg --list | grep linux-image Next, find all the kernels that which number are lower than your current kernel. Finally, run the commands below to remove the kernel you selected. sudo update-grub2 That’s all.
Filesystem - How can I determine a folder's size from the command line. Owncloud...guide rapide d'installation. Par eMerzh le mercredi 19 octobre 2011, 17:22 - Lien permanent Owncloud est un projet de gestion de vos données sur internet. Owncloud ce veux une plateforme à-la Dropbox en plus puissant et libre. Le but ici étant que vous hébergiez vous même votre instance de owncloud.
Projet issu de KDE à la base, il à voulu s'affrenchir d'une partie de l'infrastructure du projet afin de ne pas rebutter les nouveaux venus. Owncloud comprend plus de fonctionnalitées que le simple partage de fichiers, il vous permet par exemple de gèrer votre calendrier, vos contacts, vos marques-pages et même votre musique.
Mais Vous pourrez installer et/ou développer d'autres applications en fonction de ce qui vous intéresse. Le Projet Owncloud est encore très jeune et la version disponible dans ubuntu est vraiment ancienne. Sur le site du projet vous trouverez un liens vers le téléchargement de la version 2; Elle est à mon sens plus stable et fonctionnelle que la version 2. sudo mkdir /var/www/owncloud. 10 Useful Sar (Sysstat) Examples for UNIX / Linux Performance Monitoring. Using sar you can monitor performance of various Linux subsystems (CPU, Memory, I/O..) in real time. Using sar, you can also collect all performance data on an on-going basis, store them, and do historical analysis to identify bottlenecks.
Sar is part of the sysstat package. This article explains how to install and configure sysstat package (which contains sar utility) and explains how to monitor the following Linux performance statistics using sar. Collective CPU usageIndividual CPU statisticsMemory used and availableSwap space used and availableOverall I/O activities of the systemIndividual device I/O activitiesContext switch statisticsRun queue and load average dataNetwork statisticsReport sar data from a specific time This is the only guide you’ll need for sar utility. I. Install Sysstat Package First, make sure the latest version of sar is available on your system. Sudo apt-get install sysstat (or) yum install sysstat (or) rpm -ivh sysstat-10.0.0-1.i586.rpm Install Sysstat from Source. SwapFaq. Introduction This FAQ is aimed at Linux novices.
People always wonder how much swap they should create at install time, or after installing they may think, "have I made a large enough swap? Should I reinstall with a larger swap? " This FAQ will tell you how much swap you need and how to add more swap after installation. You will be given very simple answers (to prevent losing too much time reading this FAQ) and some explanations that may help you form your own opinion.
What is swap? Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space. Why do I need swap? Memory consuming programs Sometimes, a large program (like LibreOffice, Neverwinter Nights, or a video editor) make the entire system need extra memory. Hibernation (suspend-to-disk) The hibernation feature (suspend-to-disk) writes out the contents of RAM to the swap partition before turning off the machine. Example Scenarios. Remove Old Kernels in Ubuntu | Tux Tweaks. Edit: Oct. 2, 2010 - I've written a new post that shows a bash one-liner command that will remove the old kernels from your system in one step.
You can check it out here. If you've been using Ubuntu Linux for a while, then you probably have a number of Linux kernel updates that have been installed on your system. (I've got a total of 3 kernels in my Karmic system already.) In all likelihood, these updates get installed and you boot into the latest kernel, never to use the older kernels again. But these old kernels are still hanging around on your system, cluttering up your grub boot screen and taking up space on your hard drive. There have been attempts made to create an automatic tool to clean these up for you along with much discussion on the Ubuntu Forums, but so far there's nothing officially in the repositories. In the past, I've gone into Synaptic and searched for the older kernels and related packages and manually marked them for removal. Affiliate Link Warning uname -r That's it.
BootupHowto. Since the introduction of Upstart some time in 2006, or more relevantly 9.10 Karmic where most of the system services were converted, the boot process changed somewhat. The following information is tested on 11.04 Natty: Directories and Configs /etc/init is where the upstart init configs live. While they are not scripts themselves, they essentially execute whatever is required to replace sysvinit scripts. /etc/init.d is where all the traditional sysvinit scripts and the backward compatible scripts for upstart live. Using Services Please note that generally, you can use either traditional sysvinit scripts and the methods of working with them as well as the new upstart configs and the command: "service" interchangeably. Starting a Service # Traditional: /etc/init.d/myservice start # Upstart service myservice start Stopping a Service # Traditional: /etc/init.d/myservice stop # Upstart service myservice stop Getting a list of Services # Traditional: ls /etc/init.d # Upstart: service --status-all.
Backup-manager. Avant-propos La perte de données est la chose qu'un utilisateur redoute le plus. Elle peut être due à plusieurs facteurs (mauvaise manipulation, disque dur hors service, malveillance, vol,…) et n'épargne personne. Ceux qui ont eu la désagréable surprise d'avoir un disque dur en "carafe" savent bien sûr à quel point les sauvegardes sont importantes.
Dans cette amertume , les bonnes résolutions du genre "je ferai des sauvegardes toutes les minutes ! " C'est pour cela qu'il existe des gestionnaires de sauvegardes qui effectuent ces opérations répétitives pour nous et surtout sans nous ! Avant de commencer, je voudrais vous informer que d'autres outils de sauvegarde existent tels que rsync, avec lequel on peut mettre en place un serveur de synchronisation, qui peut aussi être utilisé pour la sauvegarde de "/home", et qui dispose d'une interface graphique, Grsync, rdiff-backup et dump mais ces outils répondent à d'autres besoins que backup-manager.
Présentation Installation À partir des paquets #! Grub-pc. GRand Unified Bootloader, version 2 (ou GRUB 2) est la seconde version de GNU GRUB. C'est un logiciel permettant de charger un système d'exploitation. Il pourra amorcer lui-même des systèmes compatibles avec la norme POSIX (GNU/Linux, *BSD, Mac OS, etc.) ou enchaîner vers un autre chargeur d’amorçage pour les autres systèmes. Plus qu’une continuité du projet GRUB Legacy précédent, GRUB 2 en est une réécriture complète. Il a pour but d’être un chargeur d’amorçage plus modulaire et portable que son prédécesseur avec notamment une interface graphique et une portabilité vers diverses architectures matérielles (BIOS, EFI, Coreboot…). GRUB 2 est le chargeur d'amorçage installé par défaut, ce document concerne la version de GRUB 2 pour les ordinateurs Compatibles PC (la plupart des ordinateurs 32 bits et 64 bits disponibles sur le marché actuellement) ; des paquets grub-efi et grub-coreboot existent pour les architectures basées sur EFI (tels les MacIntel) et sur Coreboot/LinuxBIOS.
Pré-requis et. Virtualmin. Après avoir essayé toutes les interfaces de gestion de sites possibles, gratuites ou non, je me suis rendu compte que Virtualmin était la plus appropriée à mes besoins. En effet, n’ayant qu’une petite dizaine de sites à héberger, la simplicité d’utilisation de ce panel m’a fait opter pour cette solution. Les plus : Prise en main rapide et intuitive. Intégration parfaite à Webmin, donc inutile de s’encombrer d’un autre panel. Automatisations des taches lors de la création de vos domaines. Les moins : Il n’y a pas beaucoup de sites francophones traitant du sujet.
A l’heure ou je rédige ce tutorial, les versions stables les plus abouties sont respectivement la 1.320 pour Webmin et la 3.341 pour Virtualmin. Dans la mesure du temps dont je dispose, je tacherai de tenir ce tutorial à jour, en fonction des évolutions produits. En fonction des paquets installés sur votre machine, Webmin vous proposera soit d’installer et de configurer les modules, soit simplement de les configurer. Bind8/9 Après : Ubuntu 11.10 [ISPConfig 3] Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 10/14/2011 This tutorial shows how to prepare an Ubuntu 11.10 (Oneiric Ocelot) server for the installation of ISPConfig 3, and how to install ISPConfig 3.
ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only! I do not issue any guarantee that this will work for you! 1 Requirements To install such a system you will need the following: 2 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. 3 The Base System Insert your Ubuntu install CD into your system and boot from it. Then select Install Ubuntu Server: Choose your language again (?) Securing Your ISPConfig 3 Installation With A Free Class1 SSL Certificate From StartSSL.
Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 01/16/2012 This tutorial shows how you can use a free Class1 SSL Certificate from StartSSL to secure your ISPConfig 3 installation and get rid of self-signed certificate warnings. The guide covers using the SSL certificate for the ISPConfig web interface (both Apache2 and nginx), Postfix (for TLS connections), Courier and Dovecot (for POP3s and IMAPs), and PureFTPd (for TLS/FTPES connections).
If you've installed monit and use HTTPS for its web interface, I will show you how to use the StartSSL certificate for it as well. This guide assumes you use Debian or Ubuntu; the principle is the same for other distributions supported by ISPConfig 3, but paths might differ. I do not issue any guarantee that this will work for you! 1 Preliminary Note I assume you have used one of the guides from to set up your system.
Sudo su ... to get root privileges.