Difference between revisions of "Config/Install/Mac/Install Server v1"
(Created page with "{{DISPLAYTITLE:Installation C3Fire Server on Linux}} The C3Fire distribution contains all you need to run the system. It contains The C3Fire environment, and the needed Java...") |
|||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:Installation C3Fire Server on | + | {{MenuHeadC3Fire}} {{DISPLAYTITLE:Installation C3Fire Server on Mac}} |
+ | {{C3fire/Config/Install/Mac/Install_Menu}} | ||
+ | {{TOCright}} | ||
Line 7: | Line 9: | ||
== Download System == | == Download System == | ||
− | The system can be downloaded from the [[C3LL:Systems/Download|download page]]. <br> | + | The system can be downloaded from the '''[[C3LL:Systems/Download|download page]]'''. <br> |
− | Require a system license at the [[C3LL:Systems/License|license page]]. | + | Require a system license at the '''[[C3LL:Systems/License|license page]]'''. |
− | |||
− | |||
− | |||
Line 34: | Line 33: | ||
− | + | ==== Backup old sessions ==== | |
− | === Backup old sessions === | + | If you have an old C3Fire installation on the computer backup the old session log files. |
− | If you have an old C3Fire installation on the computer backup the old session log files. | ||
The log files are stored at <code>../C3LearningLabs/C3Fire/Server/SessionLogs</code> | The log files are stored at <code>../C3LearningLabs/C3Fire/Server/SessionLogs</code> | ||
− | :Example: <code>/ | + | :Example: <code>/Applications/c3system/C3LearningLabs/C3Fire/Server/SessionLogs</code> |
;Move Current installation | ;Move Current installation | ||
:Move the current installation to a backup folder by changing the folder name. | :Move the current installation to a backup folder by changing the folder name. | ||
:Example: | :Example: | ||
− | ::<code>cd / | + | ::<code>cd /Applications/c3system</code> |
::<code>sudo mv C3LearningLabs C3LearningLabs-b170208</code> | ::<code>sudo mv C3LearningLabs C3LearningLabs-b170208</code> | ||
+ | === Installation === | ||
− | = | + | The installation is done with the commands below in a terminal window.<br> |
+ | <blockquote style="background-color:#e4f4ff; border: solid thin #99ccdd; font-size: 13px; color:000000;"> | ||
+ | You can launch a terminal window by:<br> | ||
+ | Click the Spotlight icon. It’s the magnifying glass at the top right corner of the screen.<br> | ||
+ | Type '''terminal''' into the search box. <br> | ||
+ | or<br> | ||
+ | Click on the terminal icon in the Launchpad. | ||
+ | </blockquote> | ||
− | We recommend that you install the system in folder / | + | We recommend that you install the system in folder /Applications/C3System. <br> |
Create the installation folder with the following command.<br> | Create the installation folder with the following command.<br> | ||
− | <code>sudo mkdir / | + | <code>sudo mkdir /Applications/C3System</code><br> |
<br> | <br> | ||
Set read write permissions for the folder. Depending on how you are using your system you may need to set the permissions to 777 while installing. Remember to set it correct after the installation process.<br> | Set read write permissions for the folder. Depending on how you are using your system you may need to set the permissions to 777 while installing. Remember to set it correct after the installation process.<br> | ||
− | <code>sudo chmod 777 / | + | <code>sudo chmod 777 /Applications/C3System</code> or |
− | <code>sudo chmod 755 / | + | <code>sudo chmod 755 /Applications/C3System</code><br> |
<br> | <br> | ||
;Download and copy | ;Download and copy | ||
− | :Download and copy the installation file <b>"c3fire-v4. | + | :Download and copy the installation file <b>"c3fire-v4.0.5.2-install-mac.tgz"</b> to the install folder /Applications/C3System and go to that folder. |
− | + | :<code>cd /Applications/C3System</code> | |
− | :<code>cd / | ||
− | ;Uncompress | + | ;Uncompress |
:Uncompress the c3fire system with the following command. | :Uncompress the c3fire system with the following command. | ||
− | :Replace the version number to the new version number. c3fire-v'''x.x.x.x'''-install- | + | :Replace the version number to the new version number. c3fire-v'''x.x.x.x'''-install-mac.dmg |
− | + | :Example: <code>sudo tar zxvf c3fire-v4.1.0.0-install-mac.tgz</code> | |
− | :The installation will create the C3Fire folder structure, see [[C3Fire:Config/Install#Folder Structure (Where to find things)|Folder Structure]] at | + | :The installation will create the C3Fire folder structure, see [[C3Fire:Config/Install#Folder Structure (Where to find things)|Folder Structure]] at installation start page. |
− | ::<code>/ | + | ::<code>/Applications/C3System/C3LearningLabs/C3Fire/...</code> |
;Set access rights | ;Set access rights | ||
:Set read write permissions for the C3System foder structure. | :Set read write permissions for the C3System foder structure. | ||
:Depending on how you are using your system you may need to set the permissions to 777. | :Depending on how you are using your system you may need to set the permissions to 777. | ||
− | :<code>sudo chmod -R 777 / | + | :<code>sudo chmod -R 777 /Applications/C3System/C3LearningLabs</code> |
− | :<code>sudo chmod -R 755 / | + | :or |
− | + | :<code>sudo chmod -R 755 /Applications/C3System/C3LearningLabs</code> | |
Line 90: | Line 95: | ||
<br> | <br> | ||
The license file should be copied to the folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/<br> | The license file should be copied to the folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/<br> | ||
− | Example: <code>/ | + | Example: <code>/Applications/C3System/C3LearningLabs/C3Fire/Server/C3Fire.license</code><br> |
+ | <br> | ||
+ | With a correct C3Fire license file it is now time to try if the system is working on the server computer.<br> | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
Line 103: | Line 107: | ||
You can start C3Fire server with the command below in a terminal window.<br> | You can start C3Fire server with the command below in a terminal window.<br> | ||
− | + | ;Start with shell script''' | |
:Go to the C3Fire server folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/ | :Go to the C3Fire server folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/ | ||
+ | ::Example: <code>cd /Applications/C3System/C3LearningLabs/C3Fire/Server</code> | ||
− | :: | + | :Start the server with the following command: |
+ | ::<code>sudo sh C3FireServer-Start-Mac.sh</code> | ||
+ | ::<code>sudo sh C3FireServer-Start-Mac-NoUI.sh</code> Use this if the server should not view user interface. | ||
− | : | + | [[File:C3wiki-image-width-mac-96.png|800px|StartServer]] |
− | |||
− | |||
<blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | <blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | ||
'''Recommended commands to start C3Fire server'''<br> | '''Recommended commands to start C3Fire server'''<br> | ||
− | cd / | + | cd /Applications/C3System/C3LearningLabs/C3Fire/Server<br> |
− | sudo sh C3FireServer-Start- | + | sudo sh C3FireServer-Start-Mac.sh |
</blockquote> | </blockquote> | ||
+ | After some startup time the C3Fire server should write 'C3Fire Server Running', and 'Waiting On Manager'.<br> | ||
− | + | [[File:C3fire-config-install-mac-start-server.png|800px|StartServer]] | |
− | + | [[File:C3fire-config-install-mac-start-server-started.png|800px|StartServer]] | |
− | [[File:C3fire-config-install-start | ||
− | |||
− | |||
− | |||
− | [[File:C3fire-config-install-start-server- | ||
− | |||
<br> | <br> | ||
If the server did start you should test the web server.<br> | If the server did start you should test the web server.<br> | ||
− | |||
− | |||
+ | If the C3Fire server does not start go to [[C3Fire:Config/Install/Mac/Troubleshooting#Troubleshooting C3Fire Server|Troubleshooting C3Fire Server on Mac]]. | ||
Line 140: | Line 139: | ||
Surf to : local host http://127.0.0.1:8380/<br> | Surf to : local host http://127.0.0.1:8380/<br> | ||
− | + | ||
<blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | <blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | ||
'''Recommended test'''<br> | '''Recommended test'''<br> | ||
http://127.0.0.1:8380/ | http://127.0.0.1:8380/ | ||
</blockquote> | </blockquote> | ||
− | + | ||
The browser should show the following page.<br> | The browser should show the following page.<br> | ||
<br> | <br> | ||
− | [[File:C3fire-config-install- | + | [[File:C3fire-config-install-mac-webpage.png|Web page]] |
<br> | <br> | ||
<br> | <br> | ||
+ | If the Jetty web server does not start go to [[C3Fire:Config/Install/Mac/Troubleshooting#Troubleshooting_Jetty_Web_Server|''Start Web Server Manually'']] and try to start it. | ||
+ | |||
If the web server does not start try to start it manually, see below. | If the web server does not start try to start it manually, see below. | ||
− | |||
− | |||
+ | == Test C3Fire Client on Server Computer == | ||
+ | |||
+ | Start C3Fire client on the server computer. | ||
− | + | You can start a C3Fire client with the command below in a terminal window.<br> | |
− | |||
− | + | <blockquote style="background-color:#e4f4ff; border: solid thin #99ccdd; font-size: 13px; color:000000;"> | |
+ | If you want to open more than one terminal window | ||
+ | |||
+ | Select an open terminal | ||
+ | press CMD + N, or select in the menu. | ||
+ | </blockquote> | ||
;Start with shell script | ;Start with shell script | ||
− | :Go to the C3Fire client application | + | :Start a new terminal window. |
− | :Example | + | :Go to the C3Fire client application folder: <C3LEARNINGLABS-ROOT>/C3Fire/Client/Application/ |
− | + | ::Example: <code>cd /Applications/C3System/C3LearningLabs/C3Fire/Client/Application</code> | |
:Start the client with the following command: | :Start the client with the following command: | ||
− | :<code>sudo sh C3FireClient-Start- | + | ::<code>sudo sh C3FireClient-Start-Mac.sh</code> |
− | |||
<blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | <blockquote style="background-color:#ddffdd; border: solid thin #aaddaa; font-size: 13px; color:000000;"> | ||
'''Recommended commands to start C3Fire client'''<br> | '''Recommended commands to start C3Fire client'''<br> | ||
− | cd / | + | cd /Applications/C3System/C3LearningLabs/C3Fire/Client/Application<br> |
− | sudo sh C3FireClient-Start- | + | sudo sh C3FireClient-Start-Mac.sh |
</blockquote> | </blockquote> | ||
+ | [[File:C3fire-config-install-mac-start-client.png|800px|Start Client]]<br> | ||
+ | After some startup processes the C3Fire client should open the following window.<br> | ||
+ | [[File:C3fire-config-install-start-client-started-mac.png|800px|C3Fire Client]]<br> | ||
+ | If the C3Fire client does not start go to [[C3Fire:Config/Install/Mac/Troubleshooting|Troubleshooting C3Fire]]. | ||
− | + | {{C3fire/Config/Install/Mac/Install_Menu}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{C3fire/Config/Install/ |
Latest revision as of 12:16, 1 August 2021
Template:MenuHeadC3Fire Template:C3fire/Config/Install/Mac/Install Menu Template:TOCright
The C3Fire distribution contains all you need to run the system.
It contains The C3Fire environment, and the needed Java environment.
Download System
The system can be downloaded from the download page.
Require a system license at the license page.
Install C3Fire Server
Select Server Computer
Select the computer that you want to have as C3Fire server. It should be visible in the network that you use when you run C3Fire sessions.
Contact your network administrator and make sure that the C3Fire server and the C3Fire clients should be able to communicate in the network. The C3Fire server and the clients should be able to communicate on a port that you can select. The default port is 8382 but you can define port number in the C3Fire server configuration.
The C3Fire Server uses a Jetty web server to distribute files to the clients. The Jetty web server uses the port 8380, can be changed in the configuration. It is also possible to use an external web server, then you need have write access to that web server.
IP address and Port number
Every computer in a network have an IP address. If a computer program accepts calls from an other computer its open a port and starts listens on that port number. In IPv4 the port number is a number between 1-65535. Specific port numbers are often used to identify specific services. The C3Fire server uses port 8382 by default. The web server uses port 8380 by default.
Backup old sessions
If you have an old C3Fire installation on the computer backup the old session log files.
The log files are stored at ../C3LearningLabs/C3Fire/Server/SessionLogs
- Example:
/Applications/c3system/C3LearningLabs/C3Fire/Server/SessionLogs
- Move Current installation
- Move the current installation to a backup folder by changing the folder name.
- Example:
cd /Applications/c3system
sudo mv C3LearningLabs C3LearningLabs-b170208
Installation
The installation is done with the commands below in a terminal window.
You can launch a terminal window by:
Click the Spotlight icon. It’s the magnifying glass at the top right corner of the screen.
Type terminal into the search box.
or
Click on the terminal icon in the Launchpad.
We recommend that you install the system in folder /Applications/C3System.
Create the installation folder with the following command.
sudo mkdir /Applications/C3System
Set read write permissions for the folder. Depending on how you are using your system you may need to set the permissions to 777 while installing. Remember to set it correct after the installation process.
sudo chmod 777 /Applications/C3System
or
sudo chmod 755 /Applications/C3System
- Download and copy
- Download and copy the installation file "c3fire-v4.0.5.2-install-mac.tgz" to the install folder /Applications/C3System and go to that folder.
cd /Applications/C3System
- Uncompress
- Uncompress the c3fire system with the following command.
- Replace the version number to the new version number. c3fire-vx.x.x.x-install-mac.dmg
- Example:
sudo tar zxvf c3fire-v4.1.0.0-install-mac.tgz
- The installation will create the C3Fire folder structure, see Folder Structure at installation start page.
/Applications/C3System/C3LearningLabs/C3Fire/...
- Set access rights
- Set read write permissions for the C3System foder structure.
- Depending on how you are using your system you may need to set the permissions to 777.
sudo chmod -R 777 /Applications/C3System/C3LearningLabs
- or
sudo chmod -R 755 /Applications/C3System/C3LearningLabs
License file
The C3Fire system needs a license file to be able to start.
The license file is supplied by C3 Learning Labs. If you do not have a license file, require a system license at the license page.
The license file should have the nameC3Fire.license
, the case of the letter is important.
The license file should be copied to the folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/
Example: /Applications/C3System/C3LearningLabs/C3Fire/Server/C3Fire.license
With a correct C3Fire license file it is now time to try if the system is working on the server computer.
Test C3Fire Server
This test should be performed now before you have configure the C3Fire server.
Before the configuration the server will run as local host using the ip number 127.0.0.1.
You can start C3Fire server with the command below in a terminal window.
- Start with shell script
- Go to the C3Fire server folder: <C3LEARNINGLABS-ROOT>/C3Fire/Server/
- Example:
cd /Applications/C3System/C3LearningLabs/C3Fire/Server
- Example:
- Start the server with the following command:
sudo sh C3FireServer-Start-Mac.sh
sudo sh C3FireServer-Start-Mac-NoUI.sh
Use this if the server should not view user interface.
Recommended commands to start C3Fire server
cd /Applications/C3System/C3LearningLabs/C3Fire/Server
sudo sh C3FireServer-Start-Mac.sh
After some startup time the C3Fire server should write 'C3Fire Server Running', and 'Waiting On Manager'.
If the server did start you should test the web server.
If the C3Fire server does not start go to Troubleshooting C3Fire Server on Mac.
Test Web Server
When the C3Fire server is started, a preconfigurated Jetty web server also, automatically, is started.
The Jetty web server uses the standard web server port 8380.
You can test the web server by surfing to the server computer with a web browser.
Surf to : local host http://127.0.0.1:8380/
Recommended test
http://127.0.0.1:8380/
The browser should show the following page.
If the Jetty web server does not start go to Start Web Server Manually and try to start it.
If the web server does not start try to start it manually, see below.
Test C3Fire Client on Server Computer
Start C3Fire client on the server computer.
You can start a C3Fire client with the command below in a terminal window.
If you want to open more than one terminal window
Select an open terminal press CMD + N, or select in the menu.
- Start with shell script
- Start a new terminal window.
- Go to the C3Fire client application folder: <C3LEARNINGLABS-ROOT>/C3Fire/Client/Application/
- Example:
cd /Applications/C3System/C3LearningLabs/C3Fire/Client/Application
- Example:
- Start the client with the following command:
sudo sh C3FireClient-Start-Mac.sh
Recommended commands to start C3Fire client
cd /Applications/C3System/C3LearningLabs/C3Fire/Client/Application
sudo sh C3FireClient-Start-Mac.sh
After some startup processes the C3Fire client should open the following window.
If the C3Fire client does not start go to Troubleshooting C3Fire.