Search This Blog

Saturday, 18 June 2016

LINUX UBUNTU DOMAIN JOINING SOFTWARE APP

Use Domain software tool likewise open to join a Linux system to a Microsoft windows domain. Install likewise open in linux. Use the following Linux commands in interface,

likewise open

open add/remove software tool

mark likewise -open5

likewise-open5-gui

winbind     used for installation

cli

centrify dc

domain example.net                \\this is the domain name

from command terminal

sudo domain-join-cli join example.com

restart domain

sudo /etc/init.d/ likewise-open restart

to leave domain

sudo domain-join-cli leave

client

sudo apt-get install openssh-client
server
sudo apt-get install openssh-server

--------------------------------------------------------------
How to install likewise open in linux use the following commands

sudo apt-get install likewise-open
likewise open package
/usr/bin/domainjoin-cli
sudo domainjoin-cli join example.com administrator
sudo /etc/init.d/likewise-opent restart
to leave
sudo domain-join-cli leave
if client have problem in joining add DNS
/etc/resolv.conf
nameserver 192.168.0.1
sudo add-apt-repository

--------------------------------------


For ip address configuration on interfaces in Linux user the following commands,

sudo vi /etc/network/interfaces
edit
auth0 eth0
      ifadd  eth0 inet static
      address 192.168.5.249
      mask     255.255.255.0
      network 192.168.5.0
      broadcast  192.168.5.255
      gateway 192.168.5.1
sudo vi /etc/resolv.conf

     nameserver 192.168.5.254
     nameserver 8.8.8.8
     nameserver 192.168.7.254

------------------------------------------------------
How to install Open fire collaboration chatting server in Ubuntu Linux


sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-software-properties
sudo add-apt-get-repository ppa:webupd8team/java
sudo apt-get update
check java version
#java -version
remove openJDK
sudo apt-get remove --purge openjdk*
install java oraclejava7

sudo apt-get install oracle -java7-installer

install Mysql Database server
sudo apt-get install mysql-server
create new MySQL database of openfire
login to mysql server as root
sudo mysql -u root p
create the database
"dbopenfire", add new user "openfire" and add new password "openfirepwd" for user "openfire"

to change root password

mysqladmin -u root -p password
current password
new password
service mysql stop/start

download openfire chatting and communication server software

create database

download openfire
cd /tmp
/tmp#wget http://download.igniterealtime.org/openfire/openfire_3.7.1_all.deb
install
sudo dpkg -i openfire_3.7.1_all.deb
reboot init 6
edit init.d
/etc/init.d/openfire
line 27
replace java-6-sum with java-7-oracle
sudo apt-get install rpl
sudo rpl '6-sun' '7-oracle'
/etc/init.d/openfire
sudo service openfire start
allow ports for openfire
sudo ufw allow 9090/tcp














No comments:

Post a Comment

Linux Partitioning Disk & Formatting commands

Linux Partitioning Disk & Formatting commands fdisk man fdisk pi@rasberrypi ~$ sudo fdisk -l