Category Archive for "Ubuntu"

How to ensure your WordPress site’s security?

What is Security? Fundamentally, security is not about perfectly secure systems. Such a thing might well be impractical, or impossible to find and/or maintain. A secure server protects the privacy, integrity, and availability of the resources under the server administrator’s control. Your website can never be 100% secure. Hackers are always trying new things and discovering new vulnerabilities to exploit. The online world changes quickly and the same is true of security. Good security is about minimizing risk. If anybody…

Read More

How to enable curl at localhost?

What is CURL? CURL is a library that allows you to connect and communicate via a variety of different protocols such as HTTP, HTTPS, FTP, Telnet etc CURL Error Message If curl isn’t running and your trying to run it In php you’ll more than likely be Seeing an error message like : “Fatal error: Call to undefined function curl_init()” How to enable CURL in Apache There are a few ways I found to go about enabling CURL in apache….

Read More

How to enable .htacces in localhost?

Enable htacces localhost – How to Enable htaccess in xampp (localhost)? Just go the Terminal and follow the following steps I enabled mod re-write by typing below command and restart the apache server. sudo a2enmod rewrite Now restart your apache2 by typing below command. sudo /etc/init.d/apache2 restart How to enable .htaccess in windows Using a text editor, open the httpd.conf file. In XAMPP, this file is found in the apacheconf directory Locate the following line of code: #LoadModule rewrite_module modules/mod_rewrite.so…

Read More

Install Apache Web Server on Ubuntu 9.10

This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without trough-out explanations. Install Apache $ sudo apt-get install apache2 Test it Surf to your own server on your own local computer: $ firefox “http://localhost” Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation…

Read More

Install MySQL Server 5 on Ubuntu 9.10

Installing MySQL 5 Server on Ubuntu is a quick and easy process. It almost feels like it should be more difficult. Open a terminal window, and use the following command: sudo apt-get install mysql-server If you are running PHP you will also need to install the php module for mysql 5: sudo apt-get install php5-mysql To create a new database, use the mysqladmin command: mysqladmin create Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation…

Read More

Install Google Chrome In Ubuntu

How to install google chrome using wine .Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. The Chromium codebase is the basis for Google’s Chrome browser. First you can use this tutorial to install chromium in Ubuntu using PPAs and after that you can try any one of the following methods. First you need to download .deb package from here using the following command…

Read More

Recursive Permission Changes

To change the permissions of multiple files and directories with one command. Please note the warning in the chmod with sudo section and the Warning with Recursive chmod section. Recursive chmod with -R and sudo To change all the permissions of each file and folder under a specified directory at once, use sudo chmod with -R user@host:/home/user$ sudo chmod 777 -R /path/to/someDirectory Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation using PHP, XML, MySQL…

Read More

PHPMyAdmin: Wrong permission on config file (Ubuntu)

When I was trying to access my phpmyadmin in Ubuntu OS,I have encountered a problem: Wrong permissions on configuration file, should not be world writable! I was  thinking of some access control error.  I have searched the web and found article containing this error. There are lot of link available there but after get lot of R&D on commands available on Ubuntu, I thaught problem with the access permission with the file config.inc.php is available in phpmyadmin to set the…

Read More