Create usb bootable windows install USB Drive

bootable USB guide, here we assume that you are using either Vista or Windows 7 to create a bootable USB.

1. Insert your USB (4GB+ preferable) stick to the system and backup all the data from the USB as we are going to format the USB to make it as bootable.

2. Open elevated Command Prompt. To do this, type in CMD in Start menu search field and hit Ctrl + Shift + Enter. Alternatively, navigate to Start > All programs >Accessories > right click on Command Prompt and select run as administrator.

3. When the Command Prompt opens, enter the following command:

DISKPART and hit enter.

LIST DISK and hit enter.

Once you enter the LIST DISK command, it will show the disk number of your USB drive. In the below image my USB drive disk no is Disk 1.

4. In this step you need to enter all the below commands one by one and hit enter. As these commands are self explanatory, you can easily guess what these commands do.

SELECT DISK 1 (Replace DISK 1 with your disk number)

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS quick

(Format process may take few seconds)
ASSIGN

EXIT

Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.

5. Insert your Windows DVD in the optical drive and note down the drive letter of the optical drive and USB media. Here I use “D” as my optical (DVD) drive letter and “G” as my USB drive letter.

6. Go back to command prompt and execute the following commands:

6.1. Change directory to the DVD’s boot directory where bootsect lives:
d:
cd d:\boot

6.2. Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:
bootsect /nt60 g:

(Where “G” is your USB drive letter)

7. Copy Windows DVD contents to USB.

You are done with your bootable USB. You can now use this bootable USB as bootable DVD on any computer that comes with USB boot feature (most of the current motherboards support this feature).

Note that this bootable USB guide will not work if you are trying to make a bootable USB on XP computer.

Install vmware tools in ubuntu server command line

Ubuntu Server with only a Command Line Interface

  1. In Fusion, Workstation, Player, or ESXI, go to Virtual Machine > Install VMware Tools.
  2. In the Ubuntu guest, run these commands:
    1. sudo mkdir /mnt/cdrom

      When prompted for password, enter Ubuntu’s admin user password.

    2. sudo mount /dev/cdrom /mnt/cdrom
    3. Run this command to find the exact name of the VMware Tools bundle; the file name varies depending on your version:

      ls /mnt/cdrom

    4. tar xzvf /mnt/cdrom/VMwareTools-<x.x.x-xxxx>.tar.gz -C /tmp/

      Note: <x.x.x-xxxx> is the version discovered in the previous step.

    5. cd /tmp/vmware-tools-distrib/
    6. sudo ./vmware-install.pl -d

      Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.

  3. Run this command to reboot the virtual machine after the installation completes:

    sudo reboot

Disable IPV6 Server 2008 R2

You certainly can disable the IPV6 without harm if your not using iv6 enabled applications in your infrastructure.

There are some instances where it is offered to disable ipv6 http://support.microsoft.com/default.aspx/kb/952842

to completely remove the ipv6 from your computer please do the following

Right Click Network Places
Select Manage Network Connections For each enabled and used NIC
Right Click – Local Area Connection – Select Properties
Networking Tab
DeSelect IPv6
Close

after doing the above procedure you might have to use the registry editor aswell to completely disable the ipv6 tunnel

To completely disable IPv6 on a Windows Server 2008-based computer yourself, follow these steps:

  1. Open Registry Editor.
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
  3. In the details pane, click New, and then click DWORD (32-bit) Value.
  4. Type DisabledComponents, and then press ENTER.
  5. Double-click DisabledComponents, and then type 0xffffffff in Hexadecimal or 4294967295 in Decimal.Note The 0xffffffff value or the 4294967295 value disables all IPv6 components except for the IPv6 loopback interface.

Reset Local Group Policy to Default in Windows XP

Note: This process is applicable foe only stand alone computers.

Steps

1.Login through theAd m in istrator account.
2.Delete the%Systemroot %\System32\Gro upPo lic y folder.
3.Now, Click Start, click Run, typecmd, and then press ENTER.
4.In Command Prompt type the following command, and then press

ENTER:
gpupdate /Force
Note: It will forcefully apply the default group policy to the Local computer.
Other Options ofgp update command
/Target:{Computer | User} Specifies that only User or only Computer policy
settings are refreshed. By default, both User and Computer policy settings are
refreshed.
/Force Reapplies all policy settings. By default, only policy settings that have
changed
are
applied.
/Wait:{value} Sets the number of seconds to wait for policy processing to

finish. The default is 600 seconds. The value ‘0’ means not to wait. The value ‘-1’ means to wait indefinitely. When the time limit is exceeded, the command prompt

returns,
but
policy
processing
continues.
/Logoff Causes a logoff after the Group Policy settings have been refreshed.

This is required for those Group Policy client-side extensions that do not process policy on a background refresh cycle but do process policy when a user logs on. Examples include user-targeted Software Installation and Folder Redirection. This option has no effect if there are no extensions called that require

a
logoff.
/Boot Causes a reboot after the Group Policy settings are refreshed. This is

required for those Group Policy client-side extensions that do not process policy on a background refresh cycle but do process policy at computer startup. Examples include computer-targeted Software Installation. This

option has no effect if there are no extensions called that require a reboot.
/Sync Causes the next foreground policy application to be done chronously.

Foreground policy applications occur at computer boot and user logon. You can specify this for the user, computer or both using the /Target parameter. The /Force and /Wait parameters will be ignored if specified.

Creating useful windows shortcuts

My Computer:
explorer.exe /root,,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

My Computer with C drive selected:
explorer.exe /select,c:

My Network Places:
explorer.exe /root,,::{208D2C60-3AEA-1069-A2D7-08002B30309D}

Start a Network Connection: (replace ConnectionName with the name of the connection)
rundll32.exe rnaui.dll,rnadial ConnectionName

Recycle Bin:
explorer.exe /root,,::{645FF040-5081-101B-9F08-00AA002F954E}

Empty Recycle Bin: (may not work correctly)
cmd.exe /C del /F /Q C:\RECYCLER\*.*

Task Manager:
taskmgr.exe

Computer Management:
compmgmt.msc

System Properties:
control.exe sysdm.cpl

Volume Control:
sndvol32.exe

Date and Time Properties:
control.exe timedate.cpl

Logoff:
shutdown.exe -l

Switch User / Lock Computer:
rundll32.exe user32.dll LockWorkStation

Hibernate:
rundll32.exe powrprof.dll,SetSuspendState

Restart:
shutdown.exe -r

Shutdown:
shutdown.exe -s

Shutdown (abort):
shutdown.exe -a

Installing Torrentflux B4RT on Ubuntu Server

make sure you have all software installed  (LAMP)

install phpmyadmin if you like

# apt-get install uudeview unrar-free cksfv vlc bittornado azureus bzip2 php5-gd php5-cli unrar-free grep python net-tools mawk wget unzip cksfv vlc-nox uudeview python-psyco python-crypto libxml-simple-perl libxml-dom-perl libdbd-mysql-perl libdigest-sha1-perl uudeview unrar-free cksfv bittorrent

 

now make whatever changes you need to finish

example download directory and permissions

 

http://tech-newbie.blogspot.com/2008/05/installing-torrentflux-b4rt-on.html

http://thegnome.nchar.com/home/torrentflux-b4rt

 

for a more detailed install

Installing Transmission on Ubuntu Server

apt-get install transmission-daemon

/etc/init.d/transmission-daemon stop

nano /var/lib/transmission-daemon/info/settings.json

/etc/init.d/transmission-daemon start

access from the web server using port 9091 or whatever you set in your settings

typical settings

 "rpc-authentication-required":true, 
 "rpc-bind-address": "0.0.0.0", 
 "rpc-enabled": true, 
 "rpc-password": "{1cc72c39f8a3d1c23e81a6ea37f72f2d0085399dKxhyBIwU  ", 
 "rpc-port": 9091, 
 "rpc-username": "user", 
 "rpc-whitelist": "127.0.0.1,192.168.1.*",
 "rpc-whitelist-enabled": true, 
 "speed-limit-down": 100, 
 "speed-limit-down-enabled": false, 
 "speed-limit-up": 100, 
 "speed-limit-up-enabled": false, 
 "upload-limit": 20, 
 "upload-limit-enabled": 0, 
 "upload-slots-per-torrent": 14

also make sure you save directory is chmodded to work

 

Install Big Blue Button on Ubuntu Server 10.04.2

Installation of BigBlueButton 0.71a

1. Install the BigBlueButton apt-get repository key

First, install the BigBlueButton apt-get repository key and URL (note: The URL has changed from 0.70).

   # Install the package key
   wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -

   # Add the BigBlueButton repository URL and ensure the multiverse is enabled
   echo "deb http://ubuntu.bigbluebutton.org/lucid/ bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
   echo "deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse" | sudo tee -a /etc/apt/sources.list

2. Install a Voice Conference Server

BigBlueButton now lets you choose to use either Asterisk or FreeSWITCH for voice conferencing. We provide configuration packages for both, so it's easy to install either one. We recommend FreeSWITCH. To install FreeSWITCH:
  sudo apt-get install python-software-properties
  sudo add-apt-repository ppa:freeswitch-drivers/freeswitch-nightly-drivers
  sudo apt-get update
  sudo apt-get install bbb-freeswitch-config

Or, instead, to install Asterisk (WARNING: Do not install both):

   sudo apt-get update
   sudo apt-get install bbb-voice-conference

Again, install only one of the above

3. Install BigBlueButton

We’re now ready to install BigBlueButton. Type:

   sudo apt-get install bigbluebutton

This single command is where all the magic happens. This command will install all of BigBlueButton components with with their dependencies.

Here’s a screen shot of the packages it will install.

Type ‘y’ and press Enter. Then sit back. After a few moments, if you don’t have mysql installed, the mysql package script will ask to specify a password for the mysql ‘root’ user.

Enter a password for mysql’s ‘root’ user (you’ll need to enter it twice). Almost immediately, the package script for bbb-web will prompt you for that mysql root password (shown below). BigBlueButton needs to access the mysql to create a database. Enter the the same password your did a moment ago for mysql.

Note: The mysql password should not contain the following characters as ! # [ ^ $ ] ( ) as they will cause the bbb-web install script to break.

Finally, you’ll be prompted to access an End User License Agreement (EULA) for the installation of the Microsoft TrueType Fonts. These fonts help OpenOffice to convert Microsoft Office documents into PDF files.

4. Do a Clean Restart

To ensure BigBlueButton has started cleanly, enter the following commands:

   sudo bbb-conf --clean
   sudo bbb-conf --check

The output from sudo bbb-conf --check will display your current settings and, after the text, “ Potential problems described below “, print any configuration or startup problems it has detected. Normally, there is no text following this message.

Trying out your server (14:42 minutes later)

 

Change the hostname for port forwarding.

http://code.google.com/p/bigbluebutton/wiki/BBBConf

Introduction

bbb-conf is the BigBlueButton configuration script for modifying BigBlueButton’s configuration, managing the BigBlueButton processes (start/stop/reset), and troubleshooting your installation.

If you are installing BigBlueButton from source, you can download bbb-conf from here.

When installed from packages, bbb-conf is located in /usr/local/bin/bbb-conf. If you are a developer, look through the source for bbb-conf (it’s a shell script) will help you understand the various components of BigBlueButton and how they work together.

Options

If you type bbb-conf with no parameters it will print out the list of available options.

BigBlueButton Configuration Utility - Version 0.71a
http://code.google.com/p/bigbluebutton/wiki/BBBConf

   bbb-conf [options]

Configuration:
   --setip <host>                   Set IP/hostname for BigBlueButton
   --conference [konference|meetme|freeswitch]
                                    Switch conference module
   --setsalt <salt>                 Change the security salt in bigbluebutton.properties

Monitoring:
   --check <verbose>                Check configuration files and processes for problems
   --debug                          Scan the log files for error messages
   --watch                          Scan the log files for error messages every 2 seconds
   --salt                           View the URL and security salt for the server

Administration:
   --restart                        Restart BigBueButton
   --stop                           Stop BigBueButton
   --start                          Start BigBueButton
   --clean                          Restart and clean all log files
   --zip                            Zip up log files for reporting an error

Some of the bbb-conf options require that you run the command as root user. bbb-conf will print out a message prompting you to run the command with sudo if needed.

--setip <hostname_or_ip>[:<Port>]

Sets the IP/Hostname and port for BigBlueButton’s configuration.

Parameter Required/Optional Additional Information
Host Required Hostname or IP of the machine where BigBlueButton
Port Optional Port at which BigBlueButton is set

Example Usage:

   bbb-conf --setip 192.168.0.211

or

   bbb-conf --setip 192.168.0.211:8081

or

  bbb-conf --setip bbb.mybbbserver.com

How to Enable Root account in Ubuntu!

Enabling the root account

IconsPage/IconWarning3.png Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate a Root login shell using the following command… IconsPage/IconWarning3.png

 

sudo -i

 

To enable the Root account (i.e. set a password) use:

sudo passwd root

Use at your own risk!

 

IconsPage/dont.png Logging in to X as root may cause very serious trouble. If you believe you need a root account to perform a certain action, please consult the official support channels first, to make sure there is not a better alternative. IconsPage/dont.png

 

 

 

Re-disabling your root account

 

 

IconsPage/info.png If for some reason you have enabled your root account and wish to disable it again, use the following command in terminal… IconsPage/info.png

 

sudo passwd -dl root