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

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.

Setup Ubuntu 10.10 server x32

4 Get root Privileges

sudo passwd root

5 Install The SSH Server (Optional)

If you did not install the OpenSSH server during the system installation, you can do it now:

aptitude install ssh openssh-server

7 Configure The Network

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

Then restart your network:

/etc/init.d/networking restart

Then edit /etc/hosts. Make it look like this:

vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Now run

echo server1.example.com > /etc/hostname
/etc/init.d/hostname restart

Afterwards, run

hostname
hostname -f

Both should show server1.example.com now.

8 Edit /etc/apt/sources.list And Update Your Linux Installation

Edit /etc/apt/sources.list. Comment out or remove the installation CD from the file and make sure that the universe and multiverse repositories are enabled. It should look like this:

vi /etc/apt/sources.list

Then run

aptitude update

to update the apt package database and

aptitude safe-upgrade

to install the latest updates (if there are any). If you see that a new kernel gets installed as part of the updates, you should reboot the system afterwards:

reboot

11 Install Some Software

Now we install a few packages that are needed later on. Run

aptitude install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.6-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential

(This command must go into one line!)

14 MySQL

In order to install MySQL, we run

aptitude install mysql-server mysql-client libmysqlclient16-dev

We want MySQL to listen on all interfaces, not just localhost, therefore we edit /etc/mysql/my.cnf and comment out the line bind-address = 127.0.0.1:

vi /etc/mysql/my.cnf

[…]
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1
[…]

Then we restart MySQL:

/etc/init.d/mysql restart

Now check that networking is enabled. Run

netstat -tap | grep mysql

The output should look like this:

root@server1:~# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 6796/mysqld
root@server1:~#

17 Apache/PHP5/Ruby/Python/WebDAV

Now we install Apache:

aptitude install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert

Next we install PHP5, Ruby, and Python (all three as Apache modules):

aptitude install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

Now we have to enable some Apache modules (SSL, rewrite, suexec, include, and WebDAV):

a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
a2enmod dav_fs
a2enmod dav

Restart Apache:

/etc/init.d/apache2 restart

20 Synchronize the System Clock

It is a good idea to synchronize the system clock with an NTP (network time protocol) server over the internet. Simply run

aptitude install ntp ntpdate

and your system time will always be in sync.

apt-get install phpmyadmin

Today we will show you how to install webmin in Ubuntu 10.10 Maverick
1- Before to install webmin we need first to install some dependencies
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl

For libmd5-perl install it manually :

– Download libmd5-perl

wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb

– Install libmd5-perl:

sudo dpkg -i libmd5-perl_2.03-1_all.deb

2- Now download webmin from this Link with wget

Saving to: `webmin_1.510-2_all.deb’

100%[======================================>] 14,504,260 709K/s in 37s

2010-09-28 18:36:29 (379 KB/s) – `webmin_1.510-2_all.deb’ saved [14504260/14504260]

3- Install the downloaded package using the command :

sudo dpkg -i webmin_1.510-2_all.deb

If you got errors while installing webmin, type this command:

sudo apt-get -f install

4- Now restart webmin

sudo /etc/init.d/webmin restart

5- To access webmin, open your browser and type :

https://localhost:10000 or https://your-ip:10000

WOW!! you did it.