Professional Documents
Culture Documents
How to prepare
Ubuntu 9.04 VMWare Image
from
http://www.thoughtpolice.co.uk/
Install SSH
Check connexion
23/07/2018 http://www.open-source-ecm.com/ 2
Configuration Used
Operating System :
Windows XP SP2
Processor
Intel Core 2 Duo
Computer memory
2Gb
23/07/2018 http://www.open-source-ecm.com/ 3
Pre-requisites
Installation of
Putty (Command lines)
WinSCP (File Transfert)
23/07/2018 http://www.open-source-ecm.com/ 4
Download Ubuntu VMWare Image
Go to
http://www.thoughtpolice.co.uk/vmware/
Choose
Ubuntu Server 9.04
Login : notroot
Password : thoughtpolice
23/07/2018 http://www.open-source-ecm.com/ 5
Install VMWare FreePlayer
VMWare FreePlayer
http://www.vmware.com/products/player/
23/07/2018 http://www.open-source-ecm.com/ 6
Start VMWare Image
Start VMWare Player
23/07/2018 http://www.open-source-ecm.com/ 7
Ubuntu 9.04 : Configuration
Change keyboard configuration
sudo dpkg-reconfigure console-setup
23/07/2018 http://www.open-source-ecm.com/ 8
Update packages
Type this commands :
sudo apt-get update
sudo apt-get upgrade
23/07/2018 http://www.open-source-ecm.com/ 9
SSH Installation
Goals
Creating communication between Putty/Winscp and Ubuntu
VmWare Server.
Type the command :
sudo apt-get install ssh
23/07/2018 http://www.open-source-ecm.com/ 10
Troobleshooting
If you have only
23/07/2018 http://www.open-source-ecm.com/ 11
Connexion to your server
Check your connexion with WinSCP
Login
23/07/2018 http://www.open-source-ecm.com/ 12
Ubuntu configuration
Verify your connexion with Putty
Login
23/07/2018 http://www.open-source-ecm.com/ 13
Modify rights
Modifying rights on installation folder
sudo chown -R notroot /opt
23/07/2018 http://www.open-source-ecm.com/ 14
Your Image is now
READY !
23/07/2018 http://www.open-source-ecm.com/ 15
EXTRAS
SUMMARY
CHANGE HOSTNAME
CHANGE IP
INSTALL JAVA 1.6
INSTALL UNZIP
INSTALL OPENOFFICE
INSTALL MYSQL
INSTALL POSTGRESQL
23/07/2018 http://www.open-source-ecm.com/ 17
Hostname
HOSTNAME
Change hostname
sudo hostname <my-hostname>
sudo vi /etc/hosts
<my-hostname> <my-hostname>
sudo reboot
23/07/2018 http://www.open-source-ecm.com/ 19
Unzip
Unzip Installation
Connect to your Ubuntu Server with putty :
sudo apt-get install unzip
23/07/2018 http://www.open-source-ecm.com/ 21
Image Magick
Open Office
SWFTools
Transformer Installation
Connect to your Ubuntu Server with putty :
Sudo apt-get install 'openoffice.org’
Sudo apt-get install swftools
Sudo apt-get install imagemagick
23/07/2018 http://www.open-source-ecm.com/ 23
Java
JVM Installation
Connect to your Ubuntu Server with putty :
sudo apt-get install sun-java6-jdk
23/07/2018 http://www.open-source-ecm.com/ 25
JVM Installation : environment variables
Define the CLASSPATH & JAVA_HOME variable :
vi /home/notroot/.bashrc
Restart Putty
23/07/2018 http://www.open-source-ecm.com/ 26
MySQL
MySQL installation
Connect to your Ubuntu Server with putty :
sudo apt-get install mysql-server
23/07/2018 http://www.open-source-ecm.com/ 28
MySQL Installation
Modifying rights to permit remote access
sudo vi /etc/mysql/my.cnf
Comment the line
Edit this line
23/07/2018 http://www.open-source-ecm.com/ 29
MySQL Installation
Restart Mysql
sudo /etc/init.d/mysql restart
23/07/2018 http://www.open-source-ecm.com/ 30
MySQL GUI Tools Installation
23/07/2018 http://www.open-source-ecm.com/ 31
MySQL GUI Tools Installation
Run MySQL Administrator
23/07/2018 http://www.open-source-ecm.com/ 32
PostgreSQL
PostgreSQL Installation
Connect to your Ubuntu Server with putty:
sudo apt-get install postgres
23/07/2018 http://www.open-source-ecm.com/ 34
PostgreSQL Installation
How to init postgres password (Database side)
sudo su postgres -c psql template1
ALTER USER postgres WITH PASSWORD 'password';
23/07/2018 http://www.open-source-ecm.com/ 35
PostgreSQL Installation
To create a remote access to PostgreSQL
Edit configuration file
sudo vi
/etc/postgresql/8.3/main/postgresql.conf
Open remote access
uncomment this line
Change this line
Password protection
Uncomment this line
23/07/2018 http://www.open-source-ecm.com/ 36
PostgreSQL Installation
To create a remote access to PostgreSQL
Edit configuration file
sudo vi /etc/postgresql/8.3/main/pg_hba.conf
Open remote access
Add this line at the end of the file
Your server IP
23/07/2018 http://www.open-source-ecm.com/ 37
PostgreSQL Installation
Restart PostgreSQL
sudo /etc/init.d/postgresql-8.3 restart
23/07/2018 http://www.open-source-ecm.com/ 38
Pgadmin III Installation
Download this application at :
http://www.pgadmin.org/download/
23/07/2018 http://www.open-source-ecm.com/ 39
Pgadmin III Installation
Unzip the file and execute
Follow the wizard
23/07/2018 http://www.open-source-ecm.com/ 40
Using PGAdmin III
Start pgadmin III
Click on this picture to add
a server
<hostname>
23/07/2018 http://www.open-source-ecm.com/ 41
Using PGAdmin III
Check Server properties
<hostname>
23/07/2018 http://www.open-source-ecm.com/ 42
How to prepare
Ubuntu 9.04 VMWare Image
from http://www.thoughtpolice.co.uk/
By JM.PASCAL
www.opensourceecm.fr
&
www.open-source-ecm.com