- Install Java RunTime
sudo apt-get -y install openjdk-7-jdk
Download & Install Solr from dist directly.
cd ~
mkdir solr
sudo wget http://archive.apache.org/dist/lucene/solr/5.1.0/solr-5.1.0.tgz
sudo tar -xvf solr-5.1.0.tgz sudo cp -R solr-5.1.0/example /opt/solr java -jar server/start.jar
Thursday, May 21, 2015
Apache Solr 5.1 Installation on Ubuntu 14
Friday, May 8, 2015
IIS CPU Processor affinity Calculation Table
accepted
|
First, set smpAffinitized to true.
Processor identification goes from right to left. Starts at processor 0. To set the affinity to the last 12 processors:
Then you convert that to hex:
|
Tuesday, May 5, 2015
SFTP Server and Client
Terminologies
Good resource on key terminalogies has been given in below link
https://www.bitvise.com/public-keys-in-ssh
https://www.bitvise.com/configuring-ssh-server-for-sftp
Points to remember:
1. client will have two keys (Private and public) . Public key need to be shared to server and configured in server under user.
2. Server will have two keys (Private and public) . Both keys will not be shared to anybody. Server will show/send Server host key to client.
3. While Authenticating Client, Server will show the SErver host key.. this need to be verified manually.
4. Filezilla server or client does not support SFTP.
5. Use bitvise for Server and Winscp for client.
6. SFTP ( SSH FTP ) and FTPS are completely different
Monday, May 4, 2015
Amazon EFS ( Elastic File System) vs S3 vs Glacier
EFS
- EFS launched as Network storage device for EC2 Instances with unlimited storage and Pay for Use pricing model.
- Its Available as Preview http://aws.amazon.com/efs/pricing/
- Current pricing is $0.30/GB-Month
- Network filesystem- it can be attached to any number of EC2 Instances and you can expect slight latency
- Expensive than EBS Storage. But you only pay for use.. Let say if you use 5 GB , you just pay for 5 GB. Not the full volume size as in the EBS.
- Amazon claims fully scalable unlimited disk size.
S3 (Simple Storage File System)
- Can be consider as an Backup storage location..
- Cheaper than EFS or EBS Volume. 10% cost of EFS.
- $0.03/GB/Month
Glacier
- Offline backup
- Cheapest Storage
- Need to wait atleast 4 hours if you want your old glacier backup to be available to read it back
- Starts from $0.01/GB/Month
- Good for Long term backup.
For more information about EFS
Labels:
Amazon EFS,
S3
Apache Solr - Installation on windows PC
For windows :
Now you can navigate to http://localhost:8983/solr for Solr Admin UI
- Download Solr zip file from here
- Extract to a folder
- Make sure you have JRE > 1.7
- Navigate to the extracted folder
- To Execute Solr as Windows service:
- bin\solr.cmd start
Now you can navigate to http://localhost:8983/solr for Solr Admin UI
Labels:
Apache Solr
How to set up Amazon S3 to publish Webfonts & overcome CORS Issue
How to set up Amazon S3 to publish Webfonts & overcome CORS Issue
- Go to the Bucket in Amazon S3 Console
- Select the Bucket that you want to enable CORS
- click Properties Tab
- click Permission and then click "Edit CORS config"
- Enter below policy
- <CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
</CORSRule>
</CORSConfiguration>
- Click Save..
- Refresh webfont link ! Thats it .