Install vmware tools in ubuntu server command line
Ubuntu Server with only a Command Line Interface
- In Fusion, Workstation, Player, or ESXI, go to Virtual Machine > Install VMware Tools.
- In the Ubuntu guest, run these commands:
- sudo mkdir /mnt/cdrom
When prompted for password, enter Ubuntu’s admin user password.
-
sudo mount /dev/cdrom /mnt/cdrom
-
Run this command to find the exact name of the VMware Tools bundle; the file name varies depending on your version:
ls /mnt/cdrom
-
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.
-
cd /tmp/vmware-tools-distrib/
-
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.
- sudo mkdir /mnt/cdrom
-
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:
- Open Registry Editor.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
- In the details pane, click New, and then click DWORD (32-bit) Value.
- Type DisabledComponents, and then press ENTER.
- 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
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
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
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
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
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.list2. 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
| 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… |
sudo -i
To enable the Root account (i.e. set a password) use:
sudo passwd root
Use at your own risk!
| 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. |
Re-disabling your root account
| If for some reason you have enabled your root account and wish to disable it again, use the following command in terminal… |
sudo passwd -dl root
How to reset MYSQL password in Ubuntu!
You can reset the root password by running the server with –skip-grant-tables and logging in without a password by running the following as root (or with sudo):
# /etc/init.d/mysql stop
# mysqld_safe –skip-grant-tables &
$ mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD(“YOUR-NEW-ROOT-PASSWORD”) where User=’root’;
mysql> flush privileges;
mysql> quit
# /etc/init.d/mysql stop
# /etc/init.d/mysql start
$ mysql -u root -p
Now you should be able to login as root.
It is also possible to find the query that reset the password in /home/…/.mysql_history or /root/.mysql_history of the user who reset the password, but the above will always work.
