N: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://dl.google.com/linux/chrome/deb stable InRelease’ doesn’t support architecture ‘i386’

  • cd /etc/apt/sources.list.d
  • grep chrome * | grep -v amd64        //grep “chrome” as amd64 or i386
  • dpkg –print-architecture
  • cat /etc/apt/sources.list.d/google-chrome-unstable.list      //make sure the list is exist
  • sudo nano /etc/apt/sources.list.d/google-chrome-unstable.list   //comment the item
Advertisements

Nyoba custom ROM di Samsung S4 GT-I9500

Instal custom ROM dapat dikelompokkan menjadi 3 tahapan berikut ini, sebelumnya yang wajib diketahui adalah kondisi baterei HP harus diatas 60%. Tahapannya adalah :

  1. root-ing dan instal custom recovery
    1. root-ing dilakukan dengan melakukan ROM flashing dengan tool ODIN 3.09 (http://odindownload.com/download/Odin_v3.09.zip).
    2. instal custom recovery, bisa dipilih CWM (ClockworkMod) atauTWRP (Team Win Recovery Project) yang masing-masing bisa diunduh di https://rommanager (CMW) dan di https://twrp.me/Devices/ (TWRP) yang harus di sesuaikan dengan model dan tipe device.
  2. instal custom ROM yang diinginkan seperti:
    1. Resurrection Remix di http://www.resurrectionremix.com/
    2. Infernus di http://forum.xda-developers.com/devdb/project/dl/?id=17028
  3. instal aplikasi Google Apps (agar bisa mengakses PlayStore), yang bisa diunduh di https://s.basketbuild.com/gapps.

 

selamat mencoba …

Setting SSL Comodo on Nginx CentOS 6

  1. to purchase SSL with current information
    open Terminal
  2. openssl req -new -newkey rsa:2048 -nodes -keyout www_something_com.key -out www_something_com.csr

    www_something_com.key = information system for nginx configuration
    www_something_com.csr = current CSR (Certificate Signing Request)

  3. to get an email with PositiveSSL Certificate in zip format contains :

    AddTrustExternalCARoot.crt = Root CA Certificate
    COMODORSAAddTrustCA.crt = Intermediate CA Certificate
    COMODORSADomainValidationSecureServerCA.crt = Intermediate CA Certificate
    www_something_com.crt (that submitted) = PositiveSSL Certificate

  4. to combine all certificate into one file certificate
  5. cat www_something_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > ssl-combine.crt

  6. to store certificate into specified folder
  7. mkdir -p /etc/nginx/ssl/www_something_com/
    mv ssl-combine.crt /etc/nginx/ssl/www_something_com/

  8. to move private key in the same folder with certificate folder
  9. mv www_something_com.key /etc/nginx/ssl/www_something_com/

  10. to point nginx config to the right cert file and to the private key
  11. server {
    listen 443;

    ssl on;
    ssl_certificate /etc/nginx/ssl/www_something_com/ssl-combine.crt;
    ssl_certificate_key /etc/nginx/ssl/www_something_com/www_something_com.key;

    }

  12. to restart nginx
  13. service nginx restart

Setting date and time on CentOS 6

  1. open Terminal
    check current system time/date and zone
  2. type “date”

  3. check zone info
  4. type “ls /usr/share/zoneinfo”

  5. erase current zone
  6. type “rm /etc/localtime”

  7. create file system link new zone to localtime, in this case using ASIA/JAKARTA for zoning area
  8. ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

  9. sync system time with the specified server
  10. ntpdate 0.id.pool.ntp.org