0708.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install UVdesk on Linux [Opensource Helpdesk Ticketing System]</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Open Source Helpdesk,Free Helpdesk,Ticketing System,FOSS,UVdesk Open Source Helpdesk,Enterprise Helpdesk,Open Source,Linux,Debian,Open Source Software,UVdesk,UV Desk,Help Desk,Helpdesk,Support,Ticket,IT Ticketing System,PHP Based Ticketing System,Open Source Helpdesk System,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install UVdesk on Linux [Opensource Helpdesk Ticketing System]">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/03/2022 01:10:40 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install UVdesk on Linux [Opensource Helpdesk Ticketing System]</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is UVdesk?</h2>
  26. <blockquote><em>Build on top of symfony and backbone.js, uvdesk community is a service oriented, event driven extensible opensource helpdesk system that can be used by your organization to provide efficient support to your clients effortlessly whichever way you imagine. -<a href="https://github.com/uvdesk/community-skeleton#about" target="_blank">https://github.com/uvdesk/community-skeleton#about</a></em></blockquote>
  27. <h2>Installation</h2>
  28. <ol>
  29. <li>Log into the Linux device</li>
  30. <li>Run the following commands in a terminal window:
  31. <div class="codeBlock"># update software respositories<br />
  32. sudo apt update<br />
  33. # install available software updates<br />
  34. sudo apt upgrade -y<br />
  35. # install prerequisites<br />
  36. sudo apt install curl wget zip composer -y<br />
  37. # install Apache HTTPD and MySQL<br />
  38. sudo apt install apache2 mariadb-server mariadb-client -y<br />
  39. # install PHP components<br />
  40. sudo apt install php7.4 php7.4-curl php7.4-intl php7.4-gd php7.4-dom php7.4-iconv php7.4-xsl php7.4-mbstring php7.4-ctype php7.4-zip php7.4-pdo php7.4-xml php7.4-bz2 php7.4-calendar php7.4-exif php7.4-fileinfo php7.4-json php7.4-mysqli php7.4-mysql php7.4-posix php7.4-tokenizer php7.4-xmlwriter php7.4-xmlreader php7.4-phar php7.4-soap php7.4-mysql php7.4-fpm libapache2-mod-php7.4 php7.4-gmp php7.4-bcmath php7.4-apcu php7.4-redis php7.4-imagick php7.4-imap php7.4-xdebug php7.4-mailparse -y<br />
  41. # configure the MySQL database<br />
  42. sudo su<br />
  43. mysql_secure_installation</div>
  44. </li>
  45. <li>Press Enter to login as root</li>
  46. <li>Type N and press Enter to not switch to unix socket authentication</li>
  47. <li>Type Y and press Enter to set a root password, type the password twice to confirm</li>
  48. <li>Type Y and press Enter to remove anonymous users</li>
  49. <li>Type Y and press Enter to disallow root login remotely</li>
  50. <li>Type Y and press Enter to remove the test database</li>
  51. <li>Type Y and press Enter to reload privilege tables</li>
  52. <li>Run the following command to login into MySQL:
  53. <div class="codeBlock">mysql -u root -p</div>
  54. </li>
  55. <li>Authenticate with the root password set earlier</li>
  56. <li>Run the following commands to create the UVdesk database and database user
  57. <div class="codeBlock">CREATE DATABASE uvdesk;<br />
  58. GRANT ALL ON uvdesk.* to &#39;uvdesk_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;uvD3$k!!&#39;;<br />
  59. FLUSH PRIVILEGES;<br />
  60. EXIT;<br />
  61. exit</div>
  62. </li>
  63. <li>Continue with the following commands:
  64. <div class="codeBlock"># download latest uvdesk release<br />
  65. wget -O uvdesk.zip https://cdn.uvdesk.com/uvdesk/downloads/opensource/uvdesk-community-current-stable.zip<br />
  66. # extract the downloaded zip to /var/www<br />
  67. sudo unzip ./uvdesk.zip -d /var/www/<br />
  68. # rename the extracted folder<br />
  69. sudo mv /var/www/uvdesk* /var/www/uvdesk<br />
  70. # set the owner of the uvdesk directory<br />
  71. sudo chown -R www-data:www-data /var/www/uvdesk<br />
  72. # create uvdesk apache configuration<br />
  73. sudo nano /etc/apache2/sites-available/uvdesk.conf</div>
  74. </li>
  75. <li>Paste the following configuration into uvdesk.conf
  76. <p>Alias /uvdesk &quot;/var/www/uvdesk/public&quot;<br />
  77. &lt;Directory /var/www/uvdesk/public&gt;<br />
  78. Require all granted<br />
  79. Options Indexes FollowSymLinks<br />
  80. AllowOverride All<br />
  81. Order allow,deny<br />
  82. Allow from all<br />
  83. &lt;/Directory&gt;</p>
  84. </li>
  85. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  86. <li>Run the following command to enable the UVdesk site
  87. <div class="codeBlock"># enable rewrite module<br />
  88. sudo a2enmod rewrite<br />
  89. # enable the uvdesk site<br />
  90. sudo a2ensite uvdesk<br />
  91. # restart the apache2 service<br />
  92. sudo systemctl restart apache2</div>
  93. </li>
  94. </ol>
  95. <h2>UVdesk Web Installer</h2>
  96. <ol>
  97. <li>Open a web browser and navigate to http://DNSorIP/uvdesk</li>
  98. <li>The UVdesk web installer should be load</li>
  99. <li>Click the Let&#39;s Begin button</li>
  100. <li>Click the Proceed button</li>
  101. <li>Complete the Database Configuration form as follows:
  102. <p>Server: 127.0.0.1<br />
  103. Port: 3306<br />
  104. Username: uvdesk_rw<br />
  105. Password: uvD3$k!!<br />
  106. Database: uvdesk</p>
  107. </li>
  108. <li>Click the Proceed button</li>
  109. <li>Complete the Super Admin Account form by entering a Name, Email, and Password</li>
  110. <li>Click the Proceed button</li>
  111. <li>Click the Proceed button at the Website Configuration screen</li>
  112. <li>Click Install Now</li>
  113. <li>After the installation completes, click the Admin Panel button</li>
  114. <li>Login with the admin email address and password created earlier</li>
  115. <li>Welcome to UVdesk</li>
  116. </ol>
  117. </div>
  118. </div>
  119. </body>
  120. </html>