How to Solve Now

Main menu

Skip to primary content Skip to secondary content
  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
    • Telephone
      • Android
    • Website Design
  • Computer
    • Installation
  • Contact Us

Category Archives: Linux

How to Solve Now > Home > Installation > Linux

Sample nginx vhsot config file

Posted on January 3, 2019 by Janaki in Installation, Linux / 0 Comment(s)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
server{
        listen 80;
        server_name www.yourwebsite.com;
        root /path/to/your/www;
        index index.php;
 
     location / {
                try_files $uri $uri/ =404;
         }
        error_page 404 /404.html;
        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
                root /usr/share/nginx/html;
        }
 
    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
        fastcgi_param  APPLICATION_ENV development; #set it for environment variable
        fastcgi_param APPLICATION_LOGGING false;
    }
}

VMWare shared folder as apache vhost

Posted on November 14, 2018 by Janaki in Installation, Laravel, Linux, PHP, Website Hosting / 0 Comment(s)

Step 1. Find the apache user and group id as

1
2
id -u apache
id -g apache

Step 2: open vmware-tools files add apache user to the shared folder as

1
sudo vim /etc/init.d/vmware-tools

Step 3: Update the following as […]

Install Redis Server in CentOS

Posted on April 10, 2018 by Janaki in Installation, Linux / 0 Comment(s)

Install necessary packages On CentOS 6:

1
yum install wget make gcc tcl

On CentOS 7

1
yum install wget make gcc

Install Redis 3.2 For installing Redis 3.2 you have to download the source file and compile it because Redis 3.2 is […]

Find And Remove Files With One Command in Linux/Unix

Posted on April 1, 2017 by Janaki in Linux tagged linux command / 0 Comment(s)

The basic find command syntax is: find dir-name criteria action dir-name : – Defines the working directory such as look into /tmp/ criteria : Use to select files such as “*.sh” action : […]

  1. Pages:
  2. 1
  3. 2
  4. »

Categories

  • Android (12)
  • API (2)
  • ASP.Net (2)
  • Blackberry (3)
  • C# (4)
  • Cassandra (1)
  • CCIR Service (1)
  • Computer (5)
  • Content Management (1)
  • DBMS (1)
  • E-Mail (4)
  • Excel (2)
  • Explorer (2)
  • Installation (17)
  • Internet (12)
  • iPhone (1)
  • JAVA (4)
  • Javascript (6)
  • JSP (1)
  • Language (2)
  • Laravel (17)
  • Linux (8)
  • Mongo (1)
  • More (13)
  • MySQL (5)
  • Oracle (1)
  • PHP (35)
  • Question Set (1)
  • Reference (4)
  • Salesforce (7)
  • Shoretel (1)
  • SQL (1)
  • Sugar (6)
  • Telephone (7)
  • Web Programming (1)
  • Web Service (3)
  • Website Design (6)
  • Website Hosting (2)
  • Zend (2)

Popular

Install MySQL as window service0 comment(s)
Getting weeks between two dates in MySql0 comment(s)
Back Up MySQL Databases From The Command Line0 comment(s)

want to twitt

  • Connectivity Issues with .IN Registry • Namecheap Status https://t.co/F0b2vWwTL7 via @Namecheap 04:03:49 AM March 27, 2017 from Twitter Web Client ReplyRetweetFavorite
  • CentOs Vagrant Configuration file https://t.co/Ay8ZGxexTU 06:13:44 PM December 27, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Laravel Artisan commands are added to website. check now https://t.co/jOO35sbnwv 12:09:03 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Just setting up my Twitter. #myfirstTweet 12:07:12 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
@xenatasolutions

  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
  • Contact Us
© 2015 How to solve now, powered by Xenata Solutions