I installed a Ubuntu 12.04 desktop by using the 12.04.2 alternate CD. After generated a distribution iso, I found the disk encryption feature was not included in the custom install process. To make the new iso support disk encryption, I wrote a script. Here is how it works: 1) Boot from the live CD. 2) … Continue reading Encrypt disk in Ubuntu
Tag: Linux
Auto deploy Puppet Agent
Continue with my previous Puppet and Puppet dashboard installation, now I start to deploy the agent to all my Ubuntu desktops. I wrote a script to do the dirty work. Pre-requisite package: expect (no need if use passwordless ssh, but you need to change the script slightly). How to use: 1) Create the following 4 scripts … Continue reading Auto deploy Puppet Agent
Puppet-dashboard Installation
Continue with my previous Puppet Installation, here is how I installed the puppet dashboard which offers a web UI. Install puppet-dashboard sudo yum install puppet-dashboard Config /usr/share/puppet-dashboard/config/database.yml production: database: dashboard_production username: dashboard password: puppet encoding: utf8 adapter: mysql Create MySQL database for puppet-dashboard CREATE DATABASE dashboard_production CHARACTER SET utf8; CREATE USER 'dashboard'@'localhost' IDENTIFIED BY 'puppet'; GRANT … Continue reading Puppet-dashboard Installation
Puppet Installation
In my lab I have set up the CentOS 6.3 as the Puppet Master server, and Ubunt 12.10 as the Puppet agent. Install Puppet-Server on CentOS (Master) sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm sudo yum install puppet-server Install Puppet on Ubuntu (Agent) wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb sudo dpkg -i puppetlabs-release-precise.deb sudo apt-get update sudo apt-get install puppet Specify the … Continue reading Puppet Installation
Disable the blinking wifi LED in Ubuntu
The wifi LED keeps blinking in my Ubunut 12.10 laptop (Intel chips) when it is connected. To disable it, I have changed the led_mode to 0. Here is how I did it:1) Change to root user.jchen@JC:~$ sudo -i[sudo] password for jchen: 2) Find out the wifi module.root@JC:~# lsmod | grep iwiwlwifi … Continue reading Disable the blinking wifi LED in Ubuntu