PowerRC's Blog

Posted by:
PowerRC

该同志还没添加个人介绍

4,175

How to enable ISA-L for openstack swift

Here is the script I used under centos 7

1
2
3
4
5
6
7
8
9
10
yum install -y  autoconf automake bzip2 cmake  gcc gcc-c++  libtool make  pkgconfig zlib-devel yasm

wget https://github.com/01org/isa-l/archive/v2.22.0.tar.gz -O /home/isal.tar.gz

cd /home

tar xvf /home/isal.tar.gz

cd isa-l-2.22.0
./autogen.[......]<p class="read-more"><a href="https://www.powerrc.net/how-to-enable-isa-l-for-openstack-swift.html">Read more</a></p>

Posted by:
PowerRC

该同志还没添加个人介绍

2,838

recovery software raid in centos7

1.replace the bad hd

2.sync partition table from the last available drive in the raid

#sfdisk -d /dev/sda | sed ‘s/sda/sdb/g’ | sfdisk /dev/sdb

3.add new partition to the raid
#mdadm –manage /dev/md126 –add /dev/sdb1

4.install grub bootloader to the new drive
#grub2-install /d[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

3,470

How to change Order Number Prefix in Magento2

This is actually a standard feature since magento v1.x
But for some reason , magento team didn’t open it for community version in v2.x

After digging into the codes , I found out it’s actually controlled by a module named “SalesSequence”.
All setting are stored in a database table named “sales_[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

4,824

Netbeans can’t connect to github/gitlab through https url

Usually it’s due to SSL compatitable issue.

Check the log fil of netbeans first according to this FAQ =>http://wiki.netbeans.org/FaqLogMessagesFile

And then following by these three steps.

1.Install unlitimate policy keys for jre
for java 7 =>http://www.oracle.com/technetwork/java/javase/dow[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

3,063

install saio (swift all in one) in centos 7.x

So far as 7/29/2016 for swift version 2.9.1.dev51
According to the official guide here http://docs.openstack.org/developer/swift/development_saio.html , there will be some mismatch packages fail you on installation.

Which means , there are some preparation work you have to do before you follow t[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

4,695

how to compile php7 on fedora 23 with fpm enabled

1.Download source code from php.net ( I prefer bzip2 file , because it’s smaller :p)

2.extract the file (assume the filename is

1
#tar xjvf php-7.0.0.tar.bz2

then you can find files are extract into a folder named php-7.0.0 under the same directory.

3.Need to prepare some devel package before[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

6,377

install lsi msm on centos 7 (server side)

Similar to Centos 6 , but a little bit different on packages you need to install

1.With minimal installation of centos 7 , you need to install and enable sendmail first ( you could choose to use postfix for higher security reason)

1
#yum install sendmail -y
1
#systemctl enable sendmail
1
#systemctl[......]<p class="read-more"><a href="https://www.powerrc.net/setup-lsi-msm-on-centos-7.html">Read more</a></p>

Posted by:
PowerRC

该同志还没添加个人介绍

2,968

The Lake Tahoe

_MG_4252

_MG_4277

_MG_4290

_MG_4302

_MG_4312[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

4,271

Another custom standing desk

Recently , I am looking for a standing desk for myself.
I first look it up on amazon/ebay/walmart , I find that those well made and so called “ergonomics” standing desks , are really really expensive.
So I switch to a custom standing desk to save some money (for my boss , more exactly)
Refer to t[……]

Read more

Posted by:
PowerRC

该同志还没添加个人介绍

3,346

OpenWRT FAQ

1.Q:Why do you compile your own openwrt?
A:Because I can. :p Actually it’s because the official version doesn’t support memory over 900MB , either support more than 1 cpu core. And my machine comes with dual core and 4g memory , so I have to do that to use up all resource.

2.Q:Are you using it[……]

Read more

back up ↑