Zentyal: Create File Share on a Zentyal 6.2 DC

The process of adding file shares on a Zentyal 6.2 DC is pretty simple as the File Share module is automatically installed as part of the Domain Controller Module.

Create a file share on a Zentyal 6.2 DC:

To Create a File Share on a Zentyal 6.2 DC follow the following Steps:

To create a new share connect to the web interface of your DC (https://dc-ip:8443)

Create File Share on a Zentyal 6.2 DC

Log in with an admin user account:

log in

Click the File Sharing button on the left hand menu:

File share

Click the ADD NEW button:

Add New

Fill in the required fields as required:

Create Share

Click ADD to create the share. The new share will now be in the list of shares.

New Share Added

Click on the Access Control Settings button for the share.

Access settings

Click the ADD NEW button:

You can then chose which user or group will have access and give them the desired level of access (Read Only, Read and Write and Administrator).

Add user

Click ADD to create the access to the folder:

Add

Click SAVE CHANGES to save the changes.

Click SAVE:

Save Settings

Wait for the changes to be saved:

Wait

Once saved you will be able to access the share from windows by searching for \\dcipordomainname and clicking enter:

Access share

This will then open a new window showing the shares on the DC. Click on the required share and you will enter the share:

open share
opened share

Depending on the level of access you gave the user they will then be able to copy and create folders/ documents in the folder.

create test folder

For more Zentyal How Too’s take a look in our Zentyal Category.

To read more about Zentyal on their website Click HERE.

Zentyal: Add a Windows 10 Pro PC to a Zentyal Domain

If your PC is running Windows 10 PRO and your Zentyal Server is configured as a DC then the Windows PC can be added to the Domain to add the benefits of centralized login and management using AD users.

If you need to install a Zentyal Server then follow THIS guide. To configure a Zentyal server after installation go HERE.

For more information on Active Directory (AD) there is an excellent article on the Microsoft Site.

Before you try and add the PC to the domian you will need to make sure that the PC is using the Zentyal DC as its DNS server.

Make Sure PC is using Zentyal Server as the DNS server:

To do this open settings and click Network and Internet:

Zentyal: Add a Windows 10 Pro PC to a Zentyal Domain

Click the Properties button under Ethernet adapter name:

Click the Edit button:

Make sure that the DC IP is set as the Preffered DNS. If it is not change it to be:

Click Save and close the Setting Window.

Another quick Check is to make sure that DNS is working is to ping the doman name and make sure that it responds from the correct IP address:

Add PC to Zentyal AD Domain:

The easiest way to add the PC to the domain is to:

Type sysdm.cpl into the search bar:

Click on the sysdm.cpl Icon:

This will open the System Properties Window:

Click the Change button which will open the Computer Name/Domain Changes window:

Click the Select the Domain Option:

Now add the domain name to the Domain field:

Click OK.

Add the Admin user details in the window that opens:

You will get another window open to say that the PC has been added to the domain:

Click OK to close this window.

Click OK to restart the PC:

Click Close to close the System Properties:

Click Restart Now to restart the PC:

When the PC has rebooted log in using a domain user account and select the correct domain to log into:

The new domain user profile will be crearted:

Once windows has created the new user (this used to take seconds not sure why it takes so long now) you will be taken to the users desktop.

You are now ready to use the PC using the domain user. The PC is now a member of the domain and can be controlled by AD and centrally managed! Yay!

Ubuntu 20.04: How to install Keepass.

Why KeePass?
Today, you have to remember many passwords. You need a password for a lot of websites, your e-mail account, your webserver, network logins, etc. The list is endless. Also, you should use a different password for each account, because if you would use only one password everywhere and someone gets this password, you would have a problem: the thief would have access to all of your accounts.

KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can store all your passwords in one database, which is locked with a master key. So you only have to remember one single master key to unlock the whole database. Database files are encrypted using the best and most secure encryption algorithms currently known (AES-256, ChaCha20 and Twofish). For more information, see the features page.

Is it really free?
Yes, KeePass is really free, and more than that: it is open source (OSI certified). You can have a look at its full source code and check whether the security features are implemented correctly.

Installing Keepass on Ubuntu 20.04:

Keypass can be installed on Ubuntu 20.04 really quickly and easily in 3 quick commands:

Update Ubuntu 20.04.

sudo apt update
Ubuntu 20.04: How to install Keepass.

Wait for the updater to check for updates and finish:

Add the repository into apt by running the following command.

sudo apt-add-repository ppa:jtaylor/keepass

Press Enter to add the repository.

Once finished the installer will go back to the command line:

Run updates again to add the repository.

sudo apt-get update && sudo apt-get upgrade -y

Install keypass by running.

sudo apt-get install keepass2 -y

Type y and enter to install keepass2.

Wait for keepass to install.

Check the version of keepass2 by typing keepass2 –version.

keepass2 --version

This will show the current installed verions.

To open Keepass click on Show Applications

Type Keepass2

Click on the KeePass2 Icon. KeePass will Open.

To create a new database click on New.

Click OK.

Type the new name for the database and click Save.

Type in a new master password and press enter.

Click Yes to use the password

Add a database name and click OK.

Choose Yes or No to print an emergency sheet or not.

The database is ready to use.

For more Ubuntu articles as how too’s click on our Ubuntu Category.

Ubuntu 20.04/20.10: How to enable RDP access from Windows PC.

There have been a number of times that I have wanted to access my Ubuntu 20.04/20.10 PC from a Windows PC using Remote Desktop Access (RDP). This is how I have configured it to work.

Enable RDP on the Ubuntu 20.04/ 20.10 PC:

Open the terminal and type the following command:

sudo apt install xrdp
Ubuntu 20.04/20.10 - How to enable RDP access from Windows PC.

Type your password and enter.

RDP - Password

Enter Y and enter.

RDP - Type Y

Xrdp will be installed:

RDP - Installing

Once installed the installer will return to the command line:

RDP - Done

Enable xrdp to start after reboot and to run now type:

sudo systemctl enable --now xrdp
RDP - enable

The command will run and then return to the command line:

RDP - Done

Run the following command to open the rdp port on the local firewall for incoming traffic.

sudo ufw allow from any to any port 3389 proto tcp
RDP - Open Firewall

The rules will be added:

RDP - Done

Run the following command to find the ip address of the machine. This will be needed to rdp from the windows machine.

sudo ip a

The ip address of the machine is highlighted in red:

RDP - Get IP

This is all you have to do on the Ubuntu PC. Now go onto the windows PC and connect to the Ubuntu PC as follows:

Connecting to the Ubuntu PC from Windows using RDP.

Click on the start button and type mstsc. Click on Open.

RDP - Open RDP

Type in the ip address of the Ubuntu PC and click Connect.

RDP add IP

Click Yes.

RDP - Click Yes

Type the username and password and click OK.

RDP - Add user and password

You will now have access to the linux desktop. Yay.

RDP - Connected.

To log off again just click on the x of the RDP window or log out:

RDP - Logout
RDP - Logout

Troubleshooting:

Black Screen at logon:

If there is a user logged in on the Ubuntu PC you may get a black screen when you rdp to the PC. This can be resolved by logging off of the Ubuntu PC.

For more things to do with your new Ubuntu 20.10 Desktop go to my other articles HERE.

Authentication Required login

In some cases you will get the following window appear and even though you log in it will not disappear:

A permanent fix for this is to edit the following file:

sudo vim /usr/share/polkit-1/actions/org.freedesktop.color.policy

Go to the defaults section and modify no to yes

<defaults>
    <allow_any>auth_admin</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>yes</allow_active>
</defaults>

To:

Save the changes and log off and back on again and you should not see the popup again.

Ubuntu 20.10: Installing VMWare Tools using apt.

If Ubuntu 20.10 is installed in a VMware ESI Virtual Machine it is a good idea to install the VMWare tools to improve performance of the VM.

This can easily be done on Desktop and Server versions by opening the Terminal and running the following command:

Open Terminal in Ubuntu Desktop.

Click on Show Applications.

Ubuntu 20.10 - Installing Vmware Tools using apt.

Type ter in the search bar

Ubuntu 20.10 - open term

Click on the Terminal Icon that appears which will open the terminal:

Ubuntu 20.10 - Installing Vmware Tools using apt.

Install VMWare Tools:

In the terminal type the following command and press enter:

sudo apt install open-vm-tools-desktop open-vm-tools
Ubuntu 20.10 - Install VM tools

Type your user’s password and press enter.

Ubuntu 20.10 - Type password

The tools will be installed:

Ubuntu 20.10 - Installed

For more things to do with your new Ubuntu 20.10 Desktop go to my other articles HERE.

For a guide on how to install Ubuntu 20.10 desktop go HERE.

Ubuntu 20.10 Desktop: How to install.

Ubuntu 20.10 Desktop (Groovy Gorilla) was released on October 22, 2020. Here is what Canonical says about Groovy Gorilla:

“Ubuntu 20.10 establishes another milestone in Canonical’s long-term commitment to delivering a carrier-grade private cloud. The 33rd release of the most popular Linux distribution in the data centre space, Groovy Gorilla, brings various improvements that enable easier consumption of the fast networking stack across both VMs and containers, straightforward compliance with common security benchmarks and a reference telco cloud implementation.

Join the team of Canonical data centre experts to learn about new features in Ubuntu Server, MAAS, Charmed OpenStack and Charmed Kubernetes. In this webinar, we will present the key highlights of our core data centre products as well as our long-term vision towards data centre implementation.”

Click HERE to check out the Ubuntu 20.10 release video.

To install Ubuntu 20.10 Desktop, download the ISO from HERE and create boot media and boot from it.

Installing Ubuntu 20.10 Desktop:

On the first screen choose the language of the installer and the type of install that you want to perform by clicking on the Try or Install Ubuntu buttons:

Ubuntu 20.10 Desktop. How to install. - boot screen

Choose the desired keyboard layout and click Continue:

Ubuntu 20.10 - Keyboard layout

Select the Installation type and update options and click Continue.

Ubuntu 20.10 -  Installation Type

Select the disk options and click Install now.

Ubuntu 20.10 - Disk Options

Click on Continue if you want to start the installation and Go Back if you want to go back and change some of the settings.

Ubuntu 20.10 - Continue

Select where you are and click Continue.

Ubuntu 20.10 - Where are you?

Add the PC and user details and click continue.

Ubuntu 20.10 - PC and user details

the installation will now run:

Ubuntu 20.10 - Installing

Click Restart now to reboot the Installation and boot from the PC hard drive:

Ubuntu 20.10 - Reboot Now

Remove the Installation Media and press ENTER to reboot:

Ubuntu 20.10 - Press enter

The PC will now boot to the Ubuntu 20.10 Desktop login page:

Ubuntu 20.10 - Login

Login with the user created during Installation:

Ubuntu 20.10 - Type password

If you want to setup online accounts now do so in the Setup wizard other wise click Skip to move to the next wizard.

Ubuntu 20.10 - Skip

Choose your preferred option for helping to improve Ubuntu and click Next.

Ubuntu 20.10 - Next

Select Next to move to the next wizard.

Ubuntu 20.10 - Next Again

Click Done to close the Wizard.

Ubuntu 20.10 - Done

Click Install Now to installed the latest updates.

Ubuntu 20.10 - Install updates

You will now see the updater icon in the taskbar:

Ubuntu 20.10 - Click Software Updater

Click the icon to open the software updater.

Ubuntu 20.10 - Click more details

Click on Details to see all the details:

Ubuntu 20.10 - Wait

Wait for the updates to complete. Then click on Restart Now.

Ubuntu 20.10 - Reboot

The PC will now reboot and install the updates that needed a reboot. Once it it back at the login screen log in again.

Ubuntu 20.10 - Login

The PC is now ready to use.

Desktop

For more things to do with your new Ubuntu 20.10 Desktop go to my other articles HERE.

Windows 10 Pro: How to Install Windows 10 Pro.

This is my guide to Installing Windows 10 Pro on a PC/VM. The process is basically the same for both after you have booted from the boot media.

Windows 10 boot media can be created by downloading the Windows 10 Media Creation tool from HERE.

For a walk through of creating Windows 10 boot media click HERE.

Installing Windows 10 Pro:

Once the Windows 10 boot media is created boot the machine to be installed from the media. The install will land on the following page. Select the correct regional settings and click Next:

Installing Windows 10 Pro - Start page

Click Install now.

Installing Windows 10 Pro - Install now

If you have a key add it and click Next. If you do not have a key (which I do not) click I don’t have a key:

Installing Windows 10 Pro - Insert Key

Choose the version of Windows 10 that you want to install (Pro in this case) and click Next to move to the next step. This will install the 180 day trial version of Windows 10 Pro.

Installing Windows 10 Pro - Chose Version

Accept the license terms and click Next

Installing Windows 10 Pro - accept license

Click on Custom to install a clean version of Windows 10

Installing Windows 10 Pro - choose custom Install

Click next to use the new unallocated space.

Installing Windows 10 Pro - Format disk.

Windows 10 will now install.

Installing Windows 10 Pro - Installing.

Click restart now or wait for the timer to restart the PC

Create a Windows 10 ISO - restarting

Windows 10 will start booting

Create a Windows 10 ISO - booting

Select the correct Region and click Yes to continue

Installing Windows 10 Pro - choose Region

Choose the correct keyboard layout and click Yes to continue

Installing Windows 10 Pro - select keyboard Layout

Click skip unless you want to add a second keyboard layout in which case click Add layout

Installing Windows 10 Pro - click skip

Wait

Chose to set up for personal use if not adding to a domain or for an organisation if you are. I selected Set up an organisation and pressed the Next button.

Installing Windows 10 Pro - personal use

To not use a Microsoft account to login click on Offline account

Installing Windows 10 Pro - Offline Account

Click on Limited experience to not have to create a Microsoft account

Installing Windows 10 Pro - Limited experience

Add the user name and click Next

Installing Windows 10 Pro - add user

Type a password for the new user (Make sure that you type the password correctly as it is the only user on the PC). Click on the icon on the right of the password field to show the password to make sure it is typed correctly. Click Next

Installing Windows 10 Pro - add password

Retype the password and type Next

Select a security questions, type an answer and click Next

Installing Windows 10 Pro - security question 1
Installing Windows 10 Pro - security question 2
Installing Windows 10 Pro - security question 3

Select don’t use speech recognition unless you want it, click Accept

Choose the desired option for location service and click Accept

Installing Windows 10 Pro - Location service

Select the desired option for Find my device and click Accept

Installing Windows 10 Pro - Find my Device

Choose the desired diagnostics settings and Accept

Installing Windows 10 Pro - Diagnostic Data

Choose the desired setting for inking and typing and Accept

Installing Windows 10 Pro - Inking and Typing

Choose the desired diagnostics data option and Accept

Installing Windows 10 Pro - Diagnostics

Choose the desired advertising ID and click Accept

Installing Windows 10 Pro - Advertising ID

Click Not Now if you do not want Cortana help

Installing Windows 10 Pro - Cortana

Finally the installation will start creating the user profile.

Installing Windows 10 Pro - User profile loading.

After what feels like forever windows will actually finish booting. Click Yes to allow the PC to be discoverable or No for it not to be

Installing Windows 10 Pro - logs in finally

Click on Get started to start configuring Edge or Maybe later to not do it now.

Installing Windows 10 Pro - Edge

Click complete setup

Installing Windows 10 Pro - Finish Edge setup

Click Continue without Signing-in

Create a Windows 10 ISO - don;t sync

Edge setup is now complete

Windows is now Installed and ready to use.

It is now highly advisable to run Windows updates as there are bound to be a bunch of missing updates which is never a good idea.

Instructions of how to Install Windows Updates can be found HERE.

Windows 10: How to install Windows 10 updates.

Although running Windows 10 updates is a simple procedure it is a crucial process for keeping a Windows 10 machine as secure as possible so it is worth documenting.

For more information about Windows updates take a look at this great post on TechRepublic.

Install Windows 10 Updates:

To run windows updates click on the start button

Running Windows updates on Windows 10 - click start

Click on the Settings button

Running Windows updates on Windows 10 - click Settings

Scroll to the bottom and select Update & Security

Running Windows updates on Windows 10 - Click Updates & Security

Click Check for updates and wait for Windows to check if it has any missing updates

Running Windows updates on Windows 10 - click check for updates

Windows will then start installing the updates

Running Windows updates on Windows 10 - wait for updates to install

If the updater asks for a reboot click Restart Now to reboot:

Windows 10 updates - reboot

Updates will then be installed and the PC will be rebooted

Windows 10 updates - Installing updates

Once the Updates have installed and the PC has rebooted log in and check to see if there are any more updates needing installing

There will most likely be more to install so continue installing until there are no new updates to install:

Your Windows 10 PC is now fully up to date.

For more Windows 10 related posts click HERE.

Windows 10: Create a Windows 10 Installation ISO.

The first step to create a Windows 10 iso is to download the Media Creation tool from HERE.

Create the Windows 10 ISO.

Once the Media Creation tool is downloaded double click on the exe and it will open the following window:

Create a Windows 10 ISO - double click

Accept the License by clicking the Accept button:

Create a Windows 10 ISO - Accept License

Wait for the wizard

Select Create installation Media (USB flash drive, DVD, or ISO file) for another PC and click Next

Create a Windows 10 ISO - Create media

Choose the desired Language, edition of Windows and Architecture and click Next

Create a Windows 10 ISO - Choose ISO options

Choose the ISO file option and click Next

Create a Windows 10 ISO - make iso

Select the path and the name of the iso file and click Save

Create a Windows 10 ISO - Save ISO

Wait for the iso to be created

Create a Windows 10 ISO - saving iso

Click Finish

Create a Windows 10 ISO - click finish

The Wizard will close and the Windows 10 ISO will be wherever you saved it in the earlier step.

For more Windows 10 Articles go to our Windows 10 Category.

Ubuntu 20.04: How to install Ubuntu 20.04 Desktop

Ubtuntu 20.04 is the newest version of the popular Ubuntu OS and we are going to install the Desktop Version today.

The Ubuntu 20.04 Desktop can be downloaded from HERE.

Once the ISO has been downloaded make the boot media and boot off of it.

Install Ubuntu 20.04 Desktop:

The First Screen that will appear is the Install Screen. This screen has the installation language selection and options to Try Ubuntu which will boot ubuntu from the boot media and not install it on the machines hard drive. The second Option is Install Ubuntu which as its name suggests will install Ubuntu:

How to install Ubuntu 20/04 Desktop - Install Screen

Click the Install Button to Start the Install Wizard:

How to install Ubuntu 20/04 Desktop - keyboard layout.

Select the default Keyboard Layout and click Continue to go to the next page.

How to install Ubuntu 20/04 Desktop - choose keyboard layout.

Leave the default as they are for the Updates and other software to run a Normal Installation and Download updates during the installation. There is currently a bug where the Install third-party software option breaks the installation so its probably a good idea to avoid that option for now. Click on Continue to move to the next page.

How to install Ubuntu 20/04 Desktop - Updates and other software.

Again choose the default options for the Disk setup unless you want to do any advanced formatting. Click Install Now to start the installation.

How to install Ubuntu 20/04 Desktop - Erase Disk Sceen

Click on Continue ti format the disk

How to install Ubuntu 20/04 Desktop - Confirm disk format.

Choose your location and click continue to progress

How to install Ubuntu 20/04 Desktop - Location.

Add your admin user details and select continue to start the instalation

How to install Ubuntu 20/04 Desktop - User details

The installation wizard will now install Ubuntu 20.04:

How to install Ubuntu 20/04 Desktop - Installing.

Click on Restart now to restart the Machine and finish the installation.

How to install Ubuntu 20/04 Desktop - Install finished.

Remove the Installation Media and press enter to restart:

The Machine will now boot to the login screen.

The PC is now ready to log in and start using.

For ideas on what to do next got to my other Ubuntu 20.04 posts HERE.

It is also highly recommended that you check for updates which is covered HERE.