Archive

Archive for the ‘Software’ Category

Adding a New Mailnode in Scalix

March 9, 2010 Leave a comment

This needs to be done after adding a mailnode to enable outlook connector and webmail. This was sent to me by Scalix support.

Add the mailnode first within sac.

The rest is done from a terminal.

To get a list of your mailnodes:

omshowmn -m all

The name displayed against two asterisks ** is name of primary mailnode
Replace mailnode with new mailnode name, and primarynode with your primary mailnode name.

omaddbb -s "mailnode"
omdelacln -t b -l ":mailnode" -g admin
omdelacln -t b -l ":mailnode" -g local
omdelacln -t b -l ":mailnode" -g default
omaddacln -t b -l ":mailnode" -g admin -c visible
omaddacln -t b -l ":mailnode" -n "*/mailnode,*,*,*" -c create read subfolder editown deleteall contact visible
omaddacln -t b -l ":mailnode" -n "Proxy-Folder Admin /primarynode/CN=Proxy-Folder Admin" -c create read subfolder editown deleteall contact visible

I did find/replace with a text editor and drag-n-drop into a terminal window. It took longer to type this up!

Categories: linux, scalix, Software

Ubuntu Server 8.04.3 – freenx setup

November 17, 2009 Leave a comment

Sorry for the brevity – it was quickly written to fill a need. I will try and flesh it out later. This is a minimal ubuntu server setup with just enough gui to function with nx client. We use these for remote access terminals on low powered equipment.

Install ubuntu server 8.04.3 from CD

only select openssh-server, use all other defaults

login and note ip address

ifconfig

change ssh port to non-standard port e.g. 8888

sudo nano /etc/ssh/sshd_config

change port 22 to port 8888, save and exit.

sudo reboot

From remote machine login with ssh

ssh <user>@<ip addr> -p 8888

sudo su

apt-get update

apt-get upgrade -y

–let it work for a while

reboot

log back in after a few minutes

sudo nano /etc/apt/sources.list

add this at the bottom:

deb http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main

deb-src http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main

save and update key, then reload repositories:

sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2a8e3034d018a4ce

sudo apt-get update

Now actually install freenx:

sudo aptitude install freenx

wait 5-10 minutes for it to finish

sudo /usr/lib/nx/nxsetup –install

You should be ready to connect with NX Client from nomachine

optionally Install a few items you may need later:

sudo apt-get install gnome-terminal firefox tsclient libstdc++5

Categories: linux, networking, Software, ubuntu

Active Directory integration in Linux and OSX

August 26, 2009 Leave a comment

Likewise has a really impressive free product that lets Linux and OSX users integrate into an Active Directory environment very easily. In fact with linux I think it’s easier than with Windows!

In ubuntu you can install the likewise-open-gui package. For OSX you can download the installer package from the likewise.com website and follow the 10 minute setup guide.

Categories: DIY, linux, networking, OSX, Software, ubuntu

Fresh gnudialer install on CentOS 5

November 5, 2008 Leave a comment
# do a CentOS 5 install 
# deselect Office Productivity
# select Developement
# select Web Server
# disable selinux  (this is a MUST do)
# reboot
#

#
#rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

yum -y update
updatedb

yum -y install joe
yum -y install screen
yum -y install kernel-devel
yum -y install cdrecord
yum -y install mkisofs
yum -y install libidn
yum -y install libgcj
yum -y install bison
yum -y install libtermcap
yum -y install libtermcap-devel
yum -y install newt
yum -y install newt-devel
yum -y install ncurses
yum -y install ncurses-devel
yum -y install openssl
yum -y install openssl-devel
updatedb

service httpd start

cd /usr/src

yum -y install mysql.i386
yum -y install mysql-server
yum -y install mysql-devel

service mysqld start
wget http://www.dynx.net/ASTERISK/gnudialer/easy_setup/create_tables.sql
mysql -uroot < create_tables.sql

# CHANGE THIS
mysqladmin -uroot password '~somepassword'

service httpd start

#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.350-1.noarch.rpm
#rpm -i webmin-1.350-1.noarch.rpm

cd /usr/src

wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.2.24.tar.gz
tar zxfv asterisk-1.2.24.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.2.8.tar.gz
tar zxfv asterisk-addons-1.2.8.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.2.6.tar.gz
tar zxfv libpri-1.2.6.tar.gz
wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.2.22.tar.gz
tar zxfv zaptel-1.2.22.tar.gz

cd /usr/src/libpri-1.2.6
make clean
make
make install

cd /usr/src/zaptel-1.2.22
make clean
make
make install
make config

cd /usr/src/asterisk.1.2.24
make mpg123
make clean
make
make install
make samples
/usr/sbin/safe_asterisk

yum -y install subversion
cd /usr/src
svn checkout http://dynx.net/svn/gnudialer-puff/trunk gnudialer-puff
cd gnudialer-puff
make clean
make
make install
make reload

cd /usr/src/gnudialer-puff/astcrm-1.1.6
wget http://www.dynx.net/ASTERISK/gnudialer/java/j2sdk-1_4_2_08-linux-i586.rpm
rpm -i j2sdk-1_4_2_08-linux-i586.rpm
export PATH=$PATH:/usr/java/j2sdk1.4.2_08/bin
export CLASSPATH=$CLASSPATH:.
make clean
make
make install

# remember you need to still read all the /usr/src/gnudialer-puff/README's and INSTALL 
# remember you need to still read all the /usr/src/gnudialer-puff/astcrm-1.1.6/README's and INSTALL
# you need to do this because you MUST change the user/pass in various areas, 
# or use the defaults if you are UNSURE whats needs to change.

Original File
Categories: Asterisk, linux, Software

Changing the hostname of a Scalix server

October 17, 2008 Leave a comment

Changing the fully qualified domain name of a Scalix server is a little tricky. Following the procedure here I was able to accomplish it pretty easily.

Categories: linux, scalix, Software

hudlite server password

October 9, 2008 Leave a comment

It is pretty easy to find the server password for hudlite if you don’t have it.

Connect via ssh to to the server

issue the following command:

ps aux | grep hud
The password is returned on the line with the ./hudlite-server process

From the fonality knowledgebase.

Repair Grub startup problems quickly and easily

September 7, 2008 Leave a comment

After hosing Grub settings on my main machine, I stumbled onto one of those tools that just blew me away.

Super Grub boot disk is small, quick and easy. You just download and burn it to a CD, boot from the CD, and follow along with the excellently written documentation wiki. It took me less than 10 minutes start to finish to be back up and running, and as a side benefit found a good reference about boot loaders.

Categories: linux, Software

SSH Sessions with no password

September 7, 2008 1 comment

This was adapted from here.

The basic idea is that in the crypto system that ssh uses (RSA or/and DSA)  the encryption and  decryption are done using different keys. Basically, what the user (client) needs is to generate a public/private key pair. The server will know the public key, but only the client will know the private key. When the client connects to the server, it  tells its own public key. If this key is allowed (if it is between the known public keys list on the server), the server will send a randomic number to the client. This encrypted number can only be decrypted if the appropriate decryption key is used, and this decryption key is the client’s private one. The client then uses then its own private key and decrypt the number. If this is done correctly, the server will grant the access with no more questions. As you can see the system is safe, because the client never tells anybody about its private key; and this key cannot be inferred using the public one.

What must be done is to generate a public/private key pair, and copy the public part into the appropriate place on the server side.

Step by step instructions:

On the user’s home directory, on the client machine, type

local> ssh-keygen -t dsa -f .ssh/id_dsa

-t tells the type of encryption
-f tells where to store the public/private key pairs. In this case, the .ssh directory on home is being used

A password will be asked; leave this part blank, just pressing <enter>
Now, go the .ssh directory, and you will find two new files: id_dsa and id_dsa.pub. The last one is the public part. Now, copy the public key to the server machine

local> cd .ssh
local> scp id_dsa.pub user@remote:~/.ssh/id_dsa.pub

Of course, this time you will need to enter the password.
Now, login into the server machine and go to the .ssh directory on the server side

local> ssh user@remote
remote> cd .ssh

Now, add the client’s public key to the know public keys on the server

remote> cat id_dsa.pub >> authorized_keys2
remote> chmod 640 authorized_keys2
remote> rm id_dsa.pub

remote> exit

That’s all.
Next time you log into the remote server, no password will be asked!

Combined with the gnome sshmenu applet, this can be a real time saver.

Categories: linux, networking, Software, ubuntu

Server 2003 – Terminal Server Client Access Licensing setup – eOpen

1. Find license on your eOpen website portal, noting especially the Authorization and License codes.

2. Install terminal services licensing server, preferably on a 2003 server that is not a domain controller or a terminal server.

3. Administrative Tools – terminal services licensing

4. Click on server name. Choose activate, and install licenses.

5. Choose license program: Open License

6. Enter your authorization number in the agreement number field.

7. Enter your license number in the unmarked field below it. Hit next and you should be good to go.

Categories: Software, Windows Server

Flash9 for Ubuntu 8.04 64 bit

One line in terminal:

sudo apt-get install flashplugin-nonfree lib32nss-mdns

http://ubuntuforums.org/showthread.php?t=772490

Categories: linux, Software, ubuntu
Follow

Get every new post delivered to your Inbox.