How Install 7zip, Extract and Compress 7z Archive on CentOS 6

Add RPMForge repository CentOS 6 32Bit i686

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

or

Add RPMForge repository CentOS 6 64Bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install 7z on Centos 6 or RHEL 6

yum install p7zip

Extract file from Terminal

7za x antorij.7z

Compress on Linux

7za a -mx=9 antorij.7z [your filename or directory]

Cara Cek SHA, CRC dan MD5SUM di Linux

MH5

[root@antorij64]# md5sum antorij.tar.gz
4e22de6c2594debf7b6f1ea229403c8c  antorij.tar.gz

SHA1

[root@antorij64]# sha1sum antorij.tar.gz
9efa85729bd7921a3acc61cfd2dd131a89e222f6  antorij.tar.gz

SHA256

[root@antorij64]# sha256sum antorij.tar.gz
aeee62b11fd7d327e1d12b7f9e946ce9c852295c71b6cfa627c4e973d6b4d57f  antorij.tar.gz

CRC

[root@antorij64]# sha256sum antorij.tar.gz
2985958073 6979852115  antorij.tar.gz

Solution for 413 request entity too large on PHP & Nginx Server

on /etc/nginx/nginx.conf add the following line to server or location or http context to increase the size limit.

client_max_body_size 200M;

 

http {
.....
      client_max_body_size 200M;
.....       
}

 

On /etc/php.ini search the line and set the following directives

;This sets the maximum amount of memory in bytes that a script is allowed to allocate
memory_limit = 32M

;The maximum size of an uploaded file.
upload_max_filesize = 200M

;Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize
post_max_size = 30M

 

Restart or reload your php and nginx server.

service nginx restart
service php-fpm restart
1 2 3 4 5