Linux and Windows IT Support  

dedicated-technology-experts

Windows, Apple and Linux IT support and services.

For Software and Web Development.

Configure network in Ubuntu 18

ubuntu-logoThe network configuration has changed in Ubuntu 18 from all the previous versions. The new version uses Netplan and it is somewhat harder if you don't know yaml. The discussion for pros and cons of this move by Ubuntu can be infinite (why change what's working; this is a tool, I don't want to learn the new ways, etc.), but this is a quick tutorial for quickly changing the IP address. (There's lot of information on Netplan and various things one can do with it)

The network configuration files are located in /etc/netplan. Configuration file can be opened as below:

vim /etc/netplan/50-cloud-init.yaml

With comments removed, this is the configuration data for a simple DHCP setup:

Saturday, 16 March 2019 21:19
 

Bash: determine if the week is odd or even

bash

We regularly post scripts and script snippets that we have found useful in our day-to-day IT support tasks. Here's a quick way to help determine if the week is odd or even using a bash script. You can replace the echo "even" and "odd" with whatever functions you are looking to perform, such as weekly backups for example. Although not tested, this script should also work on any version of Apple's Mac.

Copy and paste this into a file:

Sunday, 27 January 2019 21:35
   

Restoring Grub2

If for some reason your grub has gotten corrupted, here are the steps to restore it.

Boot into a rescue CD (either Ubuntu or System Rescue CD, which you can download freely).

Mount the drive, where sdXY is the partition (eg: /dev/sda1)

Wednesday, 02 January 2019 12:50
   

RDP connection error after updating Windows - CredSSP

Microsoft has release an update for a vulnerability CVE-2018-0886. This update breaks RDP connections, if the server is not patched:

CredSSP-update

Thursday, 10 May 2018 12:14
   

Usage logs are not being deleted (SharePoint)

We've ran into an issue recently, where the *.usage logs were filling up the partitition and not being deleted. This usually happens when the SharePoint Timer Service locks up and is not freeing those logs. To fix this problem, stop the SharePoint Timer Service. Sharepoint will then delete the logs by itself (immediately).

If that does not happen, you can delete them yourself. The logs are located here:

Saturday, 17 March 2018 15:49
   

Postfix drop a particular email

 

Sometimes we have emails going to a particular address, which cannot be stopped. There are many reasons, but most common is an invalid address, which pollutes the mail queue with invalid entries. The simplest way to solve this is by adding a DISCARD directive for postfix.

If you don't have it already, add this line in main.cf

header_checks = regexp:/etc/postfix/header_checks

Create the file (or add to it, if you already have one):

Saturday, 17 March 2018 15:37
   

Prevent programs from starting automatically on boot

There are many instances when programs are starting when the computer boots, bring annoying pop-ups and consuming resources. Most of them have a way to disable that feature, some of the more poorly designed ones do not. There's a way to disable it, using an configuration application called msconfig. It exists in all modern Windows versions:

windows start msconfig

Go to Startup Tab and uncheck any application you don’t want to launch during boot time. Click Apply and then OK.

Saturday, 09 September 2017 22:08
   

Page 1 of 20

<< Start < Prev 1 2 3 4 5 6 Next > End >>
   
Copyright © 1999 - 2019 Virtual Helpme | Techical Support and Maintenance | Original Template: Allrounder