This has happened to me a few times, and it’s not a nice problem to find yourself in. You computer won’t boot, all your filesystem checks tell you you’ve a bad superblock, but you cant seem to find ho…
-
-
Linux: Recover Corrupted Partition From A Bad Superblock
Q. How can I Recover a bad superblock from a corrupted ext3 partition to get back my data? I’m getting following error: /dev/sda2: Input/output error mount: /dev/sda2: can’t read superbloc…
-
NGINX: SELinux Changes when Upgrading to RHEL 6.6 / CentOS 6.6
If you upgrade a running system to Red Hat Enterprise Linux (RHEL) 6.6 or CentOS 6.6, the Security Enhanced Linux (SELinux) security permissions that apply to NGINX are relabelled to a much stricter p…
-
How to find MySQL binary logs, error logs, temporary files?
Have you ever spent a lot of time trying to locate where MySQL keeps some file? Here is a quick way to find all this information in one place. The obvious way is through examining database options in …
-
[DB2] how to use Sequence table
1. describe sequence table describe table syscat.sequences; 2. select sequence information SELECT * FROM syscat.sequences; 3. create sequence CREATE SEQUENCE seq_tab START WITH 1 INCREMENT BY 1 NOMAX…
-
VSFTP install on CENTOS7
1. using yum yum -y install vsftpd db4-utils 2. config vi /etc/vsftpd/vsftpd.conf We need to adjust some basic parameters in this file to increase security and establish our connection options. The fi…
-
install PostgreSQL on CentOS7
1. Install ( 2015-04-21 > 최신 버전은 9.4 ) [root@localhost ~]# rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm http://yum.postgresql.org/9.4/redhat/rhel-7-x…
-
[펌]45 Useful JavaScript Tips, Tricks and Best Practices
http://modernweb.com/2013/12/23/45-useful-javascript-tips-tricks-and-best-practices/ 45 Useful JavaScript Tips, Tricks and Best Practices By Saad Mousliki As you know, JavaScript is the number…
-
[펌]Maven을 넘어 Gradle로 가자.
http://kwon37xi.egloos.com/4747016 Maven을 써 본 사람들은 대부분 느끼리라 생각하지만 매우 경직돼 있고 그로인해 무언가 Maven이 기본 지원하지 않는 빌드 과정을 추가해야 할 경우 고생이 이만 저만이 아니다. 이에, 요즘 Maven 대한 대안이 많이 나오고 있으며 그 중 가장 돋보이는 것이 Gradle(Groo…
-
[펌]Java 에서 DataBase Replication Master/Slave (write/read) 분기 처리하기
http://kwon37xi.egloos.com/ 대규모 서비스 개발시에 가장 기본적으로 하는 튜닝은 바로 데이터베이스에서 Write와 Read DB를 Replication(리플리케이션)하고 쓰기 작업은 Master(Write)로 보내고 읽기 작업은 Slave(Read)로 보내어 부하를 분산 시키는 것이다. 특히 대부분의 서비스는 읽기가 압도적으로 많기 때…