Category Covered

web server run automatically when computer boot  

 I have a network on my office and there is a server computer where we have all the projects. Normally we used to SVN but one attendance application run on that server that need to access by everyone but server is restricted to everyone. But everyone can switch on the computer only.   The project runs on WAMP server. So what I have changed to run the WAMP server at the time of boot.  Here are the instructions to start WAMP servi  
By: Tech writer  |   Total Read: 1297  |   Read more..

git the file will have original ending  

If you get error like "The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in Gemfile." Run the following command, Hope it will work. git config core.autocrlf false  
By: Tech writer  |   Total Read: 1076  |   Read more..

Import mysql database on windows command  

You have to follow the step to restore or import database on local windows desktop or laptop.

Step 1: Open your command line from start->write "cmd" on the input text box and press enter.

Step 2: Now locate to your mysql bin directory here my bin located on "D:\wamp\bin\mysql\mysql5.5.20\bin"

Step 3: Process to local. Press "d:" and enter, then write cd and the path lik  
By: Tech writer  |   Total Read: 858  |   Read more..

How to delete recursive files from shell command  

If you want to delete recursively all folders and files on linux shell script then follow the command. Delete the empty folders $ rmdir letters   Recursive all file and folders delete $ rm -rf letters/   To delete everything including the parent folder use the following command also $ rm -rf letters Hope this will help you to delete recursive files and folders from command line  
By: Tech writer  |   Total Read: 872  |   Read more..

linux delete command  

If you want to delete a folder and its files then follow the command rm -f -r myFolderName here -f : forcely delete, -r recursive all file delete      
By: Tech writer  |   Total Read: 901  |   Read more..

linux copy command  

If you want to copy a folder all files and folder to another folder then follow the command cp -r source/directory/* /destination/directory/ For example cp -r beanmd/* /var/www/mallanza/beanmd/  
By: Tech writer  |   Total Read: 857  |   Read more..

extract shell script command for linux  

Here is the tutorial for unzip shell script command for linux If you want to extract the tar.gz file then use the following shell script command to untar tar -xzf filename.tar.gz  If you want to extract the ZIP file then use the following shell script command to unzip Extract under the folder unzip filename.zip Extract on the same folder unzip -j filename.zip    
By: Tech writer  |   Total Read: 864  |   Read more..

How to see the php version in linux shell command  

  To get the PHP version on linux shell script command just follow the simple command
[root@host ~]# php -v  
By: Tech writer  |   Total Read: 2358  |   Read more..

How to install php using yum in linux server  

  I think you already know about linux environment

login to your server using your credential and use the command
[root@WAP ~]# yum install php

If you would like to upgrade PHP in linux use yum command
[root@WAP ~]# yum update php  
By: Tech writer  |   Total Read: 2504  |   Read more..

how to start restart stop apache server in linux using shell script  

You can do it on several way. Make sure you are logged in to the server

For start apache server
Start Apache 2 Server
or
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start



For restart apache server
Restart Apache 2 Server
or
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
or
Restart Apa  
By: Tech writer  |   Total Read: 4339  |   Read more..
Top 15 Posts
Google+