Web Server: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<syntaxhighlight lang="bash">apt-get install apache2 </syntaxhighlight>
<syntaxhighlight lang="bash">apt-get install apache2 </syntaxhighlight>


====Install Certificat for https====
Web site [[https://certbot.eff.org certbot]]
<pre>
apt-get update
apt-get install software-properties-common
add-apt-repository ppa:certbot/certbot
apt-get update
apt-get install python-certbot-apache
</pre>
=====Update Apache Configuration=====
<pre>
certbot --apache
</pre>


=====Update renewal=====
<pre>
certbot renew --dry-run
</pre>


=== ProFtp Server Installation ===
=== ProFtp Server Installation ===
Line 28: Line 46:
</syntaxhighlight>
</syntaxhighlight>


=== Mail Roundcube client Installation ===
 
<syntaxhighlight lang="bash">apt-get roundcube roundcube-mysql roundcube-plugins-extra</syntaxhighlight>
=== Mail Roundcube Web Mail Installation ===
<syntaxhighlight lang="bash">apt-get install roundcube roundcube-mysql roundcube-plugins-extra</syntaxhighlight>
 
 
=== Open-Xchange Web Mail Installation ===
<syntaxhighlight lang="bash">
sh -c "echo 'deb http://download.opensuse.org/repositories/server:/OX:/appsuite:/backend/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/ox.list"
sh -c "echo 'deb http://download.opensuse.org/repositories/server:/OX:/ox6.22:/frontend/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/ox.list"
</syntaxhighlight>
 
=== SSL ===
* Let's Encrypte website : [[ḩttps://letsencrypt.org letsencrypt.org]]
 
* Install sofware from cerbot: [[https://certbot.eff.org certbot.eff.org]]
<pre>
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
</pre>
 
* Review Apache website aand create certificate
<pre>
sudo certbot --apache
</pre>

Latest revision as of 05:11, 30 July 2022

Installation

Apache Web Server Installation

apt-get install apache2

Install Certificat for https

Web site [certbot]

apt-get update
apt-get install software-properties-common
add-apt-repository ppa:certbot/certbot
apt-get update
apt-get install python-certbot-apache
Update Apache Configuration
certbot --apache
Update renewal
certbot renew --dry-run

ProFtp Server Installation

apt-get proftpd


CVS and SVN Repository Server Installation

apt-get csv csv2svn


Owncloud Server Installation

Download and install the Owncloud Key

wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key

Install Owncloud

sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud


Mail Roundcube Web Mail Installation

apt-get install roundcube roundcube-mysql roundcube-plugins-extra


Open-Xchange Web Mail Installation

sh -c "echo 'deb http://download.opensuse.org/repositories/server:/OX:/appsuite:/backend/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/ox.list"
sh -c "echo 'deb http://download.opensuse.org/repositories/server:/OX:/ox6.22:/frontend/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/ox.list"

SSL

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache 
  • Review Apache website aand create certificate
sudo certbot --apache