≡ Menu
OpenVZ

If you are getting errors like

[[email protected] network-scripts]# ifup venet0
Error: no device found for connection 'System venet0'.
[[email protected] network-scripts]# ifup venet0:0
Error: no device found for connection 'System venet0:0'.

On a centos7 and openvz machine, stop network manager.

[[email protected] network-scripts]# service NetworkManager stop
Redirecting to /bin/systemctl stop NetworkManager.service
[[email protected] network-scripts]# chkconfig NetworkManager off
Note: Forwarding request to 'systemctl disable NetworkManager.service'.
rm '/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service'
rm '/etc/systemd/system/multi-user.target.wants/NetworkManager.service'
rm '/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service'
[[email protected] network-scripts]# /etc/init.d/network restart
Restarting network (via systemctl):
[ OK ]
{ 0 comments }
debian

If you get an error message when running command apt-get update in Debian like this : There is no public key available for the following key IDs… you can fix this error with running the following command :

[email protected]:~$ sudo apt-get install debian-keyring debian-archive-keyring
[email protected]:~$ sudo apt-get update
{ 0 comments }

Backup Mysql with Bash Script

MySQL

Here is how to perform backups on the mysql database by using a bash script:

First step just create a file backup.sh

vi backup.sh

and copy the following scripts into backup.sh file

#!/bin/bash
# Database credentials
 user="databse user"
 password="database password"
 host="localhost"
 db_name="database name"
# Backup location
 backup_path="/home/backup-db"
 date=$(date +"%d-%b-%Y")
# Set default file permissions
 umask 177
# Dump database into SQL file
 mysqldump --user=$user --password=$password --host=$host $db_name > $backup_path/$db_name-$date.sql
# Delete files older than 30 days
find $backup_path/* -mtime +30 -exec rm {} \;

Now you just need to make it executable:

chmod 700 backup.sh

And then add it to the crontab so it’ll run automagically:

crontab -e
0 1 * * * /path/to/backup.sh

In this case it’ll run every day at 1 AM.

{ 0 comments }
debian

Here is Indonesia (kambing.UI.ac.id) Repository for Dotdeb

Step 1. Add the main repository to your sources.list

Depending on your distribution (Wheezy or Squeeze), add these two lines to your /etc/apt/sources.list file (you can also choose a mirror near you) :

deb http://kambing.ui.ac.id/dotdeb/ wheezy all
deb-src http://kambing.ui.ac.id/dotdeb/ wheezy all

or

deb http://kambing.ui.ac.id/dotdeb/ squeeze all
deb-src http://kambing.ui.ac.id/dotdeb/ squeeze all

Step 2. Choose your PHP version options

If you want to install :

PHP 5.6 on Debian 7 “Wheezy” (without Zend thread safety), add these two lines too :

deb http://kambing.ui.ac.id/dotdeb/ wheezy-php56 all
deb-src http://kambing.ui.ac.id/dotdeb/ wheezy-php56 all

PHP 5.6 on Debian 7 “Wheezy” (with Zend thread safety), add these two lines instead :

deb http://kambing.ui.ac.id/dotdeb/ wheezy-php56-zts all
deb-src http://kambing.ui.ac.id/dotdeb/ wheezy-php56-zts all

PHP 5.5 on Debian 7 “Wheezy”, add these two lines too :

deb http://kambing.ui.ac.id/dotdeb/ wheezy-php55 all
deb-src http://kambing.ui.ac.id/dotdeb/ wheezy-php55 all

PHP 5.4 on Debian 6 “Squeeze”, add these two lines too :

deb http://kambing.ui.ac.id/dotdeb/ squeeze-php54 all
deb-src http://kambing.ui.ac.id/dotdeb/ squeeze-php54 all

Step 3. Fetch and install the GnuPG key

wget http://www.dotdeb.org/dotdeb.gpg
sudo apt-key add dotdeb.gpg

Step 4. Enjoy
Run apt-get update. You should now be able to install the Dotdeb packages you want with apt-get (or dselect, or aptitude as well…)

{ 0 comments }
zimbra mail server

Zimbra Mail is a mail server software that can be integrated with calendar, contacts, documents, and chat. Zimbra has the features and performance that is similar to the Microsoft Exchange Server Possession of Microsoft Windows. If the Exchange Server paid , Zimbra has a free version(open-source) and paid version. For the open-source version you can use for free for both personal and corporate. But if you are willing to pay more Zimbra offers a full – backup feature without the need to create a server is down temporarily, and you get a customer – support directly from Zimbra when experiencing problems.

In terms of features Zimbra is a combination of a variety of software including Apache, MySQL, Postfix, OpenLDAP, Clamav Anti Virus and SpamAssassin as a spam filter. Zimbra itself was formed in 2005 , had previously been purchased Yahoo in 2007 and then purchased VMware in 2010. Interestingly ,in addition to the desktop, zimbra can be accessed through mobile devices such as smartphones Apple iOS / Android and Tablets .

The following are the steps to make Mail Server with Zimbra 8 on Ubuntu 14.04 LTS (Trusty)

Step 1: Update /etc/hosts Configuration

Zimbra requires your hostname could resolved well, now try to edit the file /etc/hosts and sould like this

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
192.168.1.11    zimbra.asep.us  zimbra
::1             localhost

Step 2: DNS Configurasion

Hostname and IP address

hostname : zimbra.asep.us
ip : 192.168.1.111

We’ll make an alias, made ​​hostname that reflect the function of the service / services provided .

imap.zimbra.asep.us, imap access
pop.zimbra.asep.us, pop3 access
smtp.zimbra.asep.us, to access the SMTP ( email )
webmail.zimbra.asep.us, to access webmail

$TTL 7200       ; 2 hours
@       IN SOA  ns1.asep.us. zimbra.asep.us. (
                                2009060708 ; serial
                                7200       ; refresh (2 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                10800      ; minimum (3 hours)
                                )       
                        NS      ns1.asep.us.
                        MX  10  zimbra.asep.us.
 
ns1                     A       192.168.1.111
zimbra                  A       192.168.1.111
 
imap                    CNAME   zimbra.asep.us.
pop                     CNAME   zimbra.asep.us.
smtp                    CNAME   zimbra.asep.us.
webmail                 CNAME   zimbra.asep.us.

Step 3: Download and Install the Zimbra Collaboration package

You can download Zimbra Collaboration package at:

Zimbra ISO:

[email protected]:~# wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

Zimbra ISO in Indonesia:
mirror.linux.or.id

http://mirror.linux.or.id/zimbra/binary/8.6.0/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

kartolo.sby.datautama.net.id

[email protected]:~# wget http://kartolo.sby.datautama.net.id/zimbra/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

Extract the package with the next command:

[email protected]:~# tar -zxvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

Install all the dependencies before install Zimbra Collaboration:

[email protected]:~# apt-get update
[email protected]:~# apt-get install libperl5.18 libaio1 unzip pax sysstat sqlite3 resolvconf netcat-openbsd

Remove apache, Postfix dan Bind9 this is done to avoid conflicts with Zimbra 8

[email protected]:~# apt-get remove apache2* postfix* bind9*

Zimbra Instalation

[email protected]:~# cd zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116
[email protected]:~/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116# ./install.sh

Operations logged to /tmp/install.log.8897
Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT FOUND


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra-public-eula-2-5.html



Do you agree with the terms of the software license agreement? [N]==>Yes

Checking for prerequisites...
     FOUND: NPTL
     FOUND: netcat-openbsd-1.105-7ubuntu1
     FOUND: sudo-1.8.9p5-1ubuntu1
     FOUND: libidn11-1.28-1ubuntu2
     FOUND: libpcre3-1:8.31-2ubuntu2
     FOUND: libgmp10-2:5.1.3+dfsg-1ubuntu1
     FOUND: libexpat1-2.1.0-4ubuntu1
     FOUND: libstdc++6-4.8.2-19ubuntu1
     FOUND: libperl5.18-5.18.2-2ubuntu1
     FOUND: libaio1-0.3.109-4
     FOUND: resolvconf-1.69ubuntu1.1
     FOUND: unzip-6.0-9ubuntu1.1

Checking for suggested prerequisites...
     FOUND: pax
     FOUND: perl-5.18.2
     FOUND: sysstat
     FOUND: sqlite3
Prerequisite check complete.

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy


Select the packages to install

Install zimbra-ldap [Y] ==> press enter

Install zimbra-logger [Y]  ==> press enter

Install zimbra-mta [Y] ==> press enter

Install zimbra-dnscache [Y] ==> press enter

Install zimbra-snmp [Y] ==> press enter

Install zimbra-store [Y] ==> press enter

Install zimbra-apache [Y] ==> press enter

Install zimbra-spell [Y] ==> press enter

Install zimbra-memcached [Y] ==> press enter

Install zimbra-proxy [Y] ==> press enter
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-dnscache
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

The system will be modified.  Continue? [N] ==> type Y

Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Server.

Installing packages

    zimbra-core......zimbra-core_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-ldap......zimbra-ldap_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-logger......zimbra-logger_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-mta......zimbra-mta_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-dnscache......zimbra-dnscache_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-snmp......zimbra-snmp_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-store......zimbra-store_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-apache......zimbra-apache_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-spell......zimbra-spell_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-memcached......zimbra-memcached_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
    zimbra-proxy......zimbra-proxy_8.6.0.GA.1153.UBUNTU14.64_amd64.deb...done
Operations logged to /tmp/zmsetup01262015-032746.log
Installing LDAP configuration database...done.
Setting defaults...     MX: zimbra.asep.us (119.235.252.19)

        Interface: 127.0.0.1
        Interface: ::1
        Interface: 127.0.0.2
        Interface: 119.235.252.19
                119.235.252.19
                119.235.252.19
                119.235.252.19
                119.235.252.19
done.
Checking for port conflicts

Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-dnscache:                         Enabled                       
   6) zimbra-snmp:                             Enabled                       
   7) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 [email protected]          
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           [email protected]
        +Enable automated spam training:       yes                           
        +Spam training user:                   [email protected] 
        +Non-spam(Ham) training user:          [email protected]  
        +SMTP host:                            zimbra.asep.us                
        +Web server HTTP port:                 8080                          
        +Web server HTTPS port:                8443                          
        +Web server mode:                      https                         
        +IMAP server port:                     7143                          
        +IMAP server SSL port:                 7993                          
        +POP server port:                      7110                          
        +POP server SSL port:                  7995                          
        +Use spell check server:               yes                           
        +Spell server URL:                     http://zimbra.asep.us:7780/aspell.php
        +Enable version update checks:         TRUE                          
        +Enable version update notifications:  TRUE                          
        +Version update notification email:    [email protected]          
        +Version update source email:          [email protected]          
        +Install mailstore (service webapp):   yes                           
        +Install UI (zimbra,zimbraAdmin webapps): yes                           

   8) zimbra-spell:                            Enabled                       
   9) zimbra-proxy:                            Enabled                       
  10) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

Address unconfigured (**) items  (? - help) ==> type 7


Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    [email protected]          
** 4) Admin Password                           UNSET                         
   5) Anti-virus quarantine user:              [email protected]
   6) Enable automated spam training:          yes                           
   7) Spam training user:                      [email protected] 
   8) Non-spam(Ham) training user:             [email protected]  
   9) SMTP host:                               zimbra.asep.us                
  10) Web server HTTP port:                    8080                          
  11) Web server HTTPS port:                   8443                          
  12) Web server mode:                         https                         
  13) IMAP server port:                        7143                          
  14) IMAP server SSL port:                    7993                          
  15) POP server port:                         7110                          
  16) POP server SSL port:                     7995                          
  17) Use spell check server:                  yes                           
  18) Spell server URL:                        http://zimbra.asep.us:7780/aspell.php
  19) Enable version update checks:            TRUE                          
  20) Enable version update notifications:     TRUE                          
  21) Version update notification email:       [email protected]          
  22) Version update source email:             [email protected]          
  23) Install mailstore (service webapp):      yes                           
  24) Install UI (zimbra,zimbraAdmin webapps): yes                           

Select, or 'r' for previous menu [r] ==> type 4

Password for [email protected] (min 6 characters): [RxAFCmv_V] ==> press enter or you can change with your own password

Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    [email protected]          
   4) Admin Password                           set                           
   5) Anti-virus quarantine user:              [email protected]
   6) Enable automated spam training:          yes                           
   7) Spam training user:                      [email protected] 
   8) Non-spam(Ham) training user:             [email protected]  
   9) SMTP host:                               zimbra.asep.us                
  10) Web server HTTP port:                    8080                          
  11) Web server HTTPS port:                   8443                          
  12) Web server mode:                         https                         
  13) IMAP server port:                        7143                          
  14) IMAP server SSL port:                    7993                          
  15) POP server port:                         7110                          
  16) POP server SSL port:                     7995                          
  17) Use spell check server:                  yes                           
  18) Spell server URL:                        http://zimbra.asep.us:7780/aspell.php
  19) Enable version update checks:            TRUE                          
  20) Enable version update notifications:     TRUE                          
  21) Version update notification email:       [email protected]          
  22) Version update source email:             [email protected]          
  23) Install mailstore (service webapp):      yes                           
  24) Install UI (zimbra,zimbraAdmin webapps): yes                           

Select, or 'r' for previous menu [r] ==> press enter

Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-dnscache:                         Enabled                       
   6) zimbra-snmp:                             Enabled                       
   7) zimbra-store:                            Enabled                       
   8) zimbra-spell:                            Enabled                       
   9) zimbra-proxy:                            Enabled                       
  10) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) ==> type a
Save configuration data to a file? [Yes] ==> press enter
Save config in file: [/opt/zimbra/config.16444] 
Saving config in /opt/zimbra/config.16444...done.
The system will be modified - continue? [No] ==> type Yes
Operations logged to /tmp/zmsetup01262015-032746.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Creating new zimbra-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy SSL certificate...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Setting BES searcher  password...done.
Creating server entry for zimbra.asep.us...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on zimbra.asep.us...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting Master DNS IP address(es)...done.
Setting DNS cache tcp lookup preference...done.
Setting DNS cache udp lookup preference...done.
Setting DNS tcp upstream preference...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on zimbra.asep.us...done.
Adding zimbra.asep.us to zimbraMailHostPool in default COS...done.
Creating domain zimbra.asep.us...done.
Setting default domain name...done.
Creating domain zimbra.asep.us...already exists.
Creating admin account [email protected]..done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user [email protected]..done.
Creating user [email protected]..done.
Creating user [email protected]..done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for zimbra.asep.us...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
        com_zimbra_url...done.
        com_zimbra_email...done.
        com_zimbra_proxy_config...done.
        com_zimbra_ymemoticons...done.
        com_zimbra_mailarchive...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_phone...done.
        com_zimbra_clientuploader...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_webex...done.
        com_zimbra_attachmail...done.
        com_zimbra_viewmail...done.
        com_zimbra_date...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_cert_manager...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_tooltip...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
        The VERSION of zcs installed (8.6.0_GA_1153_UBUNTU14_64)
        The ADMIN EMAIL ADDRESS created ([email protected])

Notify Zimbra of your installation? [Yes] ==> press enter
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.6.0_GA_1153_UBUNTU14_64[email protected]

Notification complete

Setting up zimbra crontab...done.


Moving /tmp/zmsetup01262015-032746.log to /opt/zimbra/log


Configuration complete - press return to exit ==> press enter

Once everything is complete , you can access the web admin page at

https://zimbra.asep.us:7071

Remember, use https instead of http. Login as admin, and password as you have previously set .

And for webmail (access to read email from the web, for user ) .

https://zimbra.asep.us

As we have previously set in DNS.

Thus the step-step how to make Mail Server with Zimbra 8 on Ubuntu 14.04 LTS (Trusty) , may be useful

zimbra webmailzimbra webmailzimbra admin consolezimbra admin console

{ 0 comments }

Android L Lollipop in Moto G is Available Now

android lolipop

After a long awaited , finally an update of Android 5.0.2 Lollipop is present also in the Motorola Moto G first generation. This update is available via over the air ( OTA ) .

Keep in mind, this OTA update will only be available at Moto G which runs stock recovery. If you are already using a custom recovery then it should be returned first to the initial conditions to get this update.

File updates that need to be downloaded to get this update is about 350 Mb. And Motorola recommends to use a stable WiFi connection to download it.

The installation process takes about 15 minutes ( not including the download time ). Make sure the battery Moto G has filled more than half before the installation process.

In a page on Motorola’s website mentioned a number of new things that will be obtained after performing this update. As a brand-new user interface ( Materials Design ), also display notifications on the lock screen as Android Lollipop in general.

Motorola also claims to be an increase in performance on the Moto G. Section, with Lollipop this phone will run Android Runtime brand-new, which is touted to have higher performance, even though it requires a larger data storage.

Lollipop presence for this Motorola mobile phones which had been pending for some time. The company is now owned by Lenovo was argued that the number of bugs in the application Lollipop on Motorola phones are the cause.

ref: inet.detik.com

{ 0 comments }

Dropbox for Windows Phone is Available Now

dropbox

Currently cloud-based data storage application that Dropbox is available for the Windows Phone platform. So Windows Phone users are able to install and use the dropbox app

Cloud storage services like Dropbox is increasingly popular recently due to soaring use of data and mobile devices globally . Many people use it to access, organize, and collect their files .

Windows Phone users will gain some features such as access, edit and share files from Office applications directly from Dropbox. Then, photographs of users will be automatically stored in Dropbox.

Then, by marking files to the list of “favorite”, the user will still be able to access their data although not connected to the Internet (offline) . Users can also access their two Dropbox accounts at once ,either personal accounts or accounts work .

There is now more than 1.2 billion people claimed to use Office to complete its work, and Dropbox has become a repository for 35 billion files of Office .

Dropbox app is now available for Windows Phone 8 or above and can be downloaded through the application store .

{ 0 comments }

Whatsapp Web : Running Whatsapp on Computer

whatsapp

Currently WhatsApp has released the latest update , and the update this time Whatsapp provides new features that we look forward to its presence . Such features are WhatsApp site , where the current Whatsapp application already can you direct access through the browser on your PC or laptop

At this time, WhatsApp Web is only available for Android phones, Windows Phone, Nokia S60, BlackBerry, and BB10 only , and you must use Chrome Browser in order whatsapp can connect to your computer device .

For more information on how to use the Whatsapp Web, you can visit Whatsapp FAQ page

{ 0 comments }

windows10 logoAfter only a few months ago announced , Windows 10 was officially launched by Microsoft . A number of reforms were brought by Microsoft in its latest software of Windows Operating Sistem.

In addition to ensuring the return of the start menu , Microsoft also offered a number of new features were first present in this new OS .

One such feature is Cortana . Yes , when previously this feature can only be found on the Windows Phone , Microsoft’s digital assistant it is now also be found in Windows 10. That is , any PC user will be able to feel the sophistication of Cortana .

Other features offered by Microsoft in Windows 10 is the presence of a new browser called Spartan . The internet browser application also likely replace the Internet Explorer browser which is a mainstay of Microsoft . In addition to have a fresh look , the Spartans also claimed to be a lightweight application .

Interestingly , Microsoft promises Windows 10 will be distributed free of charge to users . Unfortunately it is only applicable for users who are now using Windows 7 or Windows 8 .

So for users of Windows 7 or Windows 8 will just make the upgrade. Even so , this offer is only valid until the next year . After that new users to upgrade to Windows 10 then have to buy .

But though it was officially launched , Microsoft has yet to explain when Windows 10 launched to the market . Because as quoted from PC World , Thursday ( 22/01/2015 ) , starting next week will spread the new Microsoft Windows 10 Preview Build version .

Version of Windows 10 is not final , but the introduction of version for users at once is to obtain input regarding new updates are present in Windows 10 .

{ 0 comments }

Microcaching pada NginX (LEMP) + PHP-FPM

Microcaching merupakan sebuah metode untuk melakukan cache pada hasil proses fastcgi (PHP) dengan memamfaatkan fastcgi_cache yang dimiliki oleh nginX. Sehingga dengan melakukan cache pada hasil proses fastcgi akan membuat website menjadi lebih responsif dan sangat bermamfaat untuk sebuah website yang memiliki banyak concurrent user.

nginx logoDi sini saya coba untuk menjelaskan bagai mana cara membuat sebuah microcaching pada nginx (LEMP) + php-fpm

Hal pertama lakukan instalasi standard Nginx , MySql dan PHP (Untuk auto installer LEMP + WordPress pada ubuntu atau debian bisa menggunakan script ini )

apt-get update
apt-get -y install nginx
apt-get -y install mysql-server mysql-client
apt-get install -y php5-mysql php5-fpm php5-gd php5-cli

Lalu kita ubah configurasi php.ini dan www.conf serta mengubah user dan group pada www.conf dengan menjalan perintah berikut

sed -i "s/^;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php5/fpm/php.ini
sed -i "s/^;listen.owner = www-data/listen.owner = www-data/" /etc/php5/fpm/pool.d/www.conf
sed -i "s/^;listen.group = www-data/listen.group = www-data/" /etc/php5/fpm/pool.d/www.conf
sed -i "s/^;listen.mode = 0660/listen.mode = 0660/" /etc/php5/fpm/pool.d/www.conf

Buat folder untuk cache hasil proses fastcgi

mkdir /usr/share/nginx/cache

Ubah konfigurasi default virtualhost nginx pada /etc/nginx/sites-available/default dan sesuaikan isinya dengan yang berikut, dan jangan lupa untuk menambahkan index.php pada bagian index.

location ~ \.php$ {
		try_files $uri =404;
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_cache  microcache;
		fastcgi_cache_key $scheme$host$request_uri$request_method;
		fastcgi_cache_valid 200 301 302 30s;
		fastcgi_cache_use_stale updating error timeout invalid_header http_500;
		fastcgi_pass_header Set-Cookie;
		fastcgi_pass_header Cookie;
		fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
		fastcgi_pass unix:/var/run/php5-fpm.sock;
		fastcgi_index index.php;
		include fastcgi_params;
}

Setelah itu, buka file /etc/nginx/nginx.conf dan tambahkan baris berikut ini sebelum http{} untuk membuat fastcgi_cache

fastcgi_cache_path /usr/share/nginx/cache/fcgi levels=1:2 keys_zone=microcache:10m max_size=1024m inactive=1h;

Restart nginx dan php5-fpm

service nginx restart
service php5-fpm restart

Demikian pembahasan mengenai microcache atau microcaching pada NginX (LEMP) + php-fpm

Selamat mencoba, semoga bermamfaat.

ref: www.reviewsignal.com

{ 0 comments }