05.16
Open source ERP software, if you need more information, browse this page:
Prisme Solutions Informatique SA – OpenERP partner in Switzerland
David Olivier blog
Open source ERP software, if you need more information, browse this page:
Prisme Solutions Informatique SA – OpenERP partner in Switzerland
You can get OS template from this web site:
http://wiki.openvz.org/Download/template/precreated
cd /vz/template/cache
wget http://download.openvz.org/template/precreated/ubuntu-10.04-x86_64.tar.gz
vzctl create 13 –ostemplate ubuntu-10.04-x86_64 –config basic
Creating container private area (ubuntu-10.04-x86_64)
Performing postcreate actions
Container private area was created
(13 is the machine unique id, vps id)
(it’s also possible to directly split the host for a pre-defined number of vps: vzsplit -n 10)
vzctl set 13 –onboot yes –save
vzctl set 13 –hostname host.domain.com –save
vzctl set 13 –ipadd 1.2.3.4 –save
vzctl set 13 –nameserver 1.2.3.5 –save
vzctl set 13 –numothersock 240 –save
vzctl set 13 –vmguarpages $((256 * 256)) –save
vzctl set 13 –privvmpages $((256 * 1024)) –save
vzctl set 13 –diskspace 10G:15G –save
vzctl start 13
vzctl exec 13 passwd
vzctl exec 13 cat /proc/user_beancounters
Failcnt is important, all the values in this column should be 0.
If failcnt is not 0, you need to change the variable value in /etc/sysconfig/vz-scripts/13.conf configuration file.
After each modification, check the configuration file with this command:
vzcfgvalidate /etc/sysconfig/vz-scripts/13.conf
vzlist -a
To stop a vps, run
vzctl stop 13
To restart a vps, run
vzctl restart 13
Enter/exit in vps from host:
vzctl enter 13
to exit, only exit terminal
Download the live-cd (respectively for your system CPU)
http://cdimage.ubuntu.com/daily-live/current/
Burn the iso image on a cd
On your RAID controller, configure your virtual drive (if exist)
Boot on the live-cd
Start a terminal
Drive partitionning with gparted
sudo gparted
Mount the partition (sda1 is your harddisk device)
sudo mkdir /mnt/ubuntu
sudo mount /dev/sda1 /mnt/ubuntu
Get the lucid files (–arch=x86 if you have an old cpu)
sudo apt-get install debootstrap
sudo debootstrap –arch=amd64 lucid /mnt/ubuntu http://ch.archive.ubuntu.com/ubuntu
On the version just installed, you need to mount correct dev & proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /proc /mnt/ubuntu/proc
Now we able to use the new installation from the live-cd
sudo chroot /mnt/ubuntu /bin/bash
Modification of /etc/fstab
apt-get install nano
nano /etc/fstab
Add theses lines (modify drive name with yours, you can see them with gparted)
/dev/sda1 / ext4 defaults 0 1
/dev/sda3 none swap sw 0 0
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 notauto,ro,user,exec 0 0
After saved this file, try to mount all partitions with:
mount -a
If you receive no error, you can continue this procedure
You need to configure your keyboard with (follow the step)
dpkg-reconfigure console-setup
Boot loader installation
apt-get install grub
Last kernel, installation
apt-get install python-software-properties
add-apt-repository ppa:kernel-ppa
apt-get update
apt-cache search linux-image*
Get the name of the last kernel package for your distribution type (like server) and for your cpu (like amd64)
apt-get install install linux-imag-2.X.XX-X-XXXXXXX
Setup of grub
grub-install –recheck /dev/sda1
update-grub
nano /boot/grub/menu.lst
Check path at the end of the file
title Debian GNU/Linux, kernel 2.6.18-4-k7
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.18-4-k7
savedefault
Boot flag
Open gparted and add the boot flag on your partition, where grub is installed.
User creation
adduser administrator
addgroup –system admin
adduser administrator admin
nano /etc/sudoers
add in admin group:
%admin ALL=(ALL) ALL
paswd root
End
Reboot
sudo reboot
Don’t be suprised with the fsck, it’s finally boot
Some sources:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/546091
https://help.ubuntu.com/6.10/ubuntu/installation-guide/hppa/linux-upgrade.html
Setup
Settings (virtual box addons)
Settings (Start X at boot)
Settings (Network)
You can also use this 3 last commands in the .bash_profile file.
Java virtual machine of Eclipse Framework use by Lotus 8.5 softwares has restricted memory settings. It’s possible to improve there, if you have enough memory on your system.
vmarg.Xmx : Max memory used by JVM
vmarg.Xms: Initial memory used by JVM
David
To begin to develop applications on a simulator Java Card, you must install a development environment. This article will help you in this first step.
You must first download the software:
David
To begin, here is the material, that we obtained from the site usasmartcard.com.
We need the following software:
Here is the installation procedure to follow:
It was during the creation of a new project that we must activate the plugin JCOP Tools. To do that:
Now you have a nice hardware development platform…
Good luck