Skip to content

Blog Bujarra.com

Héctor Herrero's IT Blog

  • Blog
    • Citrix
    • Fortify
    • Home Assistant
    • Microsoft
    • Monitoring
    • Raspberry Pi
    • Several
    • VMware
  • A podcast for IT
  • Open Services IT
    • Services
    • Technologies
    • We
    • Contact
    • Citrix Book
    • Apps
  • Maas
  • News
    • Friend blogs
    • Safety
    • New versions
×

OwnCloud – More configurations

  • Blog
  • Several
  • 2 December 2013
Tagged AD, certificate, Email, DropBox, email
Print Friendly, PDF & Email

In a previous documento ya vimos como montar nuestro Dropbox corporativo, in this second OwnCloud document we will see additional configurations that we should make to have more functionalities such as sending links by email, put corporate logos, Filter by an AD Group, Default language in Spanish, Configuration for HTTPS, WebDAV connection and two interesting plugins to be able to log in everything that users do!

Configurando el correo,

Empezaremos por lo más básico, que el sistema de envío de correo pueda funcionar para que los usuarios puedan enviar correos electrónicos a la hora de compartir archivos.

owncloud-28-bujarra

First things, debemos introducir una dirección válida como origen de los correos de OwnCloud, editaremos ‘/var/www/owncloud/lib/public/util.php’ cambiaando ‘$defaultEmailAddress = ‘No*********@do*****.eso‘.

 

owncloud-30-bujarra

Configuraremos los parámetros de envío de correo en ‘/var/www/owncloud/config/config.php’, donde indicaremos el host de relay por el que sacaremos el correo y el típo de autenticación, example against a Zimbra that has the OwnCloud IP whitelisted, even though we could authenticate ourselves too:

'mail_smtpmode' => 'smtp',
'mail_smtphost' => '192.168.0.201',
'mail_smtpport' => 25,
#  'mail_smtpsecure'   => 'tls',
'mail_smtpauth' => False,
# 'mail_smtpauthtype' => "LOGIN",
'mail_smtpname' => '',
'mail_smtppassword' => '',

If we want to see how to create a relay connector in Exchange, We can go on this guide.

 

Changing the language,

owncloud-31-bujarra

Once the email has been configured, we will be able to indicate to OwnCloud that all the accounts that enter have a default language, To do this we edit '/var/www/owncloud/lib/l10n.php’ and indicate in '$language = 'es’ ;’ The language.

 

Changing the logos,

owncloud-33-bujarra

As for changing the logos, We can start with the main logo, which defaults to a size of 166x123px. We'll change the file 'owncloud-logo-medium-white.(png|SVG)’ why we are interested in having uploaded this VM by SCP in the files '/var/www/owncloud/apps/user_openid/templates/nomode.php’ and '/var/www/owncloud/core/templates/layout.guest.php’

 

 

owncloud-32-bujarra

And finally we'll change the small logo inside the OwnCloud portal to '/var/www/owncloud/core/templates/layout.user.php’ called 'core/img/logo-wide.(png|SVG)’ which defaults to 230x32px.

 

Enabling secure connections,

To enable connections using HTTPS, we must first enable SSL in Apache by running: 'sudo a2enmod ssl'.

Later we must generate a certificate request, send it to a certificate authority to finally install the certificate in the Apache and be able to attend to secure requests from OwnCloud.

We generate the CSR (Certificate Signing Request) with: 'openssl req -nodes -newkey rsa:2048 -Keyout owncloud.tundra-it.com.key -out owncloud.tundra-it.com.csr'. It will ask us a series of questions that we must complete as usual when generating certificates, In these following steps, the examples are made with the domain 'owncloud.tundra-it.com’ And obviously everyone can use whatever name they want for the certificates.
We will send the .csr file to the certificate authority or CA we trust (or our own DA) and we will obtain the certificate that we will rename it to 'owncloud.tundra-it.com.crt’ and that of the primary or intermediate certificate authority to: CA.crt.

 

owncloud-34-bujarra

We will create the file to enable the configuration of the new site with SSL: '/etc/apache2/conf.d/owncloud5-ssl.conf’

<VirtualHost *:443>
ServerName IP/NOMBRE_SERVIDOR
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/owncloud.tundra-it.com.crt
#/etc/ssl/crt/apache-cert.pem
SSLCertificateKeyFile /etc/apache2/ssl/owncloud.tundra-it.com.key
#/etc/ssl/key/apache-key.pem
SSLCertificateChainFile  /etc/apache2/ssl/CA.crt
DocumentRoot /var/www/owncloud
CustomLog /var/www/logs/ssl-access_log combined
ErrorLog /var/www/logs/ssl-error_log
</VirtualHost>

And we restarted Apache! We will now be able to access the files by secure connection, In addition, in the administration menu we can force all connections to be via https, o encrypt the contents of the files.

 

Filter by AD Group,
owncloud-35-bujarra

If we want to filter the users we want to access, we can do it through a group of users of our Active Directory, We will configure the following filters:

– Under 'User Login Filter'’ put: ‘(&(memberof=cn=Users with access,ou=Users,ou=Tundra IT,dc=tundra-it,dc=local)(sAMAccountName=%uid))’
– Under 'User Filter List'’ put: ‘(&(memberof=cn=Users with access,ou=Users,ou=Tundra IT,dc=tundra-it,dc=local)(objectClass=person))’.

 

Tracking users,

If we want to analyze what files our users store or which files they share with whom, we will be able to use two OwnCloud Apps that we will integrate into our installation, would be 'SuperLog’ and 'Share Watcher'.

 

owncloud-18-bujarra

The first, SuperLog, will allow us to know the files stored by users in our OwnCloud system, we will be able to download it, Unzip it in /var/www/owncloud/apps/

 

owncloud-19-bujarra

We can download it with wget, in this case we will rename the directory Owncloud-Superlog-master/ to superlog/ and correct the permissions with 'chown www-data:www-data superlog/ -R'.

 

owncloud-20-bujarra

We will enter the portal as an administrator and in the 'Applications' menu’ We will activate the app.

 

owncloud-21-bujarra

We will be able to see how we have a new section called 'SuperLog Activity’ in the 'Administration' menu, where everything that happens on our OwnCloud site will be recorded, We'll look at the files that users create, modify or delete.

 

owncloud-22-bujarra

If we also want to see the files they share and with whom, we must install the App Share Watcher, igualmente podremos descargarla con wget o copiarnosla con WinSCP o similar a /var/www/owncloud/apps/

 

owncloud-23-bujarra

Corregimos los permisos con ‘chown www-data:www-data files_share_watcher/ -R’.

 

owncloud-24-bujarra

Lo activamos una vez descomprimido.

 

owncloud-25-bujarra

Y ya podremos ver en el Historial estos registros también!

 

Conexión por WebDAV,

owncloud-26-bujarra

Esto sería otra manera de acceder al contenido de forma remota, en vez de mantener sincronizada la información podremos atacarla a ella fácilmente por WebDAV. Para ello sería tan fácil como conectar una unidad de red en Windows o montarla en un Mac/Linux.

 

owncloud-27-bujarra

Y ahí tendríamos acceso a todo el contenido de igual forma. Os animo a que os déis un paseo por el portal de las Apps para ver cual más os encaja!

Recommended Posts

VPN with Citrix NetScaler III - Authentication with certificates
Read
Centreon Alerts with OpenAI
Read
SmartCard logins to Active Directory
Read
VPN with Citrix NetScaler II - Requiring certificates to access
Read

Post navigation

Previous post
Next post

Author

by Héctor Herrero 
nheobug@bujarra.com
Autor del blog Bujarra.com Cualquier necesidad que tengas, Do not hesitate to contact me, I will try to help you whenever I can, Sharing is living ;) . Enjoy documents!!!

 Edit Translation
Author: Héctor Herrero Hermida

Subscribe to news

Loading

Trending

  • Installing Bitwarden
  • FreePBX Installation and Basic Configuration
  • Implementing FSSOs to integrate Fortigate with Active Directory
  • RustDesk and RustDesk Web Client
  • Reading the home water meter with ESPHome and Home Assistant
  • Controlling IR devices from Home Assistant
  • Ollama, Getting started with local AI
  • Solar panels with Home Assistant and Huawei
  • Measuring rain with Home Assistant
  • Deploying NetBox and NetBox-Scanner

Most viewed

  • FreePBX Installation and Basic Configuration
  • Reading the home water meter with ESPHome and Home Assistant
  • Ollama, Getting started with local AI
  • Implementing FSSOs to integrate Fortigate with Active Directory
  • Creating our Floorplan or Animated House Plan in Home Assistant
  • Controlling IR devices from Home Assistant
  • Video surveillance system with Frigate and Home Assistant
  • RustDesk and RustDesk Web Client
  • Measuring rain with Home Assistant
  • Adding a timer in Home Assistant

Latest posts

  • Windows metrics with Prometheus and Grafana
  • CO2 sensor with ESPHome and Home Assistant
  • Rules and alerts with ElastAlert 2
  • Deploying NetBox and NetBox-Scanner
  • FortiGate metrics with Prometheus and Grafana
  • Ping metrics with Prometheus and Grafana
  • Deploying Prometheus & Grafana
  • VPN with Citrix NetScaler IV – AlwaysON
  • Monitoring Crowdsec with Centreon
  • VPN with Citrix NetScaler III – Authentication with certificates

Freezing your PC with Deep Freeze

14 November 2013

Citrix Provisioning Services 7.1 with Citrix XenDesktop 7.1 - Part 1

9 December 2013

Blog Bujarra.com

 

We monitor your infrastructure

 

We can set up a system that will monitor your entire infrastructure and you will know at all times how your business is doing!

​

  • You tell us what you have and we monitor it with a virtual machine in your environment for you.
  • Through several tools you will know the status of your servers and services, obtaining alerts in case of a problem.
  • You can have live maps, to see in real time what's going on and better understand it with network maps, of virtual environments, WAN connections between sites, mail traffic...
  • We can scale this infrastructure monitoring and know the SLA offered by your business or your departments, or suppliers...
  • As there are so many wonderful things, We recommend that you watch the following video where we have explained it in detail!

 

Do Tailor-made training

Windows Server – VMware vSphere – Citrix Virtual Apps & Desktops – Centreon

Deploy apps to any device (mobile, tablet, Corporate PC, Personal PC...) securely and from anywhere.

Centralizing Applications, We get the necessary control of our organization.

Cost savings, since it runs in the Datacenter and it will not be necessary to renew our fleet of equipment ever again!

 

 

 

 

 

 

 

 

 

 

  • Face-to-face or remote.
  • We use our own manuals with How To's and guides in detail.
  • 100% technicians with exercises and laboratories!
  • They are based on our experience, in our day-to-day lives.
  • Talk to us and we will give shape to your idea, We will train your technicians!
  • We don't keep secrets from anyone, Everything we can teach you will be a pleasure for us!

 

We are a consulting firm that cares and pampers

​​

  • We are a leading consulting firm in Information Technology at a national level.
  • We will listen to you, We will be able to talk and understand your needs and propose the best solution and at the best cost, Ask our customers!
  • They, Our dear customers use us as their pillow, and delighted!
  • We have a team fully specialized in IT consulting.
  • When designing any service or project, We will always look out for your satisfaction
  • Our Goal, Your trust!

With quality and added value

  • Analysis & Pre-Consulting
  • Cloud and Cloud Migrations
  • On-Premise Platform Migrations
  • Demos, Pre-production environments & laboratory
  • No service outages
  • We will train you and deliver excellent technical documentation.

​

​¡Let's work together!

  • We are a company that collaborates, with Open Mind, open to listening and working together!
  • We have a wide network of selected partners with whom we actively collaborate.
  • So that you can expand the range of services or training for your customers.

 

Technical support

  • We have that expertise you are looking for to give you a second level of support.
  • We will help you with day-to-day incidents that you cannot solve or take up a lot of time.
  • We have a CAU that can surely help you!
  • We work comfortably with time bags so that you can optimize your budgets.

Preventive control

  • We deploy a 'black box' in your environment that will monitor the status of your servers.
  • You will be able to access and know the status of your environment in real time with advanced metrics.
  • You will have personalized maps that will demonstrate how well controlled we have the environment. Ideal to put on a TV in your apartment!
  • We will be able to maintain your environment if you wish and take care of any incidents that may affect your business.
  • You will know at all times the SLA that your infrastructure is offering to your company.

 

Do Tailor-made training

Windows Server – VMware vSphere – Citrix Virtual Apps & Desktops – Centreon

 

  • Face-to-face or remote.
  • We use our own manuals with How To's and guides in detail.
  • 100% technicians with exercises and laboratories!
  • They are based on our experience, in our day-to-day lives.
  • Talk to us and we will give shape to your idea, We will train your technicians!
  • We don't keep secrets from anyone, Everything we can teach you will be a pleasure for us!

 

We perform the following services

  • Preventive audits on your IT infrastructure
  • We monitor and give you operational visibility.
  • Business Email Systems
  • Analysis and execution of contingency plans
  • Implementation and improvements of security systems
  • Server Virtualization
  • Application virtualization and Desks

Our differential

  • Closeness and honesty
  • Open source solutions and leading manufacturers
  • Migrations without impact
  • Second-level consulting and support
  • Mobile Device Management
  • Centralization of users
  • Our Principles: Security and best practices