Translating Instructions

Instructions

My Notes on translating Software Instructions from English to Arabic.

Guidelines

Here are some guidelines for writing simple technical instructions with translations to Arabic, along with some common issues with interpretation:

Keep sentences short and simple. Use short, concise sentences that are easy to read and understand. Avoid using complex or technical terms that may be difficult to translate accurately.

    Use active voice. Use active voice to make the instructions more clear and direct. Passive voice can be confusing and make it difficult for the reader to understand what actions to take.

    Provide visual aids. Include screenshots, diagrams, or other visual aids to supplement the instructions. Visual aids can help readers understand the steps more easily, even if they don’t understand the text.

    Avoid idiomatic expressions and slang. Avoid using idiomatic expressions or slang that may not translate well. Instead, use simple and clear language that is easy to understand.

    Check translations for accuracy. When translating to Arabic, make sure to check for accuracy and context. Arabic is a complex language with many dialects and nuances, so it’s important to ensure that the translations are clear and accurate.

    Consider cultural differences. Be aware of cultural differences that may affect the interpretation of the instructions. For example, gestures, symbols, or colours may have different meanings in different cultures, so it’s important to be sensitive to these differences.

    Common Issues

    Some common issues with interpretation when translating to Arabic include:

    Different dialects. Arabic is spoken in many countries and regions, each with their own dialects and variations. This can make it difficult to translate instructions that are universally understood.

    Right-to-left script. Arabic is written from right to left, which can be confusing for readers who are not used to this script.

    Different grammatical structures. Arabic has a different grammatical structure than English, which can make it difficult to translate sentences accurately.

    Cultural references. Some cultural references or idiomatic expressions may not translate well, or may require additional explanation to be understood by readers from different cultures.

      By following these guidelines and being aware of common issues with interpretation, you can create clear and effective technical instructions that are easily understood by readers in Arabic-speaking countries.

      Note: Arabic is a complex language with many dialects, so the pronunciation may vary depending on the dialect. The pronunciation provided here is a general guide based on Modern Standard Arabic. and has been generated using Computer based Translation Software.ย 

      Verbs

      Here is a table of some common verbs found in technical instructions for software.

      EnglishArabicPronunciation
      Downloadุชุญู…ูŠู„tahmeel
      InstallุชุซุจูŠุชtathbeet
      RunุชุดุบูŠู„tashghil
      Openูุชุญfath
      EditุชุนุฏูŠู„ta’adeel
      Saveุญูุธhifdh
      Closeุฅุบู„ุงู‚ighlaq
      ConfigureุชูƒูˆูŠู†takween
      Connectุงุชุตุงู„itisal
      SelectุงุฎุชูŠุงุฑikhtiyar
      Clickุงู„ู†ู‚ุฑan-niqr
      Typeูƒุชุงุจุฉkitabah
      Pressุงู„ุถุบุทadh-dhughth
      Enterุฅุฏุฎุงู„idkhal
      ConfirmุชุฃูƒูŠุฏta’keed
      ExitุฎุฑูˆุฌKhorooj
      Double-clickุงู†ู‚ุฑ ู…ุฒุฏูˆุฌู‹ุงEnqar muzdawjan
      Drag and dropุณุญุจ ูˆุฅูู„ุงุชSahb wa Iflat
      Copyู†ุณุฎNuskha
      Pasteู„ุตู‚Lasq
      UndoุชุฑุงุฌุนTaraajuh
      RedoุฅุนุงุฏุฉI’aadah
      Save asุญูุธ ุจุงุณู…Hifdh bism
      Zoom inุชูƒุจูŠุฑTakbir
      Zoom outุชุตุบูŠุฑTasghir

      Nouns

      Here is a table of some common nouns found in technical instructions for software.

      EnglishArabicPronunciation
      Softwareุจุฑู†ุงู…ุฌbarnamaj
      Installationุงู„ุชุซุจูŠุชaltathbeet
      Configurationุงู„ุชูƒูˆูŠู†altakween
      Databaseู‚ุงุนุฏุฉ ุงู„ุจูŠุงู†ุงุชqa’ida al-bayanat
      Fileู…ู„ูmalf
      Folderู…ุฌู„ุฏmajalad
      Directoryุฏู„ูŠู„dalil
      Userู…ุณุชุฎุฏู…mustakhdim
      Passwordูƒู„ู…ุฉ ุงู„ุณุฑkalimat al-sir
      Settingsุฅุนุฏุงุฏุงุชi’adadat
      Connectionุงุชุตุงู„itisal
      Buttonุฒุฑzar
      Menuุงู„ู‚ุงุฆู…ุฉal-qa’imah
      Errorุฎุทุฃkhata’
      Backupุงู„ู†ุณุฎ ุงู„ุงุญุชูŠุงุทูŠal-nuskhh al-ahtiyati

      Instructions

      Here is a table with some common technical phrases:

      EnglishArabicArabic Pronunciation
      Type your username and passwordูƒุชุงุจุฉ ุงุณู… ุงู„ู…ุณุชุฎุฏู… ูˆูƒู„ู…ุฉ ุงู„ุณุฑkitabah ism al-mustakhdim wakalimat al-sir
      Press Enter to continueุงู„ุถุบุท ุนู„ู‰ ุฅุฏุฎุงู„ ู„ู„ู…ุชุงุจุนุฉadh-dhughth ‘ala idkhal lilmutaba’ah
      Download the softwareุชุญู…ูŠู„ ุงู„ุจุฑู†ุงู…ุฌTahmeel al-barnamej
      Download the installerุชุญู…ูŠู„ ุงู„ู…ุซุจุชtahmeel al-muthbit
      Run the installerุชุดุบูŠู„ ุจุฑู†ุงู…ุฌ ุงู„ุชุซุจูŠุชTashghil barnamaj al-tathbit
      Run the setupุชุดุบูŠู„ ุงู„ุฅุนุฏุงุฏtashghil al-i’adad
      Select the desired optionุงุฎุชูŠุงุฑ ุงู„ุฎูŠุงุฑ ุงู„ู…ุทู„ูˆุจikhtiyar al-khiyar al-matlub
      Confirm your selectionุชุฃูƒูŠุฏ ุงู„ุงุฎุชูŠุงุฑ ุงู„ุฎุงุต ุจูƒta’keed al-ikhtiyar al-khas bik
      Click the OK buttonุงู„ู†ู‚ุฑ ููˆู‚ ุฒุฑ ู…ูˆุงูู‚an-niqr fawq zar muwafiq
      Open the command promptูุชุญ ู†ุงูุฐุฉ ุงู„ุฃูˆุงู…ุฑFatah nafidhat al-awaamir
      Edit the file config.xmlุชุญุฑูŠุฑ ู…ู„ู config.xmlTahreer mawdu’ config.xml
      Edit the configuration fileุชุนุฏูŠู„ ู…ู„ู ุงู„ุชูƒูˆูŠู†ta’adeel malf altakween
      Save the changesุญูุธ ุงู„ุชุบูŠูŠุฑุงุชHifdh al-taghyirat
      Restart the applicationุฅุนุงุฏุฉ ุชุดุบูŠู„ ุงู„ุชุทุจูŠู‚I’aadat tashghil al-tatbiq
      Check the log filesูุญุต ู…ู„ูุงุช ุงู„ุณุฌู„Fihis mawdu’at al-sijl
      Connect to the databaseุงู„ุงุชุตุงู„ ุจู‚ุงุนุฏุฉ ุงู„ุจูŠุงู†ุงุชal-itisal bi-qa’ida al-bayanat
      Configure the settingsุชูƒูˆูŠู† ุงู„ุฅุนุฏุงุฏุงุชTakwin al-ii’dadat
      Check for updatesุงู„ุชุญู‚ู‚ ู…ู† ุงู„ุชุญุฏูŠุซุงุชAltahqiq min al-tahdiyat
      Set up a backup planุฅุนุฏุงุฏ ุฎุทุฉ ุงู„ู†ุณุฎ ุงู„ุงุญุชูŠุงุทูŠI’adad khitah al-nuskhl al-ih’tiyathi
      Encrypt the dataุชุดููŠุฑ ุงู„ุจูŠุงู†ุงุชTashfiir al-bayaanat
      Troubleshoot the issueุงุณุชูƒุดุงู ุงู„ุฃุฎุทุงุก ูˆุฅุตู„ุงุญู‡ุงAstakshaf al-akhta’ wa-islahha
      Compile the source codeุชุฌู…ูŠุน ุงู„ุดูุฑุฉ ุงู„ู…ุตุฏุฑูŠุฉTajmi’ al-shifrah al-musadarih

      Simple Instruction Set

      Sure, here’s an example table for an instructions to download, install, configure, and run software.

      EnglishArabicPronunciation
      Download the software installer from the official websiteุญู…ู‘ู„ ู…ุซุจู‘ุช ุงู„ุจุฑู†ุงู…ุฌ ู…ู† ุงู„ู…ูˆู‚ุน ุงู„ุฑุณู…ูŠhamal muthbit al-barnamaj min al-mawqi’ al-rasmi
      Run the installer and follow the prompts to install the softwareุดุบู‘ู„ ุงู„ู…ุซุจู‘ุช ูˆุงุชุจุน ุงู„ุชุนู„ูŠู…ุงุช ู„ุชุซุจูŠุช ุงู„ุจุฑู†ุงู…ุฌshaghhal al-muthbit watba’ al-ta’limat litthabit al-barnamaj
      Configure the software settings as neededุงุถุจุท ุฅุนุฏุงุฏุงุช ุงู„ุจุฑู†ุงู…ุฌ ุญุณุจ ุงู„ุญุงุฌุฉadbut i’adadat al-barnamaj hasib al-haja
      Run the software and verify that it is working correctlyู‚ู… ุจุชุดุบูŠู„ ุงู„ุจุฑู†ุงู…ุฌ ูˆุชุฃูƒุฏ ู…ู† ุนู…ู„ู‡ ุจุดูƒู„ ุตุญูŠุญqum bishghil al-barnamaj watakid min ‘amalihi bishakl sahih

      This is just an example set of instructions and may not be applicable to all software. It’s important to always refer to the specific software documentation for accurate instructions.

      Step by Step Instructions

      Here are detailed instructions to open Microsoft Notepad, find a text file, open the file, edit the file, print the file, save the file, then close Notepad.

      ู‡ู†ุง ุชุนู„ูŠู…ุงุช ู…ูุตู„ุฉ ู„ูุชุญ ุจุฑู†ุงู…ุฌ ู…ุงูŠูƒุฑูˆุณูˆูุช ู†ูˆุชุจุงุฏุŒ ุงู„ุจุญุซ ุนู† ู…ู„ู ู†ุตูŠุŒ ูุชุญ ุงู„ู…ู„ูุŒ ุชุญุฑูŠุฑ ุงู„ู…ู„ูุŒ ุทุจุงุนุฉ ุงู„ู…ู„ูุŒ ุญูุธ ุงู„ู…ู„ูุŒ ุซู… ุฅุบู„ุงู‚ ุงู„ุจุฑู†ุงู…ุฌ.

      Huna ta’leemat mufassalah li’fath braunamaj maykrosawft notepad, albahth ean mawafiq nasy, fatah almilaf, taharir almilaf, taba’a almilaf, hifdh almilaf, thumma ‘ighlaq albarnamej.

      #EnglishArabicPronunciation
      1Click the “Start” button in the bottom left corner of the screenุงู†ู‚ุฑ ุนู„ู‰ ุฒุฑ “ุงุจุฏุฃ” ููŠ ุงู„ุฒุงูˆูŠุฉ ุงู„ุณูู„ู‰ ุงู„ูŠุณุฑู‰ ู…ู† ุงู„ุดุงุดุฉinqur ‘ala zar “abda’” fi al-zawiyah al-saflya al-yusra min al-shasha
      2Type “Notepad” in the search boxุงูƒุชุจ “ู…ููƒุฑุฉ” ููŠ ู…ุฑุจุน ุงู„ุจุญุซaktub “mufakkirah” fi murabbi’ al-bahth
      3Click on “Notepad” in the search resultsุงู†ู‚ุฑ ุนู„ู‰ “ู…ููƒุฑุฉ” ููŠ ู†ุชุงุฆุฌ ุงู„ุจุญุซinqur ‘ala “mufakkirah” fi nata’ij al-bahth
      4Click “File” in the top left corner of the Notepad windowุงู†ู‚ุฑ ุนู„ู‰ “ู…ู„ู” ููŠ ุงู„ุฒุงูˆูŠุฉ ุงู„ูŠุณุฑู‰ ุงู„ุนู„ูˆูŠุฉ ู…ู† ู†ุงูุฐุฉ ุงู„ู…ููƒุฑุฉinqur ‘ala “malf” fi al-zawiyah al-yusra al-‘ulya min nafidhat al-mufakkirah
      5Click “Open” in the drop-down menuุงู†ู‚ุฑ ุนู„ู‰ “ูุชุญ” ููŠ ุงู„ู‚ุงุฆู…ุฉ ุงู„ู…ู†ุณุฏู„ุฉinqur ‘ala “ftah” fi al-qa’imah al-munsadilah
      6Navigate to the folder containing the text fileุงู†ุชู‚ู„ ุฅู„ู‰ ุงู„ู…ุฌู„ุฏ ุงู„ุฐูŠ ูŠุญุชูˆูŠ ุนู„ู‰ ุงู„ู…ู„ู ุงู„ู†ุตูŠintiqal ‘ila al-majalad alladhi yahutu ‘ala al-malf al-nassiy
      7Click on the text file to select itุงู†ู‚ุฑ ุนู„ู‰ ุงู„ู…ู„ู ุงู„ู†ุตูŠ ู„ุชุญุฏูŠุฏู‡inqur ‘ala al-malf al-nassiy li-tahdidih
      8Click “Open” to open the file in Notepadุงู†ู‚ุฑ ุนู„ู‰ “ูุชุญ” ู„ูุชุญ ุงู„ู…ู„ู ููŠ ุงู„ู…ููƒุฑุฉinqur ‘ala “ftah” li-ftah al-malf fi al-mufakkirah
      9Edit the text file as neededุนุฏู‘ู„ ุงู„ู…ู„ู ุงู„ู†ุตูŠ ุญุณุจ ุงู„ุญุงุฌุฉ‘addil al-malf al-nassiy hasib al-haja
      10Click “File” in the top left corner of the Notepad windowุงู†ู‚ุฑ ุนู„ู‰ “ู…ู„ู” ููŠ ุงู„ุฒุงูˆูŠุฉ ุงู„ูŠุณุฑู‰ ุงู„ุนู„ูˆูŠุฉ ู…ู† ู†ุงูุฐุฉ ุงู„ู…ููƒุฑุฉinqur ‘ala “malf” fi al-zawiyah al-yusra al-‘ulya min nafidhat al-mufakkirah
      11Click “Print” in the drop-down menuุงู†ู‚ุฑ ุนู„ู‰ “ุทุจุงุนุฉ” ููŠ ุงู„ู‚ุงุฆู…ุฉ ุงู„ู…ู†ุณุฏู„ุฉinqur ‘ala “taba’a” fi al-qa’imah al-munsadilah
      12Click on “File” menuุงู†ู‚ุฑ ุนู„ู‰ ู‚ุงุฆู…ุฉ “ู…ู„ู”Anqur ‘ala qayimat “milf”
      13Click on “Save” optionุงู†ู‚ุฑ ุนู„ู‰ ุฎูŠุงุฑ “ุญูุธ”Anqur ‘ala khiyar “hifz”
      14Type in a name for the fileุงูƒุชุจ ุงุณู…ู‹ุง ู„ู„ู…ู„ูAktub isman lilmilf
      15Choose the location to save the fileุงุฎุชุฑ ู…ูƒุงู†ู‹ุง ู„ุญูุธ ุงู„ู…ู„ูIkhtarr makanan lihifz almilf
      16Click on “Save” button to save the changesุงู†ู‚ุฑ ุนู„ู‰ ุฒุฑ “ุญูุธ” ู„ุญูุธ ุงู„ุชุบูŠูŠุฑุงุชAnqur ‘ala zarr “hifz” lihifz altaghayyurat
      17Click on “File” menu and then “Exit”ุงู†ู‚ุฑ ุนู„ู‰ ู‚ุงุฆู…ุฉ “ู…ู„ู” ุซู… “ุฎุฑูˆุฌ” ู„ุฅุบู„ุงู‚ ุงู„ู†ูˆุชุจุงุฏ ูˆุญูุธ ุงู„ุชุบูŠูŠุฑุงุชAnqur ‘ala qayimat “milf” thumma “kharuj” li’ighlaq alnotbadd wa hifz altaghayyurat

      Assuming the users are familiar with Microsoft Notepad, This could be simplified:

      EnglishArabicPronunciation
      Open Notepadุงูุชุญ ุงู„ู…ููƒุฑุฉiftah al-mufakkirah
      Edit the text file as neededุนุฏู‘ู„ ุงู„ู…ู„ู ุงู„ู†ุตู‘ูŠ ุญุณุจ ุงู„ุญุงุฌุฉ‘addil al-malf al-nassiy hasib al-haja
      Print the text fileุงุทุจุน ุงู„ู…ู„ู ุงู„ู†ุตู‘ูŠa’tab’ al-malf al-nassiy
      Save the text file with a new name or overwrite the existing fileุงุญูุธ ุงู„ู…ู„ู ุงู„ู†ุตู‘ูŠ ุจุฃุณู… ุฌุฏูŠุฏ ุฃูˆ ุงูƒุชุจ ููˆู‚ ุงู„ู…ู„ู ุงู„ุญุงู„ูŠahfadh al-malf al-nassiy bi-ism jadid ‘aw aktib fawq al-malf al-hali

      Note: This is just an example set of instructions and may not be applicable to all text editors. It’s important to always refer to the specific software documentation for accurate instructions.

      ู…ู„ุญูˆุธุฉ: ู‡ุฐุง ู…ุฌุฑุฏ ู…ุซุงู„ ู„ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ุชุนู„ูŠู…ุงุช ูˆู‚ุฏ ู„ุง ูŠู†ุทุจู‚ ุนู„ู‰ ุฌู…ูŠุน ู…ุญุฑุฑุงุช ุงู„ู†ุตูˆุต. ู…ู† ุงู„ู…ู‡ู… ุงู„ุฑุฌูˆุน ุฏุงุฆู…ู‹ุง ุฅู„ู‰ ูˆุซุงุฆู‚ ุงู„ุจุฑุงู…ุฌ ุงู„ู…ุญุฏุฏุฉ ู„ู„ุญุตูˆู„ ุนู„ู‰ ุชุนู„ูŠู…ุงุช ุฏู‚ูŠู‚ุฉ.

      Milhawzah: Hatha majrud mathal limajmuat min altaelimat waqad la yantabiq ‘ala jamiee muharrirat alnusus. Min almuhim alrrujoue dayman ‘iilaa wathaeiq albiramij almuhadadah lilihsool ealaa taaleemat daqieqah.

      Install Tomcat Middleware

      ุชุซุจูŠุช Tomcat

      Here are the instructions the JDK, Apache Tomcat, and the App application, and connecting to an Oracle database presented as steps in a table with Arabic and English:

      ุงู„ุฎุทูˆุฉ ุงู„ุฅุฌุฑุงุก ุงู„ุฅุฌุฑุงุก ุจุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ
      1 ุชุซุจูŠุช JDK Install JDK
      2 ุชุซุจูŠุช Apache Tomcat Install Apache Tomcat
      3 ุชุซุจูŠุช ุชุทุจูŠู‚ COTS Install COTS Application
      4 ุงู„ุงุชุตุงู„ ุจู‚ุงุนุฏุฉ ุจูŠุงู†ุงุช Oracle Connect to Oracle Database

      ุชุซุจูŠุช JDK

      1. ูŠุฑุฌู‰ ุชู†ุฒูŠู„ JDK ู…ู† ุงู„ู…ูˆู‚ุน ุงู„ุฑุณู…ูŠ ู„ุฌุงูุง.
      2. ุจุนุฏ ุชู†ุฒูŠู„ ู…ู„ู ุงู„ุชุซุจูŠุชุŒ ุงู†ู‚ุฑ ู†ู‚ุฑุงู‹ ู…ุฒุฏูˆุฌุงู‹ ุนู„ูŠู‡ ู„ุจุฏุก ุนู…ู„ูŠุฉ ุงู„ุชุซุจูŠุช.
      3. ูŠุฑุฌู‰ ุงุชุจุงุน ุงู„ุชุนู„ูŠู…ุงุช ุนู„ู‰ ุงู„ุดุงุดุฉ ู„ุฅูƒู…ุงู„ ุนู…ู„ูŠุฉ ุงู„ุชุซุจูŠุช.
      4. ุจุนุฏ ุงูƒุชู…ุงู„ ุงู„ุชุซุจูŠุชุŒ ูŠุฑุฌู‰ ุงู„ุชุญู‚ู‚ ู…ู† ุชุซุจูŠุช JDK ุนู† ุทุฑูŠู‚ ูุชุญ ู…ูˆุฌู‡ ุงู„ุฃูˆุงู…ุฑ ูˆูƒุชุงุจุฉ "java -version" ูˆุงู„ุถุบุท ุนู„ู‰ ุฒุฑ Enter. ุณูŠุชู… ุนุฑุถ ุฅุตุฏุงุฑ JDK ุงู„ู…ุซุจุช.

      Install JDK

      1. Download JDK from the official Java website.
      2. After downloading the installation file, double-click on it to start the installation process.
      3. Follow the on-screen instructions to complete the installation process.
      4. After installation is complete, verify that JDK is installed by opening the command prompt and typing "java -version" and pressing Enter. The installed JDK version will be displayed.

      ุชุซุจูŠุช Apache Tomcat

      1. ูŠุฑุฌู‰ ุชู†ุฒูŠู„ Apache Tomcat ู…ู† ู…ูˆู‚ุนู‡ ุงู„ุฑุณู…ูŠ.
      2. ุจุนุฏ ุชู†ุฒูŠู„ ู…ู„ู ุงู„ุชุซุจูŠุชุŒ ุงู†ู‚ุฑ ู†ู‚ุฑุงู‹ ู…ุฒุฏูˆุฌุงู‹ ุนู„ูŠู‡ ู„ุจุฏุก ุนู…ู„ูŠุฉ ุงู„ุชุซุจูŠุช.
      3. ูŠุฑุฌู‰ ุงุชุจุงุน ุงู„ุชุนู„ูŠู…ุงุช ุนู„ู‰ ุงู„ุดุงุดุฉ ู„ุฅูƒู…ุงู„ ุนู…ู„ูŠุฉ ุงู„ุชุซุจูŠุช.
      4. ุจุนุฏ ุงูƒุชู…ุงู„ ุงู„ุชุซุจูŠุชุŒ ูŠุฑุฌู‰ ุงู„ุชุญู‚ู‚ ู…ู† ุชุซุจูŠุช Apache Tomcat ุนู† ุทุฑูŠู‚ ูุชุญ ู…ุชุตูุญ ุงู„ูˆูŠุจ ูˆูƒุชุงุจุฉ "localhost:8080" ููŠ ุดุฑูŠุท ุงู„ุนู†ูˆุงู†. ุณูŠุชู… ุนุฑุถ ุตูุญุฉ ุงูุชุฑุงุถูŠุฉ ู„ู€ Apache Tomcat.

      Install Apache Tomcat

      1. Download Apache Tomcat from its official website.
      2. After downloading the installation file, double-click on it to start the installation process.
      3. Follow the on-screen instructions to complete the installation process.
      4. After installation is complete, verify that Apache Tomcat is installed

      Here are the additional steps for configuring Tomcat to connect to an Oracle database.

      ุงู„ุฎุทูˆุฉ ุงู„ุฅุฌุฑุงุก ุงู„ุฅุฌุฑุงุก ุจุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ
      1 ุฅุถุงูุฉ ู…ูƒุชุจุฉ Oracle JDBC Add Oracle JDBC Library
      2 ุฅุนุฏุงุฏ ู…ู„ู context.xml Configure context.xml File

      ุฅุถุงูุฉ ู…ูƒุชุจุฉ Oracle JDBC

      1. ูŠุฑุฌู‰ ุชู†ุฒูŠู„ ู…ูƒุชุจุฉ Oracle JDBC ู…ู† ู…ูˆู‚ุน Oracle.
      2. ู‚ู… ุจููƒ ุงู„ุถุบุท ุนู† ู…ู„ู ุงู„ุชุญู…ูŠู„ ูˆู‚ู… ุจู†ุณุฎ ู…ู„ู "ojdbc6.jar" ุฅู„ู‰ ู…ุฌู„ุฏ "lib" ููŠ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฑุฆูŠุณูŠ ู„ู€ Tomcat.

      Add Oracle JDBC Library

      1. Download the Oracle JDBC library from the Oracle website.
      2. Unzip the downloaded file and copy the "ojdbc6.jar" file to the "lib" folder in the main installation folder of Tomcat.

      ุฅุนุฏุงุฏ ู…ู„ู context.xml

      1. ููŠ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฑุฆูŠุณูŠ ู„ู€ TomcatุŒ ุงูุชุญ ู…ุฌู„ุฏ "conf" ูˆุงุจุญุซ ุนู† ู…ู„ู "context.xml".
      2. ู‚ู… ุจูุชุญ ุงู„ู…ู„ู ุจุงุณุชุฎุฏุงู… ุฃูŠ ู…ุญุฑุฑ ู†ุตูˆุต ูˆุฃุถู ุงู„ุฅุนุฏุงุฏุงุช ุงู„ุชุงู„ูŠุฉ:
      <Resource name="jdbc/myoracle" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@localhost:1521:XE" username="your_username" password="your_password" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
      
      1. ู‚ู… ุจุชุนุฏูŠู„ ุงู„ู…ุนู„ูˆู…ุงุช ููŠ ุงู„ุฅุนุฏุงุฏุงุช ู„ุชู†ุงุณุจ ู‚ุงุนุฏุฉ ุจูŠุงู†ุงุช Oracle ุงู„ุฎุงุตุฉ ุจูƒ.
      2. ุญูุธ ุงู„ู…ู„ู ูˆุฅุนุงุฏุฉ ุชุดุบูŠู„ Tomcat ู„ุชูุนูŠู„ ุงู„ุชุบูŠูŠุฑุงุช.

      Configure context.xml File

      1. In the main installation folder of Tomcat, open the "conf" folder and find the "context.xml" file.
      2. Open the file using any text editor and add the following settings:
      <Resource name="jdbc/myoracle" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@localhost:1521:XE" username="your_username" password="your_password" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
      
      1. Modify the information in the settings to match your Oracle database.
      2. Save the file and restart Tomcat to activate the changes.

      Web Server

      Here are the additional steps for configuring Tomcat to act as a web server.

      ุงู„ุฎุทูˆุฉ ุงู„ุฅุฌุฑุงุก ุงู„ุฅุฌุฑุงุก ุจุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ
      1 ุชุญุฏูŠุฏ ู…ู„ู ุงู„ุตูุญุฉ ุงู„ุฑุฆูŠุณูŠุฉ Specify Home Page File
      2 ุฅุนุฏุงุฏ ู…ู„ู web.xml Configure web.xml File
      3 ุฅุนุฏุงุฏ ู…ู„ู server.xml Configure server.xml File

      ุชุญุฏูŠุฏ ู…ู„ู ุงู„ุตูุญุฉ ุงู„ุฑุฆูŠุณูŠุฉ

      1. ููŠ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฑุฆูŠุณูŠ ู„ู€ TomcatุŒ ุงูุชุญ ู…ุฌู„ุฏ "conf" ูˆุงุจุญุซ ุนู† ู…ู„ู "web.xml".
      2. ุงุจุญุซ ุนู† ุงู„ุฅุฏุฎุงู„ ุงู„ู…ุณู…ู‰ "welcome-file-list" ูˆุฃุถู ุงุณู… ุงู„ู…ู„ู ุงู„ุฐูŠ ุชุฑูŠุฏ ุงุณุชุฎุฏุงู…ู‡ ูƒุตูุญุฉ ุฑุฆูŠุณูŠุฉ.

      Specify Home Page File

      1. In the main installation folder of Tomcat, open the "conf" folder and find the "web.xml" file.
      2. Look for the entry named "welcome-file-list" and add the name of the file you want to use as the home page.

      ุฅุนุฏุงุฏ ู…ู„ู web.xml

      1. ููŠ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฑุฆูŠุณูŠ ู„ู€ TomcatุŒ ุงูุชุญ ู…ุฌู„ุฏ "conf" ูˆุงุจุญุซ ุนู† ู…ู„ู "web.xml".
      2. ุงุจุญุซ ุนู† ุงู„ุฅุฏุฎุงู„ ุงู„ู…ุณู…ู‰ "servlet-mapping" ูˆุฃุถู ุงู„ุฅุนุฏุงุฏุงุช ุงู„ุชุงู„ูŠุฉ:
      <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
      
      1. ู‡ุฐุง ุงู„ุฅุนุฏุงุฏ ูŠู…ูƒู† ุงู„ู…ุณุชุฎุฏู…ูŠู† ู…ู† ุงู„ูˆุตูˆู„ ุฅู„ู‰ ุฃูŠ ู…ู„ูุงุช HTML ุนู† ุทุฑูŠู‚ URL.

      Configure web.xml File

      1. In the main installation folder of Tomcat, open the "conf" folder and find the "web.xml" file.
      2. Look for the entry named "servlet-mapping" and add the following settings:
      <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
      
      1. This setting allows users to access any HTML files via URL.

      ุฅุนุฏุงุฏ ู…ู„ู server.xml

      1. ููŠ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฑุฆูŠุณูŠ ู„ู€ TomcatุŒ ุงูุชุญ ู…ุฌู„ุฏ "conf" ูˆุงุจุญุซ ุนู† ู…ู„ู "server.xml".
      2. ุงุจุญุซ ุนู† ุงู„ุฅุฏุฎุงู„ ุงู„ู…ุณู…ู‰ "Connector" ูˆุฃุถู ุงู„ุฅุนุฏุงุฏุงุช ุงู„ุชุงู„ูŠุฉ:
      <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
      
      1. ู‡ุฐุง ุงู„ุฅุนุฏุงุฏ ูŠุนูŠุฏ ุชูˆุฌูŠู‡ ุฃูŠ ุทู„ุจุงุช HTTP ุงู„ูˆุงุฑ

      Install App

      Here are the additional steps for adding and starting the application "myApp.war".

      ุงู„ุฎุทูˆุฉ ุงู„ุฅุฌุฑุงุก ุงู„ุฅุฌุฑุงุก ุจุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ
      1 ู†ุณุฎ ู…ู„ู myApp.war Copy myApp.war File
      2 ุฅุถุงูุฉ myApp.war ุฅู„ู‰ ู…ุฌู„ุฏ webapps Add myApp.war to webapps Folder
      3 ุฅุนุงุฏุฉ ุชุดุบูŠู„ Tomcat Restart Tomcat

      ู†ุณุฎ ู…ู„ู myApp.war

      1. ู‚ู… ุจู†ุณุฎ ู…ู„ู "myApp.war" ุฅู„ู‰ ู…ุฌู„ุฏ ู…ุคู‚ุช ููŠ ุฌู‡ุงุฒ ุงู„ูƒู…ุจูŠูˆุชุฑ ุงู„ุฎุงุต ุจูƒ.

      Copy myApp.war File

      1. Copy the "myApp.war" file to a temporary folder on your computer.

      ุฅุถุงูุฉ myApp.war ุฅู„ู‰ ู…ุฌู„ุฏ webapps

      1. ุงู†ุชู‚ู„ ุฅู„ู‰ ู…ุฌู„ุฏ "webapps" ููŠ ู…ุฌู„ุฏ ุชุซุจูŠุช Tomcat.
      2. ู‚ู… ุจู†ู‚ู„ ู…ู„ู "myApp.war" ุงู„ุฐูŠ ู‚ู…ุช ุจู†ุณุฎู‡ ุฅู„ู‰ ู‡ุฐุง ุงู„ู…ุฌู„ุฏ.
      3. ุณูŠู‚ูˆู… Tomcat ุชู„ู‚ุงุฆูŠู‹ุง ุจููƒ ุถุบุท ู…ู„ู "myApp.war" ูˆู†ุดุฑ ุชุทุจูŠู‚ "myApp".

      Add myApp.war to webapps Folder

      1. Navigate to the "webapps" folder in the Tomcat installation directory.
      2. Move the "myApp.war" file you copied to this folder.
      3. Tomcat will automatically extract the "myApp.war" file and deploy the "myApp" application.

      ุฅุนุงุฏุฉ ุชุดุบูŠู„ Tomcat

      1. ู‚ู… ุจุฅุนุงุฏุฉ ุชุดุบูŠู„ Tomcat ู„ุชุญู…ูŠู„ ุงู„ุชุทุจูŠู‚ ุงู„ุฌุฏูŠุฏ.

      Restart Tomcat

      1. Restart Tomcat to load the new application.

      Here are the steps to make Tomcat start as a service on Microsoft Windows.

      ุงู„ุฎุทูˆุฉ ุงู„ุฅุฌุฑุงุก ุงู„ุฅุฌุฑุงุก ุจุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ
      1 ุงูุชุญ ู†ุงูุฐุฉ ุงู„ุฃูˆุงู…ุฑ Open Command Prompt
      2 ุงู†ุชู‚ู„ ุฅู„ู‰ ู…ุฌู„ุฏ ุงู„ุฎุงุฏู… Tomcat Navigate to Tomcat Server Directory
      3 ู‚ู… ุจุชุดุบูŠู„ ุงู„ุฃู…ุฑ "service.bat install" Run "service.bat install" Command
      4 ู‚ู… ุจุชุดุบูŠู„ ุงู„ุฎุฏู…ุฉ ู…ู† ู„ูˆุญุฉ ุงู„ุชุญูƒู… Start the Service from Control Panel

      ุงูุชุญ ู†ุงูุฐุฉ ุงู„ุฃูˆุงู…ุฑ

      1. ุงูุชุญ ู†ุงูุฐุฉ ุงู„ุฃูˆุงู…ุฑ "Command Prompt" ููŠ ู†ุธุงู… ุงู„ุชุดุบูŠู„ Windows.

      Open Command Prompt

      1. Open the "Command Prompt" window in the Windows operating system.

      ุงู†ุชู‚ู„ ุฅู„ู‰ ู…ุฌู„ุฏ ุงู„ุฎุงุฏู… Tomcat

      1. ู‚ู… ุจูุชุญ ู†ุงูุฐุฉ ุงู„ุฃูˆุงู…ุฑ.
      2. ุงู†ุชู‚ู„ ุฅู„ู‰ ู…ุฌู„ุฏ ุงู„ุฎุงุฏู… Tomcat ุจุงุณุชุฎุฏุงู… ุงู„ุฃู…ุฑ "cd". ู…ุซุงู„:
      cd C:\apache-tomcat-9.0.50\bin
      

      Navigate to Tomcat Server Directory

      1. Open the Command Prompt window.
      2. Navigate to the Tomcat server directory using the "cd" command. Example:
      cd C:\apache-tomcat-9.0.50\bin
      

      ู‚ู… ุจุชุดุบูŠู„ ุงู„ุฃู…ุฑ "service.bat install"

      1. ู‚ู… ุจุชุดุบูŠู„ ุงู„ุฃู…ุฑ "service.bat install".
      2. ุณุชุธู‡ุฑ ุฑุณุงู„ุฉ ุชุฃูƒูŠุฏ. ุงู†ุชุธุฑ ุญุชู‰ ูŠุชู… ุชุซุจูŠุช ุงู„ุฎุฏู…ุฉ.

      Run "service.bat install" Command

      1. Run the "service.bat install" command.
      2. A confirmation message will appear. Wait until the service is installed.

      ู‚ู… ุจุชุดุบูŠู„ ุงู„ุฎุฏู…ุฉ ู…ู† ู„ูˆุญุฉ ุงู„ุชุญูƒู…

      1. ู‚ู… ุจุงู„ุถุบุท ุนู„ู‰ ุฒุฑ "ุจุฏุก ุงู„ุชุดุบูŠู„" ููŠ Windows.
      2. ุงุจุญุซ ุนู† "ุฎุฏู…ุงุช" ูˆุงูุชุญู‡ุง.
      3. ุงุจุญุซ ุนู† "Apache Tomcat" ูˆู‚ู… ุจุงู„ู†ู‚ุฑ ููˆู‚ "ุชุดุบูŠู„".

      Start the Service from Control Panel

      1. Click the "Start" button in Windows.
      2. Search for "Services" and open it.
      3. Look for "Apache Tomcat" and click "Start".

      Install OracleXE Database

      ุงู„ุฎุทูˆุฉ Instruction ุงู„ุชุนู„ูŠู…ุงุช
      1 Download the appropriate version of OracleXE for your Windows operating system from the OracleXE download page. ุญู…ู„ ุงู„ุฅุตุฏุงุฑ ุงู„ู…ู†ุงุณุจ ู…ู† OracleXE ู„ู†ุธุงู… ุงู„ุชุดุบูŠู„ Windows ุงู„ุฎุงุต ุจูƒ ู…ู† ุตูุญุฉ ุชู†ุฒูŠู„ OracleXE.
      2 Run the OracleXE installer and follow the prompts to install OracleXE on your computer. ู‚ู… ุจุชุดุบูŠู„ ู…ู„ู ุงู„ุชุซุจูŠุช ุงู„ุฎุงุต ุจู€ OracleXE ูˆุงุชุจุน ุงู„ุชุนู„ูŠู…ุงุช ู„ุชุซุจูŠุช OracleXE ุนู„ู‰ ุฌู‡ุงุฒ ุงู„ูƒู…ุจูŠูˆุชุฑ ุงู„ุฎุงุต ุจูƒ.
      3 During the installation process, create an SA account and password. ุฎู„ุงู„ ุนู…ู„ูŠุฉ ุงู„ุชุซุจูŠุชุŒ ุฃู†ุดุฆ ุญุณุงุจ SA ูˆูƒู„ู…ุฉ ู…ุฑูˆุฑ.
      4 Once installation is complete, open the OracleXE command prompt. ุจู…ุฌุฑุฏ ุงู„ุงู†ุชู‡ุงุก ู…ู† ุงู„ุชุซุจูŠุชุŒ ุงูุชุญ ุณุทุฑ ุฃูˆุงู…ุฑ OracleXE.
      5 Enter your SA username and password when prompted. ุฃุฏุฎู„ ุงุณู… ุงู„ู…ุณุชุฎุฏู… ูˆูƒู„ู…ุฉ ุงู„ู…ุฑูˆุฑ ุงู„ุฎุงุตุฉ ุจุญุณุงุจ SA ุนู†ุฏู…ุง ูŠุชู… ุทู„ุจู‡ุง.
      6 In the command prompt, create a new user for MyApp and grant the necessary permissions. ููŠ ุณุทุฑ ุงู„ุฃูˆุงู…ุฑุŒ ุฃู†ุดุฆ ู…ุณุชุฎุฏู…ู‹ุง ุฌุฏูŠุฏู‹ุง ู„ู€ MyApp ูˆุงู…ู†ุญ ุงู„ุฃุฐูˆู†ุงุช ุงู„ู„ุงุฒู…ุฉ.
      7 Open a new command prompt and navigate to the PSQL installation directory. ุงูุชุญ ุณุทุฑ ุฃูˆุงู…ุฑ ุฌุฏูŠุฏ ูˆุงู†ุชู‚ู„ ุฅู„ู‰ ู…ุฌู„ุฏ ุงู„ุชุซุจูŠุช ุงู„ุฎุงุต ุจู€ PSQL.
      8 Run the PSQL command-line tool and connect to OracleXE. ู‚ู… ุจุชุดุบูŠู„ ุฃุฏุงุฉ ุณุทุฑ ุงู„ุฃูˆุงู…ุฑ PSQL ูˆุงุณุชุฎุฏู…ู‡ุง ู„ู„ุงุชุตุงู„ ุจู€ OracleXE.
      9 In PSQL, run the MyApp.sql script to create the database and tables. ููŠ PSQLุŒ ู‚ู… ุจุชุดุบูŠู„ ู…ู„ู MyApp.sql ู„ุฅู†ุดุงุก ู‚ุงุนุฏุฉ ุงู„ุจูŠุงู†ุงุช ูˆุงู„ุฌุฏุงูˆู„.
      10 Check that the MyApp user can logon to the MyApp database. ุชุญู‚ู‚ ู…ู† ุฃู† ุงู„ู…ุณุชุฎุฏู… ุงู„ุฎุงุต ุจู€ MyApp ูŠู…ูƒู†ู‡ ุชุณุฌูŠู„ ุงู„ุฏุฎูˆู„ ุฅู„ู‰ ู‚ุงุนุฏุฉ ุจูŠุงู†ุงุช MyApp.

      Note: some problem with markdown formatting in this this version – fixup to follow.