<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rouncube Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/rouncube/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 03 Apr 2019 19:58:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Roundcube on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-roundcube-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-roundcube-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 08 Apr 2019 03:00:04 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[rouncube]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11713</guid>

					<description><![CDATA[<p>Mail clients maximize and make even more efficient the use of email services in companies. Many of them add many features that make the service better. Especially if we have our own email service helping the flexibility of it. Today, I will show you how to install RoundCube on Ubuntu 18.04, a modern web client [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-roundcube-on-ubuntu-18-04/">How to install Roundcube on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Mail clients maximize and make even more efficient the use of email services in companies. Many of them add many features that make the service better. Especially if we have our own email service helping the flexibility of it. Today, I will show you how to install RoundCube on Ubuntu 18.04, a modern web client for email compatible with many external services.</p>
<p>Roundcube is according to its <a href="https://roundcube.net/" rel="noopener noreferrer">website</a>, a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking.</p>
<p>A great advantage of Roundcube is the possibility to add Plugins. Thus, it is possible to extend even more the functionalities of the application. On the other hand, the application is compatible with Google, Yahoo, and other email services. All these advantages on your own server.</p>
<p>So let&#8217;s get started.</p>
<h2>Install Apache web server and PHP</h2>
<p>To install Rouncube on Ubuntu 18.04 the first step is to have a web server installed on our system. So for this tutorial, I will use <a href="https://www.osradar.com/tag/apache/">Apache</a> web server and <a href="https://www.osradar.com/tag/php/">PHP</a>.</p>
<p>Open a terminal or connect to your server using SSH and run the following command:</p>
<pre>:~$ sudo apt install apache2 php7.2 libapache2-mod-php7.2 php7.2-common php7.2-curl php7.2-mbstring php7.2-xmlrpc php7.2-mysql php7.2-gd php7.2-xml php7.2-intl php7.2-ldap php7.2-imagick php7.2-json php7.2-cli</pre>
<figure id="attachment_11715" aria-describedby="caption-attachment-11715" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11715" src="https://www.osradar.com/wp-content/uploads/2019/04/1-2.png" alt="1.- Install Apache and PHP" width="1365" height="583" srcset="https://www.osradar.com/wp-content/uploads/2019/04/1-2.png 1365w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-300x128.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-768x328.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-1024x437.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-696x297.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-1068x456.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/1-2-983x420.png 983w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11715" class="wp-caption-text">1.- Install Apache and PHP</figcaption></figure>
<p>After that, changes some configurations of values in order to have a better performance.</p>
<pre>:~$ sudo nano /etc/php/7.2/apache2/php.ini</pre>
<pre>file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 80M
max_execution_time = 360</pre>
<p>Save the changes and close the file. Next, restart Apache.</p>
<pre>:~$ sudo systemctl restart apache2</pre>
<p>Then, create a new file to test PHP.</p>
<pre>:~$ sudo nano /var/www/html/test.php</pre>
<p>And add the following:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<figure id="attachment_11716" aria-describedby="caption-attachment-11716" style="width: 814px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11716" src="https://www.osradar.com/wp-content/uploads/2019/04/2-2.png" alt="2.- PHP info file" width="814" height="183" srcset="https://www.osradar.com/wp-content/uploads/2019/04/2-2.png 814w, https://www.osradar.com/wp-content/uploads/2019/04/2-2-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/2-2-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/2-2-696x156.png 696w" sizes="(max-width: 814px) 100vw, 814px" /><figcaption id="caption-attachment-11716" class="wp-caption-text">2.- PHP info file</figcaption></figure>
<p>Next, open your web browser and go to http://your-server-ip/test.php. If you see something like this, everything is OK.</p>
<figure id="attachment_11717" aria-describedby="caption-attachment-11717" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11717" src="https://www.osradar.com/wp-content/uploads/2019/04/3-2.png" alt="3.- PHP" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2019/04/3-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/3-2-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11717" class="wp-caption-text">3.- PHP</figcaption></figure>
<h2>Install MariaDB</h2>
<p>Now it is the turn to install MariaDB. <a href="http://osradar.com/tag/mariadb">MariaDB</a> is in the official Ubuntu repositories, so it will not be a problem to install it.</p>
<pre>:~$ sudo apt install mariadb-server</pre>
<figure id="attachment_11718" aria-describedby="caption-attachment-11718" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11718" src="https://www.osradar.com/wp-content/uploads/2019/04/4-1.png" alt="4.- Install MariaDB" width="1365" height="436" srcset="https://www.osradar.com/wp-content/uploads/2019/04/4-1.png 1365w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-768x245.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-1024x327.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-696x222.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-1068x341.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/4-1-1315x420.png 1315w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11718" class="wp-caption-text">4.- Install MariaDB</figcaption></figure>
<p>Next, using the <code>mysql_secure_installation</code> set the root password.</p>
<pre>:~$ sudo mysql_secure_installation</pre>
<figure id="attachment_11719" aria-describedby="caption-attachment-11719" style="width: 1361px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11719" src="https://www.osradar.com/wp-content/uploads/2019/04/5-1.png" alt="5.- Mysql_secure_installation script" width="1361" height="767" srcset="https://www.osradar.com/wp-content/uploads/2019/04/5-1.png 1361w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-1024x577.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-1068x602.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/5-1-745x420.png 745w" sizes="(max-width: 1361px) 100vw, 1361px" /><figcaption id="caption-attachment-11719" class="wp-caption-text">5.- Mysql_secure_installation script</figcaption></figure>
<p>After defining the root password, you will be asked some security questions that you will have to answer as you like. I will answer Y, N, Y, Y.</p>
<p>Then, you need to create a MariaDB user for Rouncube.</p>
<pre>:~$ sudo mysql -u root -p
CREATE DATABASE roundcube;
GRANT ALL PRIVILEGES ON roundcube.* TO 'rounduser'@'localhost' IDENTIFIED BY 'roundpss';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_11720" aria-describedby="caption-attachment-11720" style="width: 885px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11720" src="https://www.osradar.com/wp-content/uploads/2019/04/6.png" alt="6.- Creating a new database for Rouncube" width="885" height="428" srcset="https://www.osradar.com/wp-content/uploads/2019/04/6.png 885w, https://www.osradar.com/wp-content/uploads/2019/04/6-300x145.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/6-768x371.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/6-696x337.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/6-868x420.png 868w" sizes="(max-width: 885px) 100vw, 885px" /><figcaption id="caption-attachment-11720" class="wp-caption-text">6.- Creating a new database for Roundcube</figcaption></figure>
<h2>Install Roundcube on Ubuntu 18.04</h2>
<p>It is now possible to install Rouncube on Ubuntu 18.04. First, let&#8217;s download it:</p>
<pre>:~$ cd /tmp/
:~$ wget https://github.com/roundcube/roundcubemail/releases/download/1.3.8/roundcubemail-1.3.9-complete.tar.gz</pre>
<figure id="attachment_11721" aria-describedby="caption-attachment-11721" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11721 size-full" src="https://www.osradar.com/wp-content/uploads/2019/04/7.png" alt="7.- Download and install Roundcube on Ubuntu 18.04" width="1365" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/04/7.png 1365w, https://www.osradar.com/wp-content/uploads/2019/04/7-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/7-768x228.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/7-1024x305.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/7-696x207.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/7-1068x318.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11721" class="wp-caption-text">7.- Download and install Roundcube on Ubuntu 18.04</figcaption></figure>
<p>Next, decompress it.</p>
<pre>:~$ tar -xvzf tar -xvzf roundcubemail-1.3.9-complete.tar.gz</pre>
<p>And move it to the Apache folder.</p>
<pre>:~$ sudo mv roundcubemail-1.3.9 /var/www/html/roundcube</pre>
<p>After that, the Roundcube database has to be started. To do this, run the following command:</p>
<pre>:~$ cd /var/www/html/roundcube
:~$ sudo mysql -u [user] -p [database] &lt; SQL/mysql.initial.sql</pre>
<figure id="attachment_11722" aria-describedby="caption-attachment-11722" style="width: 880px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11722" src="https://www.osradar.com/wp-content/uploads/2019/04/8.png" alt="8.- Installing Roundcube" width="880" height="147" srcset="https://www.osradar.com/wp-content/uploads/2019/04/8.png 880w, https://www.osradar.com/wp-content/uploads/2019/04/8-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/8-768x128.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/8-696x116.png 696w" sizes="(max-width: 880px) 100vw, 880px" /><figcaption id="caption-attachment-11722" class="wp-caption-text">8.- Installing Roundcube</figcaption></figure>
<p>After all this, it is necessary to assign the Rouncube folder the necessary permissions to avoid execution problems.</p>
<pre>:~$ sudo chown -R www-data:www-data /var/www/html/roundcube/
:~$ sudo find /var/www/html/roundcube/ -type d -exec chmod 750 {} \;
:~$ sudo find /var/www/html/roundcube/ -type f -exec chmod 640 {} \;</pre>
<figure id="attachment_11723" aria-describedby="caption-attachment-11723" style="width: 895px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11723" src="https://www.osradar.com/wp-content/uploads/2019/04/9.png" alt="9.- Set the permission to the folder" width="895" height="160" srcset="https://www.osradar.com/wp-content/uploads/2019/04/9.png 895w, https://www.osradar.com/wp-content/uploads/2019/04/9-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/9-768x137.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/9-696x124.png 696w" sizes="(max-width: 895px) 100vw, 895px" /><figcaption id="caption-attachment-11723" class="wp-caption-text">9.- Set the permission to the folder</figcaption></figure>
<p>Next, you need to create a new virtual host for Roundcube.</p>
<pre>:~$ sudo nano /etc/apache2/sites-available/roundcube.conf</pre>
<p>And add the following:</p>
<pre>&lt;VirtualHost *:80&gt;
     ServerAdmin admin@example.com
     DocumentRoot /var/www/html/roundcube
     ServerName your-server.com

     &lt;Directory /var/www/html/roundcube/&gt;
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     &lt;/Directory&gt;

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

&lt;/VirtualHost&gt;</pre>
<figure id="attachment_11724" aria-describedby="caption-attachment-11724" style="width: 895px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11724" src="https://www.osradar.com/wp-content/uploads/2019/04/10.png" alt="10.- Creating a new virtualhost for Roundcube" width="895" height="354" srcset="https://www.osradar.com/wp-content/uploads/2019/04/10.png 895w, https://www.osradar.com/wp-content/uploads/2019/04/10-300x119.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/10-768x304.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/10-696x275.png 696w" sizes="(max-width: 895px) 100vw, 895px" /><figcaption id="caption-attachment-11724" class="wp-caption-text">10.- Creating a new virtualhost for Roundcube</figcaption></figure>
<p>Save the changes and close it.</p>
<p>Finally, enable the new virtual host and restart Apache.</p>
<pre>:~$ sudo a2ensite roundcube.conf
:~$ sudo systemctl reload apache2</pre>
<figure id="attachment_11725" aria-describedby="caption-attachment-11725" style="width: 797px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11725" src="https://www.osradar.com/wp-content/uploads/2019/04/11.png" alt="11.- Restart Apache" width="797" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/04/11.png 797w, https://www.osradar.com/wp-content/uploads/2019/04/11-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/11-768x149.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/11-696x135.png 696w" sizes="(max-width: 797px) 100vw, 797px" /><figcaption id="caption-attachment-11725" class="wp-caption-text">11.- Restart Apache</figcaption></figure>
<p>Now, you can complete the installation using the web interface.</p>
<h2>Set up Rouncube</h2>
<p>Now, open your web browser and access to your server and start the installer. http://your-server/installer</p>
<figure id="attachment_11726" aria-describedby="caption-attachment-11726" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11726" src="https://www.osradar.com/wp-content/uploads/2019/04/12.png" alt="12.- Installer" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2019/04/12.png 1366w, https://www.osradar.com/wp-content/uploads/2019/04/12-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/12-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/12-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/12-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/12-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/12-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11726" class="wp-caption-text">12.- Installer</figcaption></figure>
<p>Next, config the database and the IMAP parameters and start the installation.</p>
<figure id="attachment_11727" aria-describedby="caption-attachment-11727" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11727" src="https://www.osradar.com/wp-content/uploads/2019/04/13.png" alt="13.- MariaDB parameters" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2019/04/13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/04/13-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/13-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/13-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/13-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/13-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/13-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11727" class="wp-caption-text">13.- MariaDB parameters</figcaption></figure>
<p>Next, log in on http://your-server/</p>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>Roundcube is a great alternative to many web clients who are heavy. In addition, Rouncube is easy to install on our private server, which gives us total control over it.</p>
<p>Don&#8217;t forget to share this post with your friends using social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-roundcube-on-ubuntu-18-04/">How to install Roundcube on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-roundcube-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
