How to port forward to SQL Server using AWS NAT

Our SQL Server instance is located within our private subnet in an AWS VPC.  We require remote access to the SQL Server instance on port 1433 for administration purposes.  This can be achieved using  iptables  as follows: 1. Connect to NAT. ssh -i <<nat-keypair>> ec2-user@<<nat-ip-address>> 2. Set up port forwarding using ...
Read More About How to port forward to SQL Server using AWS NAT »

How to use soapUI with Liferay Portal

About Liferay Portal's SOAP services You can see a list of the SOAP services provided by Liferay Portal at the following URL: http(s)://hostname:port/api/secure/axis for example, https://www.permeance.com.au/api/secure/axis . All of the services are listed along with a link to their corresponding WSDL definition. Install soapUI The soapUI application -- either the...
Read More About How to use soapUI with Liferay Portal »

How to add user public sites to robots.txt with Liferay Portal

Liferay 6.1 doesn't have any easy way that I can find to make all users' public sites available in robots.txt. It can be done manually. 1. Generate a list of sitemap entries using the following SQL command. Edit the domain name and the list of users appropriately. mysql -h db-hostname -u db-username -p db-name -N -B -r -e ↵ "select concat('# /web', friendlyURL, char(10), ↵ 'Sitemap:...
Read More About How to add user public sites to robots.txt with Liferay Portal »

How to archive a Google Apps account into another Google account

Copy the Google email and Drive documents for a user into a generic "email-archive" account so you can delete their account. 1. Copy the emails into a dedicated folder using imap_copy : python imapcopy.py -c imap.googlemail.com:993 joe.citizen@permeance.com.au:******* \ imap.googlemail.com:993 email-archive@permeance.com.au:******* \ ...
Read More About How to archive a Google Apps account into another Google account »

How to record a video of a window in Linux

Step 1. Work out the ID of the window to be captured Run xwininfo from a terminal. It will prompt you to click on the target window. After you have clicked on the window, it will log a bunch of details but most importantly the Window ID, for example: xwininfo: Please select the window about which you           would like information...
Read More About How to record a video of a window in Linux »
Showing 1 - 5 of 54 results.
Items per Page 5
of 11