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)
Log in with an admin user account:
Click the File Sharing button on the left hand menu:
Click the ADD NEW button:
Fill in the required fields as required:
Click ADD to create the share. The new share will now be in the list of shares.
Click on the Access Control Settings button for the share.
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).
Click ADD to create the access to the folder:
Click SAVE CHANGES to save the changes.
Click SAVE:
Wait for the changes to be saved:
Once saved you will be able to access the share from windows by searching for \\dcipordomainname and clicking enter:
This will then open a new window showing the shares on the DC. Click on the required share and you will enter the 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.
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:
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!
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
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.
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
Type your password and enter.
Enter Y and enter.
Xrdp will be installed:
Once installed the installer will return to the command line:
Enable xrdp to start after reboot and to run now type:
sudo systemctl enable --now xrdp
The command will run and then return to the command line:
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
The rules will be added:
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:
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.
Type in the ip address of the Ubuntu PC and click Connect.
Click Yes.
Type the username and password and click OK.
You will now have access to the linux desktop. Yay.
To log off again just click on the x of the RDP window or log out:
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
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:
Choose the desired keyboard layout and click Continue:
Select the Installation type and update options and click Continue.
Select the disk options and click Install now.
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.
Select where you are and click Continue.
Add the PC and user details and click continue.
the installation will now run:
Click Restart now to reboot the Installation and boot from the PC hard drive:
Remove the Installation Media and press ENTER to reboot:
The PC will now boot to the Ubuntu 20.10 Desktop login page:
Login with the user created during Installation:
If you want to setup online accounts now do so in the Setup wizard other wise click Skip to move to the next wizard.
Choose your preferred option for helping to improve Ubuntu and click Next.
Select Next to move to the next wizard.
Click Done to close the Wizard.
Click Install Now to installed the latest updates.
You will now see the updater icon in the taskbar:
Click the icon to open the software updater.
Click on Details to see all the details:
Wait for the updates to complete. Then click on Restart Now.
The PC will now reboot and install the updates that needed a reboot. Once it it back at the login screen log in again.
The PC is now ready to use.
For more things to do with your new Ubuntu 20.10 Desktop go to my other articles HERE.
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:
Click 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:
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.
Accept the license terms and click Next
Click on Custom to install a clean version of Windows 10
Click next to use the new unallocated space.
Windows 10 will now install.
Click restart now or wait for the timer to restart the PC
Windows 10 will start booting
Select the correct Region and click Yes to continue
Choose the correct keyboard layout and click Yes to continue
Click skip unless you want to add a second keyboard layout in which case click Add layout
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.
To not use a Microsoft account to login click on Offline account
Click on Limited experience to not have to create a Microsoft account
Add the user name and click Next
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
Retype the password and type Next
Select a security questions, type an answer and click Next
Select don’t use speech recognition unless you want it, click Accept
Choose the desired option for location service and click Accept
Select the desired option for Find my device and click Accept
Choose the desired diagnostics settings and Accept
Choose the desired setting for inking and typing and Accept
Choose the desired diagnostics data option and Accept
Choose the desired advertising ID and click Accept
Click Not Now if you do not want Cortana help
Finally the installation will start creating the user profile.
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
Click on Get started to start configuring Edge or Maybe later to not do it now.
Click complete setup
Click Continue without Signing-in
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.
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
Click on the Settings button
Scroll to the bottom and select Update & Security
Click Check for updates and wait for Windows to check if it has any missing updates
Windows will then start installing the updates
If the updater asks for a reboot click Restart Now to reboot:
Updates will then be installed and the PC will be rebooted
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:
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:
Click the Install Button to Start the Install Wizard:
Select the default Keyboard Layout and click Continue to go to the next page.
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.
Again choose the default options for the Disk setup unless you want to do any advanced formatting. Click Install Now to start the installation.
Click on Continue ti format the disk
Choose your location and click continue to progress
Add your admin user details and select continue to start the instalation
The installation wizard will now install Ubuntu 20.04:
Click on Restart now to restart the Machine and finish the installation.
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.