Network configuration with network manager (nmtui) in CentOS 7

After a fresh installation of CentOS in a new machine, the OS can not automatically connect to the network by default. So, the user/admin should manually change few setting so that the new system can gain a new IP address and connect to the internet.

To start, type nmcli d to check if the NIC card is installed properly.

image

Now the nmtui will open up the network manager setting for the centOS.

image

Choose the Edit a connection option

image

Choose the network interface and activate

image

Now, Click edit to configure the network settings

image

Check on the automatically connect option and OK to exit from network manager

image

Restart the network services

image

Enter the password of the root to commit the changes

image

Use the command IP a to see the IP configuration detail of the interfaces.

image

Ping google.com to check if the machine can connect to the internet.

image

Advertisements

Installing CentOS in VirtualBox

CentOS which stands for Community Enterprise Operating System is a free open source Linux distribution that is similar or compatible with Red Hat Enterprise Linux (RHEL). The latest release as of June 2017 is Centos 7.3 released on April 2017. This post will provide a guide to show the installation step of CentOS tested on VirtualBox. The ISO of this linux distribition can be download from Centos official website which is this.

Ok, Lets start…….

First we insert the installation disk to the machine, in this case virtual optical drive. And boot the machine with the boot device.

The below screen appears. Click on the install CentOS Linux 7 to start the installation.

image

Select the language preference for the installation process

image

The fresh system will prompt to select the installation destination

image

Select the hard disk for the installation if you have more than one disk installed. Also select the partition preferances, in this case weh choose automatically configure partitioning which will automitcally partition all the required partitions such as /, home, swap, var and others.

image

You can secure the disk with the passphrase with encryption

image

Now, the installation destination is configured, so click begin installation to continue with the installation

image

For security reasons, it is necessary to create a new user other than the root user and also set a strong password for the root user.

image

Select the root password and enter a strong password

image

And then select the user creation to create a new user

image

A new user details are being entered its own new password

image

After few minutes, the installation will be complete and the system informs to reboot.

image

The installation will be completed and user needs to login to the system

image

The user is logged in and can start to configure application as per the need.

image

Ubuntu Server 17.04 LTS installation in Virtual Box

Ubuntu has released its latest version named Ubuntu 17.04 Zesty Xapus on April 2017. It now includes Linux kernel 4.10 and systemd-relsoved being the new default DNS resolver. This post presents the guide to install Ubuntu in a fresh system.

After booting the system with Ubuntu operating system which can be downloaded here, the first step is to choose the language.

image

Click on Install Ubuntu Server to start the installation

image

The installation process will use the language that is selected in the next step.

image

Choose the location where the server located

image

The system itself can detect the keyboard layout based on your location, but you can select no to congigure it manually.

image

Now, choose the origin for the keyboard layout from the list given

image

Select the keyboard layout

image

Installer will configure the components selected

image

Type in a name for the new ubuntu server

image

Type in full name of the user

image

Type a unique username for the user

image

Create a password for the user

image

Re-type the password again

image

This shows that a weak password is set. Since, this is just for testing purpose, I will neglect that by clicking NO

image

Few more component being configured

image

Installer automatically detects the time zone. Click YES if its right or NO to set other time zone manually.

image

For Disk partitioning you can manually partition based on your needs or can choose Guided – use entire disk and set up LVM

image

Select the disk for the partition to be performed

image

Click yes to set the changes for the partition

image

The base system is being installed in this phase

image

HTTP proxy information is being asked. Leave blank if none is used

image

The apt is being configured

image

Choose between the three options for server updates requirement

image

Select additional software to be installed with this installation

image

Selected software are being installed

image

Finalizing the installation

image

Select YES to install the boot loader to the master boot record. and when the installation is complete, click continue to reboot the system.

image

The GRUB boot loader can be seen with Ubuntu (Operating System) and Advanced option for Ubuntu (used for repair and troubleshooting OS).

image

The reboot is in process

image

After the reboot, login to the operating system

image

After login, a default message appears giving information about the OS.

image

Lastly, Ubuntu Server 17.04 is successfully installed in a new machine. Hope this will be be helpful to you all Smile

Open Live Writer

Tags

Open Live Writer is a good replacement of Windows Live writer that supports a wide range of blogs such as WordPress and Blogger to name a few. This post will show you to the way to download and install open live writer to your computer. The open source software can be download from here. I use this application to create, and publish my WordPress blogs. And now lets get started!!

Initially, download the software which is just around 5MB in size. Click on the set file to start your installation.

clip_image001

Choose your preferred blogging service. I am choosing WordPress, since I have a blog on WordPress

clip_image002

Add the credentials of your blogging website to allow access

clip_image003

Now, the package will be configured on your PC

clip_image004

The setup is almost done. Name a nickname for your blog

clip_image005

Start writing your blog and post with one click on Publish button that’s on top left menu

clip_image007

The blog will be directly posted on your blog.

clip_image009

Installing Netbean 8.1 in windows platform

Netbean IDE is a powerful Development environment tool which helps programmers to code in java. It itself is build in java but also support other languages such as PHP, C++ and HTML5. It is available is all the platform including Windows, MAC OX and Linux. Originally developed by Sun Microsystem, and later acquired by Oracle. It has prerequisite of Java JDK to run.

Today, I will show basic steps to install Netbean IDE 8.1 in Windows Operating System.

  1. Download Netbeans IDE package from Oracle website for Windows platform which can be found here.
  2. Choose your package based upon your requirement of editions and architecture of your operating system.

Capture

3. Click on the downloaded package to begin installing netbeans.

0

4. Installer will begin your installation

1.0

5. welcome screen, click next to begin

1.1

6. Accept the license agreement

1.2

7. Choose the installation directory or leave it to default

1.3

8. Review your installation summary. You can also enable receiving notification for future updates.

1.4

9. Installing begins

1.5

10. Completing Installation

1.6

11. Installing is now completed.

1.7

12. Open Netbean IDE

1.8

13. The Netbeans windows will look like this belows1.9

Create new project to start programming Java. P.S. enjoy 🙂

How do I Uninstall / Repair .Net Framework 4

Windows Vista and Windows 7 users follow these steps to repair the .NET Framework 4 installation:

  1. Close any currently running applications.
  2. Click Start, and type Uninstall in the Search box and then click Uninstall a program.
  3. Double-click Microsoft .NET Framework 4 Client Profile to launch .NET Framework 4 Client Profile Maintenance dialog.
  4. Select Repair .NET Framework 4 Client Profile to its original state and click Next.
  5. Allow the repair to complete and then click Finish.
  6. Click Restart Now to restart your computer.
  7. Visit Windows Update, and attempt to install updates again.

Windows XP users follow these steps to repair the .NET Framework 4 installation:

  1. Close any currently running applications.
  2. Click Start, click Control Panel and then click Add or Remove Programs.
  3. Click Microsoft .NET Framework 4 Client Profile from the list of installed programs and clickChange/Remove.
  4. Select Repair .NET Framework 4 Client Profile to its original state and click Next.
  5. Allow the repair to complete and then click Finish.
  6. Click Restart Now to restart your computer.
  7. Visit Windows Update, and attempt to install updates again.

GD library in Ubuntu

GB library is a graphics software library formanipulate images which was developed by Thomas Boutell in 1994. The current stable version in 2.1.1 released on January, 2015 written in C language. GD supports numerous programming languages including C, PHP, Perl, Python, OCaml, Tcl, Lua, Pascal, GNU Octave, REXX, Rubyand Go.

To install GD support for PHP in Ubuntu,

  1. Run the following command to install GD:
    sudo apt-get install php5-gd
  2. Restart your Apache web server.

You can check to see if the GD library is enabled by creating a simple phpinfo page on your web server.

  1. Create a new file called

    phpinfo.php
  2. Open this file in Notepad, or your preferred WYSIWYG editor such as Dreamweaver.
  3. Add the following line of code:
    <?php
    phpinfo();
    ?>
  4. Save your file within your local web server.
  5. Open a web browser such as Firefox or Internet Explorer.
  6. In the Address bar, enter the URL to this file.

    Typically, on your local testing server, this will be http://localhost/phpinfo.php.
  7. If the GD library is enabled, the resulting page should display the following section.

IMG_06072015_115859

Skype Login screen Problem

Sometime we face messed up login screen in our Skype application like the snapshot below:

image

There is a easy way to solve this problem is through changing the registry key value for the registry key which is responsible for visual alignment.

Steps To Fix Skype Login Screen Problem-
1. Go to Start and type "Run" and hit enter.
2. Now you will get Run window and type "regedit" in this box and hit OK.

image

3. you will get Registry Editor window, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.css

image
4.Select .css folder and double Click on Registry key "Content Type", by default it has the value data as " application/X-css".

image
5. Change the value data to "text/css" and click on OK. Now Open up the Skype and actual login screen will appear.

image

How to use FortiCloud for logging

FortiCloud (formerly known as FAMS) is a hosted security management and log retention service for FortiGate® and FortiWiFi® devices. It gives you centralized reporting, traffic analysis, configuration management, and log retention without the need for additional hardware and software.
It provides a subset of the FortiAnalyzer™ and FortiManager™ feature set:
• Traffic and application visibility
• Real-time monitoring and alerting
• Hosted log retention
• Reporting and analysis
• Configuration management

Resource: FortiCloud FAQs

ForitNet provides FortiCloud services of limited storage of 1GB of storage data for free. But the free service is restricted to 100 MB of data log per day and can only preserve 30 days of traffic data. You can activate the FortiCloud by initially registering your device. You can add multiple device in your single FortiCloud account. In case, you need to upload more than 1 GB of log storage from a Fortigate/FortiWiFi, you need to purchase a 200GB subscription license based upon the policy prescribed by FortiCloud.

Steps to activate forticloud service free trail

  • Open the FortiCloud website here
  • Click on create account

image

  • Enter the details specified based on your credentials and click send

image

  • Your get a notification to check your confirmation mail in your account.

image

  • Open he link in your mail to confirm the final step of registration

image

  • Open the FortiCloud and login your new login details to enter the dashboard

image

  • Click Add Device to add a Fortigate/FortiWiFi device

image

  • Now your Device will added to the forticloud. Click on the your device displayed in you dashboard to view real time logs of your device.

 

More Coming of FortiCloud. Stay tuned Clock