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
Category: Linux
Puppet for Windows: Remote Execution
In this example, I am going to use Puppet to: - Create a Windows user and add it to the RDP group. - Add Web Server role. - Install McAfee VSE8.8. Before Following things need to done: 1) Install the Puppet agent in Windows, detailed instruction can be found here. 2) Create a batch script … Continue reading Puppet for Windows: Remote Execution
Connect Lync in Pidgin
I finally made Lync work in Ubuntu. Here is the steps:1) Install the SIPE plugin - 'sudo apt-get install pidgin-sipe'.2) Run 'NSS_SSL_CBC_RANDOM_IiV=0 pidgin &'.3) Add the Lync account, then enable it.
Puppet User and Group Configuration Example
1) Create a user node "UT-9c8e99e3959e"{ user { 'john': ensure => 'present', managehome => true, password => '$6$gQtfKwwf$riyyLGkm2EtsUjkG03SPhE/PfcrmqDaTrZ1kayHao8s3J1xr8WuC3gWdceFu1RGfCOslh5jSDy8x4xeVx3xYc/' } } Example: generic@UT-9c8e99e3959e:~$ cat /etc/passwd | grep john generic@UT-9c8e99e3959e:~$ sudo puppet agent --test info: Caching catalog for ut-9c8e99e3959e info: Applying configuration version '1362628656' notice: /Stage[main]//Node[ut-9c8e99e3959e]/User[john]/ensure: created notice: Finished catalog run in … Continue reading Puppet User and Group Configuration Example
Puppet Service Configuration Example
1) Ensure service is always running node "UT-9c8e99e3959e"{ service { "cron": enable => true, ensure => "running", } } Example: generic@UT-9c8e99e3959e:~$ sudo service cron status cron stop/waiting generic@UT-9c8e99e3959e:~$ sudo puppet agent --test info: Caching catalog for ut-9c8e99e3959e info: Applying configuration version '1362528911' notice: /Stage[main]//Node[ut-9c8e99e3959e]/Service[cron]/ensure: ensure changed 'stopped' … Continue reading Puppet Service Configuration Example