Skip to main content

Posts

Ubuntu Xrdp installation with Mate Desktop

The process for installation of Mate Desktop along with Xrdp on Ubuntu is as follows:  1. Update Repository      sudo apt update 2. Upgrade Ubuntu         Note: If asked to override PAM configuration, select No (and make         sure to select correct boot drive if requested)      sudo apt upgrade 3. Set iptables rules      sudo iptables -A INPUT -p tcp --dport 3389 -j ACCEPT      sudo iptables-save | sudo tee -a /etc/iptables/rules.v4      sudo reboot 4. Install xrdp and Mate Desktop      sudo apt install libgl1-mesa-dri fonts-dejavu mate-session-manager \      mate-panel marco caja mate-terminal mate-applet-brisk-menu \      mate-dock-applet mate-indicator-applet mate-indicator-applet-common \      ubuntu-mate-icon-themes mate-applets-common plank \      mate-hud mate-menu mate-apple...

Apache2 installation on Ubuntu 18.04 lts

Update your system to the latest using below mentioned commands. sudo apt update sudo apt upgrade Installing Apache 2 server Once the system is updated with latest patches , we can install Apache 2 software using   the following command   sudo apt install apache2 Enabling the apache2 service To check if the service is enabled sudo systemctl is-enabled apache2.service If not already enabled we can use the systemctl commmand  as follows: sudo systemctl enable apache2.service Start/Stop/Restart commands for apache2 service: sudo systemctl start apache2.service sudo systemctl stop apache2.service sudo systemctl restart apache2.service To check the status of service: sudo systemctl status apache2.service If you are using ufw firewall we need to open a few ports to access  the apache server using following commands : sudo ufw allow 80/tcp   sudo ufw allow 443/tcp   After opening the ports same can be verified as: sudo ufw status The last step after going thr...

PostgreSQL and pgAdmin4 installation on Ubuntu 18.04 LTS

PgAdmin4 is an open source PostgreSQL management tool  designed for multiple PostgreSQL database versions. It is a  tool   written in python and jquery and can be installed on  Windows, Mac, and Linux. It provides multiple deployment models, can be installed as a desktop application or a server  application running behind the webserver such as Apache2. We're going to install and configure   P gAdmin4 in   'Server Mode' on Ubuntu  18.04 server.  Pre-requisites: root user / sudo  access.  PostgreSQL installation on Ubuntu 18.04 Server To install the PostgreSQL database from the official repository, add the Postgres  key and repository by running following commands wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc \  | sudo apt-key add - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`- pgdg main" >> /etc/apt/sources.list.d/pgdg.list' Update the system sudo apt update I...

Setting up X11 Access to the Solaris GUI Gnome Desktop

How to   access the GUI desktop environment on a Solaris 11 SPARC server from Windows, MAC, Solaris or Linux desktop computer. As most of the time SPARC based servers are installed using the Oracle Solaris 11 Text  Installer (installing the solaris-large-server group of software packages), the desktop  environment is not installed (mostly to keep the system lightweight) . So the only option for connecting remotely to the server is with an SSH client and a command line interface  (Known as Terminal). Most widely used software to connect to a command line is Putty. For beginners , who haven’t worked on any unix/linux system , it takes time to adjust to the commands and syntax of terminals (The so called black screen).   Installation Overview To accomplish our task   we will   follow these three steps: 1. Install the Gnome desktop environment on our SPARC server. Note – If we use the text installation method, the Oracle Solaris Desktop package (solar...

Opening Ports on Ubuntu Firewall

Ubuntu Linux server comes with a default firewall configuration tool i-e ufw. With ufw we can easily configure and use firewall rules on  operating system. Command to check the status of the firewall. sudo ufw status verbose Command to start the firewall service and check the status . sudo ufw enable To allow incoming tcp packets on port 22. sudo ufw allow 22/tcp The command is as follows to open http and  https service ports. sudo ufw allow http We can also leverage ufw service to check all the   installed applications. sudo ufw app list