Skip to main content

Posts

Showing posts from February, 2018

Install and configure Sendmail on Ubuntu

Sendmail installed with basic configuration on Ubuntu. If sendmail isn't installed, install it:  sudo apt-get install sendmail Configure  /etc/hosts  file:  nano /etc/hosts Make sure the line looks like this:  127.0.0.1 localhost yourhostname Run Sendmail's config and answer 'Y' to everything:  sudo sendmailconfig Restart apache  sudo service apache2 restart

Mailwizz Ubuntu Xenial 16.04 Installation Instructions/Script of Nginx + PHP7-FPM + MariaDB

First zip up the contents of mailwizz/latest into a directory named 'mailwizz'. Unless you are running this manually and using the below script as instructions (which I recommend you do), you will want to save the code as a bash script (install.sh) and run on the server you wish to prepare. Move mailwizz.zip into the /tmp directory on your server - I use sFTP with Transmit because I am on mac, but if you're on Windows you can use putty or whatever - or optionally you can throw mailwizz.zip into your dropbox, copy the share/download URL and curl or wget the archive. If you're using the this as an actual install script with bash, you will want to run `chmod a+x install.sh`. Also, because I am terrible - you will want to switch to root before running this script (I know, I know, "one should never work in root" - what the f*** ever:rolleyes:) you may do so by running `sudo su -` and entering your root password if prompted. Alternatively - you may prepend `sudo `...

How To Install Centos Server Remote Desktop

1 Install MATE The following command will install MATE. sudo yum install -y epel-release sudo yum groupinstall -y "MATE Desktop" sudo reboot 2 Install XRDP sudo yum install -y epel-release sudo yum install -y xrdp sudo systemctl enable xrdp sudo systemctl start xrdp 3 Open XRDP port. sudo firewall-cmd --add-port=3389/tcp --permanent sudo firewall-cmd --reload 4 Create ~/.Xclients Create .Xclients in home directory of user to be connected. echo "mate-session" > ~/.Xclients chmod a+x ~/.Xclients ******************************************************************* Uninstall MATE The following command will uninstall MATE. ******************************************************************* $ sudo yum groupremove -y "MATE Desktop" $ sudo yum autoremove -y