Posts Tagged ‘HowTo’

Follow the instructions below to shutdown windows server in Rackspace Cloud

Step 1: Reset the Administrator password (Skip this step if you already have Administrator password)

  1. After signing in to Rackspace Cloud account, Go to Servers -> Cloud Servers
  2. In the list of Cloud Servers, click on the gear wheel icon and select Change password to reset the Administrator password

Step 2: Shutdown Server

  1. Copy the IP Address of the Server from the server list.
  2. Open a RDP (mstsc.exe) session with the copied IP Address
  3. To login as Local Administrator type User ID as ./Administrator and Password same as the recently reset password or password at hand
  4. After login, Start-> Shutdown

Step 3: Verify Shutdown

  1. After few minutes, when clicked on the server from server list and resulting page will show the server to be in “Shutoff” status

Install Oracle Java 8 in Linux Mint

Posted: March 3, 2017 in HowTo
Tags: , , , ,
To install Oracle Java 8, follow the steps below
Add the repository to the package list
$ sudo add-apt-repository ppa:webupd8team/java
Update packages in cache
$ sudo apt-get update
Install Java 8
$ sudo apt-get install oracle-java8-installer
Follow the instructions and verify the install as below
$ java -version

 

Finding password rules in AIX

Posted: February 4, 2016 in HowTo
Tags: , , ,

In AIX 5.2, following file holds the password configuration

/etc/security/user

How to setup an user in AIX

Posted: November 30, 2015 in HowTo
Tags: , , ,

Follow the below steps to create a user in AIX and assign to a group.

Step 1: Create a user

mkuser user-name

 
Step 2: Create a group

mkgroup group-name

 
Step 3: Create a home directory

mkdir /home/users/user-name

 
Step 4: Provide permissions to home directory

chown user-name:group-name /home/users/user-name

 
Step 5: Assign home directory to user

chuser home=/home/users/user-name user-name

 
Step 6: Add user to the group

chuser group=group-name user-name

How to mount an ISO image on Linux

Posted: November 29, 2015 in HowTo
Tags: , , , ,

Use the following steps to mount an ISO image on Linux. The commands need to be run as ‘root’

Step 1: Create a directory where ISO would be mounted

# mkdir mount-directory

 
Step 2: Mount ISO image to recently created directory

 # mount -t iso9660 -o loop iso-filename.iso mount-directory

 
Example

# mkdir /mnt/iso
# mount -t iso9660 -o loop /home/users/raj/linux.iso /mnt/iso

Getting list users and groups in AIX

Posted: August 31, 2015 in HowTo
Tags: , , ,

Run the following command to get the list of users and associated groups in AIX environment

$ lsuser ALL

Compare two tables in Oracle

Posted: July 30, 2015 in HowTo
Tags: , ,

Use the following SQL to compare two tables in Oracle

-- rows in table1 that are not in table2
(
  select * from  
    minus
  select * from 
) 
union all
-- rows in table2 that are not in table1
( 
  select * from  
    minus
  select * from 
)