Posts Tagged ‘installation’
This post will explain how to install a package from a source file (i.e. source.tar.gz) with Ubuntu. It doesn’t mean which version of Ubuntu in use.
You should use the following for most Linux distribution, avoiding to use “sudo” if you haven’t it or if you have root privilege.
Make sure you have all the necessary development tools (i.e. libraries, compilers, headers), if you are in doubt, you should execute the following commands :
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
Important Note: “uname -r” lists the current kernel you are using and used in the command above will install the correct “kernel-headers” related to your running kernel.
Extract the archive that contains the source files, for example if you have a “.tar.gz” archive you should use :
tar -xzvf archivename.tar.gz
Build the package using the package’s script (in the example below the configure script), compile the package (make), and install the compiled package into your system (make install):
cd /path/to/extracted/sourcefiles
sudo ./configure
sudo make
sudo make install
If you get a “permission denied” error when trying to execute the binary, this means that the file is not flagged to be executable.
To fix this you should run the following :
sudo chmod +x filename
You’ve done.
Hope this help
Bye
Riccardo
Print This Post
Now that VMware ESX 3i is free, is very easy to try the virtualization on bare-metal and install you own virtual machine on it.
Some days ago I’ve tested the installation of VMware 3i on an HP ML310G5 with XEON Quad core X3210 and Intel VT Technology, two 144GB SAS hard drive configured as RAID1 e 4 ohisical Gigabit NIC.
The setup process is even too simple, infact you can boot from CD and wait to ask some simple question, for example :
- How to do ? Install or Repair ?
- accept EULA ?
- Install ? Are you sure ?
After few minutes (about 10) you’re VMware 3i is installed.
After server reboot, you’ll find the usual screen that invite you to download the VMware Virtual Infrastructure Client to manage your brand new server, is the same client you’ll use to manager virtual machine and Virtual Center (if you’re luck and have one).
If you have a DHCP server on your network, the esxi get an ip address from DHCP and use it at the first boot. You can press “F2″ to change some settings without using the Virtual Infrastructure Client like :
- root password
- hostname and domain (FQDN)
- VLAN
- IP address
- Default Gateway
- Resolver
- Customize Keyboard layout
- Restart management service
- Reboot the system with factory default settings
At this point you will be able to connect to your brand new esxi server, but if you want to connect to it with SSH, you must edit a configuration file on your new system because esxi doesn’t accept SSH connection s natively.
To enable SSH connections follow these steps :
1. Open a shell on your system using “ALT+F1”
2. Type “unsupported”, and “ENTER”.
3. Enter root password and you’ll have a shell #.
4. Now you must edit with VI (if you don’t know how to use it, please go away …) the file /etc/inetd.conf.
5. Find the line starting with “# ssh ….” and delete the “#”.
6. Save and quit
7. Restart the busybox service by finding his PID and kill it with “kill -9″.
8. Use the command “inetd” to restart the service
Now you’ll be able to connect to your esxi machine with SSH.
Connect to your esxi with Virtual Infrastructure client and go to :
- Settings – Storage : to create a VMFS volumes to store your virtual machine.
- Settings – Networking : to configure “Virtual Switch” adding your NIC and creating all the Virtual Network you want (also using VLAN).
- Settings – Time Settings : to set an NTP server to keep your system clock update.
- Settings – Licensed Features : to enter your license key (FREE).
Browse the newly created datastore and create an “ISO” folder in which store your OS installation images.
At this point you can create all the virtual machine you want using the “New Virtual machine Wizard”.
Happy Virtualization
Bye
Riccardo























