33 articles Linux

Installing SSL Certificate in Glassfish 4

Glassfish uses Keystores (.jks), the certificate files need to be imported into the keystore with the corresponding private key before installation. After Installing SSL Certificate on your Domain, and downloading the SSL Files (Private Key, SSL Certificate, and Intermediate Certificate), we need to upload our SSL files to the Server, and prefer where Java is…

Configuring custom mail server in Plesk with Linux. (The basics) Cloud VPS & Full Cloud & BMC.

To start you will need a domain registered by you that you own, or have control over. The first thing you will do is create a subdomain… Typically, mail.YOURDOMAIN.TLD. (Note: YOURDOMAIN.TLD is an example, and should be replaced with your domain name). Set the A record for mail.YOURDOMAIN.TLD to your server’s IP address. Set the…

Increase LVM Partition to Take Up Remaining Space UBUNTU

(For Cloud VPS, and Cloud servers NOT dedicated) Ubuntu VPS / Cloud Change configuration to the size you want. Then reboot. Via your cloud panel do a snapshot (actions > create snapshot) SSH in and perform the below. fdisk -l Disk /dev/sda: 40 GiB, 42949672960 bytes, 83886080 sectors Units: sectors of 1 * 512 =…

Changing the filesystem from ext to xfs on a Cloud Server

In this guide you will convert your filesystem from ext3/4 to xfs. Please be sure to have another server or host to store your backup file to during this process. 1). Reboot to rescue2). mount /dev/vg00/lv01 /mnt/3). tar -czvf /mnt/backup.tar.gz /mnt/4). scp /mnt/backup.tar.gz root@74.208.1.1:/5). umount /mnt6). mkfs.xfs -f /dev/mapper/vg00-lv017). mount /dev/vg00/lv01 /mnt8). cd /mnt9). scp…

Configure Static IP for Centos 7

How to configure your default IP as static on Centos 7. You will need to SSH into the server, and change directory to /etc/sysconfig/network-scripts/ You will need to edit the ifcfg-eth0 file. Keep in mind that your NIC device may have a different name. Check ifconfig before moving forward. Before editing make sure you make…