Cyclone3 Server (VMware)

From Cyclone3 Wiki

VMware Player
VMware Player
Cyclone3 Server is a VMware image with Debian server (GNU/Linux OS) installed, Cyclone3 and additional applications. This solutions is a prepared environment ready to testing Cyclone3 and develop domain services for it.

Contents

[edit] Why a virtual machine image

Let's imagine you have already tried the demo and liked it. What is the next step? You might want to try to install Cyclone3 yourself. For some users, it might be impossible if they use a Windows machine, a little complicated or they just simply don't have enough time. That is why we have prepared a virtual machine that you can download and install.

Cyclone3 framework uses several technologies: Perl code is the essence. There is a lot of stuff around it though - we have chosen Apache as our running web server, MySQL as the default database, cron as the task scheduling system and a lot of libraries which extend functionality, such as the ability, to handle different types of media and different video codecs.

Of course, anyone is free to customize their installation and extend it in ways that are most suitable for them. For users who are not advanced and for the sake of easy installation and an opportunity to try and mess with anything or if you just happen to be short of time, we have created a virtual machine image.

[edit] Installation instructions

login: user
password: user
  • Setup networking (remove file /etc/ftab with ethernet MAC address, using command)
sudo rm /etc/ftab # you will be asked for user password
reboot # restart virtual host to start with correct networking

[edit] Usage

  • Root account can be established by command sudo -u root -s
  • Functional account for Cyclone3 XULadmin is in domain example.tld for user user and password user.

[edit] Upgrade to newest Cyclone3 Framework version

  • Execute this command to upgrade Cyclone3 sources:
cd /www/TOM/;svn up
  • Fix files permissions by command:
sudo /www/TOM/.bin/tom3-chfiles -a
  • Upgrade database structures:
/www/TOM/.bin/tom3-chtables
/www/TOM/.bin/tom3-chtables -a
Cyclone3 Server
Cyclone3 Server

[edit] Windows environment

  • Setup NAT or bridget networking in VMware Player
  • Setup example.tld and www.example.tld host to virtual host (because you want to use example.tld from your browser in windows environment - edit file host.txt in windows system directory)
  • For remote files editation we recommend use Komodo Edit

If published informations are not helpfull, something is missing or wrong, please report. Thanx for contribution.

AddThis Social Bookmark Button RSS

User Comments


Posted by Pike on 2009-07-03 11:34:23
Vazeni,

kde bych nasel plne funkcni cyclone3 wmware-image? To co je k dispozici nemuzu (windows xp) rozbehat.

Posted by Anonymous on 2009-05-21 00:30:44
There is no /etc/ftab

Posted by visuateca on 2009-01-07 16:40:30
Hi,

here are some settings that you need to start up Cyclone3 server and edit files in Komodo Editor under Windows Vista:

After installing and starting VMWare Player you need to open Cyclone3.vmx file.

In command line then login as: "login:user" "password:user".

In menu bar of VMWare Player set up networking: "Devices->Network Adapter->NAT (works for me).

Now you need make example files accessible for your account, execute these commands from command line:
1. sudo chmod 777 /www/TOM
2. sudo nano /etc/group (that opens edit mode)
3. find line that begins with "www-data:" and at the end type ", user"
4. find line that begins with "cyclone3" and type ", user" at end too
5. press Ctrl-X and save

After restarting and loging again to "user" account you have access to needed files.

Find out now IP address of your Cyclone3 server:
1. in command line type: "ifconfig" that will display IPs of ethernet and local, in block that begins with "eth0" we have our IP "inet addr: XXX.XXX.XXX.XXX"

You need still setup hosting for Windows. (for Vista) find file "WindowsSystem32driversetchosts", open it and below last line write these two lines:
1. XXX.XXX.XXX.XXX example.tld
2. XXX.XXX.XXX.XXX www.example.tld
|
your IP

When you want edit example files in Komodo, you need setup Remote Files opening (account):
1. Server Type: sftp (or scp)
2. Hostname: example.tld
3. User Name: user
4. Password: user
5. Default Path: /www/TOM/

and you are ready.

Thx to rfordinal for advices.

Posted by rfordinal on 2009-01-05 09:25:56
Yes, I know. This how-to is for users who know already little a bit about Linux and VMware. But while this page is in Wiki - everyone can contribute to fill in the missing information.

Posted by JRSJH on 2009-01-05 02:46:26
Installation instructions for VMWare virtual machine image say:

"For users who are not advanced and for the sake of easy installation...or if you just happen to be short of time..."

Please consider these instructions from the perspective of someone not advanced, short of time, and wanting an easy installation:

"start virtual host" Huh? How?

"Setup networking (remove file /etc/ftab with ethernet MAC address)" Huh? How?

"...command sudo -u root -s" Huh? How do I issue this command?

"...command: cd /www/TOM/;svn up" Huh? How do I issue this command?

"Fix files permissions (as root user): /www/TOM/.bin/tom3-chfiles -a" Huh? How do I fix files permissions? Is this a command? If so, how do I issue this command? If not, how do I do this?

# Upgrade database structures: /www/TOM/.bin/tom3-chtables;/www/TOM/.bin/tom3-chtables -a Huh? How do I upgrade database structures? (And why do I have to? If you're giving me an 'image', can't you give me an image with the database structures upgraded?) Is this a command? If so, how do I issue this command? If not, how do I do this?

"Setup NAT or bridget networking" Huh? How?

"Setup example.tld and www.example.tld host to virtual host" Huh? How?