Install i@nseo/sv: Difference between revisions

    From Ianseo
    (Created page with "sudo mysql -p -e "create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;create database ianseo;"")
    (Updating to match new version of source page)
     
    (9 intermediate revisions by 2 users not shown)
    Line 3: Line 3:
    == Förberedelser inför installationen ==
    == Förberedelser inför installationen ==
    i@nseo är webb baserad så du behöver först installera en så kallad AMP stack (Apache, MySQL, Php)
    i@nseo är webb baserad så du behöver först installera en så kallad AMP stack (Apache, MySQL, Php)

    <div lang="en" dir="ltr" class="mw-content-ltr">
    <hr>
    </div>


    === Windows ===
    === Windows ===
    Line 20: Line 24:
    <div class="mw-collapsible-content">
    <div class="mw-collapsible-content">
    {{Install_Post_Installation}}
    {{Install_Post_Installation}}

    {{Install_Post_Installation}}

    </div>
    </div>
    </div>
    </div>
    Line 36: Line 43:


    Kontrollera att <code>C:\ianseo\htdocs</code> katalogen är world-writeable: högerklicka på katalogen, välj egenskaper och ändra behörigheterna så att alla får läs- och skrivbehörighet. Klicka även i att alla underliggande kataloger och filer ska ha samma.
    Kontrollera att <code>C:\ianseo\htdocs</code> katalogen är world-writeable: högerklicka på katalogen, välj egenskaper och ändra behörigheterna så att alla får läs- och skrivbehörighet. Klicka även i att alla underliggande kataloger och filer ska ha samma.

    <div lang="en" dir="ltr" class="mw-content-ltr">
    <hr>
    </div>


    ===MacOs===
    ===MacOs===
    Vi har ingen installerare till Mac. AMP stacken behöver installeras separat.
    Vi har ingen installerare till Mac. AMP stacken behöver installeras separat.


    <div class="mw-translate-fuzzy">
    ====Nerladdning av XAMPP/MAMP====
    ====Nerladdning av XAMPP/MAMP====
    Ladda ner XAMPP ([https://www.apachefriends.org/]) eller MAMP ([https://www.mamp.info/en/downloads/]) och följ instruktionerna för att installera.
    Ladda ner XAMPP ([https://www.apachefriends.org/]) eller MAMP ([https://www.mamp.info/en/downloads/]) och följ instruktionerna för att installera.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Choose the appropriate version if you're running an Intel processor or Apple Silicon.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Run the installation program. This will install MAMP and a demo version of MAMP Pro. Ianseo only needs the functionality in MAMP so you do not need to purchase MAMP Pro unless you want to.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    After the installation, you will find a folder called MAMP in the Applications folder. Open this folder by double clicking on it and then start the MAMP application.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Most of the standard values are sufficient for Ianseo, but a couple of adjustments need to be done first. Choose Preferences and then the Ports tab. Click the button “80 & 3306” to set MAMP to the default ports for web and MySQL.
    </div>


    ====Ladda ner i@nseo====
    ====Ladda ner i@nseo====
    Från [https://ianseo.net/Releases.php ianseo.net] laddar du ner en zip fil som du extraherar i katalogen <code>htdocs</code> i XAMPP eller MAMP (i <code>Appar</code>)
    Från [https://ianseo.net/Releases.php ianseo.net] laddar du ner en zip fil som du extraherar i katalogen <code>htdocs</code> i XAMPP eller MAMP (i <code>Appar</code>)


    <div lang="en" dir="ltr" class="mw-content-ltr">
    For the purpose of the guide Ianseo will be installed in its own folder, called ianseo and the URL to access ianseo will be <code>http://localhost/ianseo</code>.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    * Open folder “/Applications/MAMP/htdocs”
    * Create a folder inside it and name it “ianseo” (all lower case, without quotes)
    * Uncompress the contents of the downloaded zip file inside the ianseo folder
    * '''IMPORTANT:''' Open the folder <code>/Applications/MAMP/htdocs/ianseo/Common</code> and delete the file <code>config.inc.php</code> (if it exists) to allow the installation procedure to start.
    * Open a terminal window (Applications -> Utilities -> Terminal)
    * Go to the MAMP folder by type the command below, including a space between cd and /, and press <code>Enter</code>:
    cd /Applications/MAMP/htdocs
    * Type the following command and press <code>Enter</code>. You will be asked the password of your user: enter it but remember that nothing will be displayed while typing, not even *.
    sudo chown -R nobody:admin ianseo
    * Type the following command and press Enter (again it can ask for the password):
    sudo chmod -R a+rwX ianseo
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    ====Starting MAMP====
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Start the MAMP application and then press the Start button. This will start the Apache web server and the MySQL database. You may be prompted to enter your password; enter it to continue.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Once MAMP starts, your browser should automatically open to a Welcome to MAMP page showing the current version number.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    To start Ianseo, enter the address <code>http://localhost/ianseo</code> in a new tab. You will first need to agree to the License Agreement. Check the box and click on the I AGREE button.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    If this is a new installation, follow the onscreen instructions.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    {{Note|During installation, MAMP does not set the MySQL root password, so when the installer will ask for it, leave it blank. The other fields can be left with default values. Click the Create user and database button to proceed. }}
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    {{Note|If the installation program displays an error message indicating that it could not connect to the database, enter “root” in the ADMIN Password to create users and databases fields and click the Create user and database button to try again.}}
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Once the database information is configured, you should see a message saying Ianseo is now installed on your system.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    Click on the link “Go to IANSEO!” to update your system to the latest version. This will automatically download the latest version of the software and update the language files. When this is finished you will see the message “The upgrade process is finished.”. Click the button to continue.
    </div>

    <div lang="en" dir="ltr" class="mw-content-ltr">
    <hr>
    </div>

    ===Linux===
    AMP stacken finns inbyggd i Linux (LAMP). Aktivera dem via "package manager" (du behöver ha admin behörighet). Tänk på att att i@nseo kommer att behöva php 8 eller senare.
    AMP stacken finns inbyggd i Linux (LAMP). Aktivera dem via "package manager" (du behöver ha admin behörighet). Tänk på att att i@nseo kommer att behöva php 8 eller senare.


    Line 69: Line 157:
    sudo mysql -p -e "create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;create database ianseo;"
    sudo mysql -p -e "create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;create database ianseo;"


    Skapa katalogen <code>/opt/ianseo</code> och ställ in ägaren till ianseo.
    <div lang="en" dir="ltr" class="mw-content-ltr">
    Ladda ner zip-filen från [https://ianseo.net/Releases.php ianseo.net] och extrahera i <code>/opt/ianseo.</code>
    Create the folder <code>/opt/ianseo</code> and assign the folder to your user.
    Download the zip file from [https://ianseo.net/Releases.php ianseo.net] and extract in <code>/opt/ianseo.</code>
    </div>


    Ställ in "world writeable permissions" för katalogen och underliggande filer och kataloger med följande kommando.
    <div lang="en" dir="ltr" class="mw-content-ltr">
    sudo chmod -R a+rwX /opt/ianseo
    Assign world writeable permissions to the folder and files with the following command.
    Kopiera konfigurationsfilen för Apache som du hittar i <code>/opt/ianseo/Install/apache-ianseo.conf</code> till <code>/etc/apache2/conf-available</code> och registrera ändringen i Apache genom att skriva:
    sudo chmod -R a+rwX /opt/ianseo
    Copy the apache configuration file located in <code>/opt/ianseo/Install/apache-ianseo.conf</code> in <code>/etc/apache2/conf-available</code> and enable the change in apache
    sudo cp /opt/ianseo/Install/apache-ianseo.conf /etc/apache2/conf-available
    sudo cp /opt/ianseo/Install/apache-ianseo.conf /etc/apache2/conf-available
    sudo a2enconf apache-ianseo
    sudo a2enconf apache-ianseo
    sudo service apache2 reload
    sudo service apache2 reload
    </div>


    ==Sista steget i installationen av i@nseo==
    ==Sista steget i installationen av i@nseo==
    Kontrollera så att det inte ligger fil som heter <code>config.inc.php</code> i katalogen <code>Common</code>
    Kontrollera så att det inte ligger en fil som heter <code>config.inc.php</code> i katalogen <code>Common</code>
    Finns den där så tar du bort den.
    Finns den där så tar du bort den.
    Öppna en webläsare och skriv in <code><nowiki>http://localhost/ianseo</nowiki></code>
    Öppna en webläsare och skriv in <code><nowiki>http://localhost/ianseo</nowiki></code>


    Följ instruktionerna som kommer upp på skärmen.
    Följ instruktionerna som kommer upp på skärmen.

    == Credits ==
    <references />

    Latest revision as of 17:08, 12 March 2026

    Other languages:

    Förberedelser inför installationen

    i@nseo är webb baserad så du behöver först installera en så kallad AMP stack (Apache, MySQL, Php)


    Windows

    För att installera i@nseo i ett Windows system följer du dessa steg.

    • Ladda ner programmet från ianseo.net. Ladda med fördel ner den fulla versionen som innehåller och installerar XAMPP.
    • Packa upp filen i önskad katalog. Det är rekommenderat att packa upp den direkt under C:\, då katalogen ianseo kommer att hittas där.
    • Starta filen setup xampp.bat som finns i katalogen. Ett Terminal fönster kommer att öppnas. Om det finns något som behöver fixas med inställningarna så kommer två förinställda frågor att dyka upp. Du behöver bara trycka Enter. Om inget behöver ändras kommer det upp ett meddelande, "Nothing to do". Stäng sedan Terminalfönstret.

    Efter Installationen

    I Windows 11 Windows Defender bråkar ofta med XAMPP vilket resulterar i att i@nseo krashar.

    To avoid interferences between Windows Defender and XAMPP follow these steps[Win11 1]

    Step 1: Open Windows Security and go in "Protection against virus and malware"

    Step 1

    Step 2: At the bottom of the page click on Manage Exclusion

    Step 2

    Step 3: Insert which elements to exclude from the scan paying attention to upper and lower case:

    • Select folder to exclude:
      • C:\ianseo
    • File Types to exclude:
      • .mysql
      • .php
    • Processes to exclude (type exactly as written):
      • Apache HTTP Server
      • mysqld
      • xampp-control
    Step 3
    1. Arnaud Chalmel, Archers de Saint Loup

    To avoid interferences between Windows Defender and XAMPP follow these steps[Win11 1]

    Step 1: Open Windows Security and go in "Protection against virus and malware"

    Step 1

    Step 2: At the bottom of the page click on Manage Exclusion

    Step 2

    Step 3: Insert which elements to exclude from the scan paying attention to upper and lower case:

    • Select folder to exclude:
      • C:\ianseo
    • File Types to exclude:
      • .mysql
      • .php
    • Processes to exclude (type exactly as written):
      • Apache HTTP Server
      • mysqld
      • xampp-control
    Step 3
    1. Arnaud Chalmel, Archers de Saint Loup

    Starta XAMPP

    När allt är på plats, aktivera XAMPP genom att klicka på Xampp-control ikonen, i fönstret som öppnas nu, klickar du på ‘Start’ på både Apache och MySql.

    VARNING

    Om en varning dyker upp där det står att VCRUNTIME140.dll inte kunde hittas, installera då Senaste Microsoft Visual C++ Redistributable Version Vi rekomenderar x86 versionen. Om du är tveksam till vilken version du behöver, installera båda!

    Notera att, XAMPP control panel minimeras utan att tjänsten stängs av.

    Kontrollera att C:\ianseo\htdocs katalogen är world-writeable: högerklicka på katalogen, välj egenskaper och ändra behörigheterna så att alla får läs- och skrivbehörighet. Klicka även i att alla underliggande kataloger och filer ska ha samma.


    MacOs

    Vi har ingen installerare till Mac. AMP stacken behöver installeras separat.

    Nerladdning av XAMPP/MAMP

    Ladda ner XAMPP ([1]) eller MAMP ([2]) och följ instruktionerna för att installera.

    Choose the appropriate version if you're running an Intel processor or Apple Silicon.

    Run the installation program. This will install MAMP and a demo version of MAMP Pro. Ianseo only needs the functionality in MAMP so you do not need to purchase MAMP Pro unless you want to.

    After the installation, you will find a folder called MAMP in the Applications folder. Open this folder by double clicking on it and then start the MAMP application.

    Most of the standard values are sufficient for Ianseo, but a couple of adjustments need to be done first. Choose Preferences and then the Ports tab. Click the button “80 & 3306” to set MAMP to the default ports for web and MySQL.

    Ladda ner i@nseo

    Från ianseo.net laddar du ner en zip fil som du extraherar i katalogen htdocs i XAMPP eller MAMP (i Appar)

    For the purpose of the guide Ianseo will be installed in its own folder, called ianseo and the URL to access ianseo will be http://localhost/ianseo.

    • Open folder “/Applications/MAMP/htdocs”
    • Create a folder inside it and name it “ianseo” (all lower case, without quotes)
    • Uncompress the contents of the downloaded zip file inside the ianseo folder
    • IMPORTANT: Open the folder /Applications/MAMP/htdocs/ianseo/Common and delete the file config.inc.php (if it exists) to allow the installation procedure to start.
    • Open a terminal window (Applications -> Utilities -> Terminal)
    • Go to the MAMP folder by type the command below, including a space between cd and /, and press Enter:
       cd /Applications/MAMP/htdocs
    
    • Type the following command and press Enter. You will be asked the password of your user: enter it but remember that nothing will be displayed while typing, not even *.
       sudo chown -R nobody:admin ianseo
    
    • Type the following command and press Enter (again it can ask for the password):
       sudo chmod -R a+rwX ianseo
    

    Starting MAMP

    Start the MAMP application and then press the Start button. This will start the Apache web server and the MySQL database. You may be prompted to enter your password; enter it to continue.

    Once MAMP starts, your browser should automatically open to a Welcome to MAMP page showing the current version number.

    To start Ianseo, enter the address http://localhost/ianseo in a new tab. You will first need to agree to the License Agreement. Check the box and click on the I AGREE button.

    If this is a new installation, follow the onscreen instructions.

    During installation, MAMP does not set the MySQL root password, so when the installer will ask for it, leave it blank. The other fields can be left with default values. Click the Create user and database button to proceed.
    If the installation program displays an error message indicating that it could not connect to the database, enter “root” in the ADMIN Password to create users and databases fields and click the Create user and database button to try again.

    Once the database information is configured, you should see a message saying Ianseo is now installed on your system.

    Click on the link “Go to IANSEO!” to update your system to the latest version. This will automatically download the latest version of the software and update the language files. When this is finished you will see the message “The upgrade process is finished.”. Click the button to continue.


    Linux

    AMP stacken finns inbyggd i Linux (LAMP). Aktivera dem via "package manager" (du behöver ha admin behörighet). Tänk på att att i@nseo kommer att behöva php 8 eller senare.

    • apache2
    • mysql-server
    • mysql-client
    • php
    • php-mysql
    • php-gd
    • php-curl
    • imagemagick
    • php-imagick
    • php-xml
    • php-zip
    • php-intl
    • php-mbstring

    Skapa en användare för ianseo i MySQL server. Du kan göra det i modern debian derived distribution genom att kopiera och klistra in i terminalfönstret: sudo mysql -e "create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;create database ianseo;"

    Om du får ett felmeddelande om "missing password" så behöver du registrera ett lösenord för användaren ianseo. Du kommer inte att se lösenordet när du skriver in det, så glöm inte att trycka "enter" när du skrivit klart.

    sudo mysql -p -e "create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;create database ianseo;"
    

    Skapa katalogen /opt/ianseo och ställ in ägaren till ianseo. Ladda ner zip-filen från ianseo.net och extrahera i /opt/ianseo.

    Ställ in "world writeable permissions" för katalogen och underliggande filer och kataloger med följande kommando. sudo chmod -R a+rwX /opt/ianseo Kopiera konfigurationsfilen för Apache som du hittar i /opt/ianseo/Install/apache-ianseo.conf till /etc/apache2/conf-available och registrera ändringen i Apache genom att skriva: sudo cp /opt/ianseo/Install/apache-ianseo.conf /etc/apache2/conf-available

    sudo a2enconf apache-ianseo
    sudo service apache2 reload
    

    Sista steget i installationen av i@nseo

    Kontrollera så att det inte ligger en fil som heter config.inc.php i katalogen Common Finns den där så tar du bort den. Öppna en webläsare och skriv in http://localhost/ianseo

    Följ instruktionerna som kommer upp på skärmen.