Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Monday, April 4, 2016

Connectify for Ubuntu | Works for Android

The pre-installed Network Manager in Unity does not support Access Point (AP) mode which is required for Android devices. Fortunately, KDE’s connection editor support this mode.

Below is how to do it yourself:

1. Click the link below to bring up Ubuntu Software Center and install kde-nm-connection-editor:

2. Once installed, press Alt+F2 and run command to launch the app:
kde-nm-connection-editor

3. Click Add button and choose “Wireless (shared)” from the drop-down list.
4. Type in a name, ssid, and select Access Point mode. If want, set up a password under Wireless Security tab. Finally, click OK.
5. Click Network Manager applet on Unity panel and then choose “Connect to Hidden Wi-Fi network”, choose the connection you created in previous step and click Connect button.

Turn on WLAN on your Android phone and you’ll see the access point in the list. Click connect and enjoy!





If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

Source

Sunday, November 23, 2014

When installing mysql in linux, why do we create a mysql group and user?



Every process under linux runs under specific user privileges. Services (like MySQL) usually need to open ports and access various system resources during startup, so they are required to be started as root user.

However, it is not safe to have all the processes run under root as it is not required for continuous operation of services, thus it is recommended to create a special user, which will be used to run MySQL service.

MySQL will only be able to access what special user can, and this is going to be limited to MySQL files on the system.

This is usual practice in linux.





If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

Saturday, October 26, 2013

Mac file browser for Ubuntu


I know that many are fans of default file browser in Mac OS. The same is not available for Linux distros. But we have an experimental one. Here is how you install it.

  1. sudo add-apt-repository ppa:marlin-devs/marlin-daily
  2. sudo apt-get update
  3. sudo apt-get install marlin




If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

Sunday, October 20, 2013

Forbidden error before installing drupal

Before starting Drupal installation, if we type http://localhost/sitename in the adress bar and hit enter, sometimes we may get Forbidden error. This happens mostly on Linux boxes.

Cause    : Permissions
Solution : 

  1. sudo chmod -R 777 /var/www/
  2. sudo chmod 777 /var/www/sitename/sites/default/files






If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

[How to] Configure Apache for clean URLs


In Ubuntu, after installing apache2


  1. Open terminal and type a2enmod rewrite hit enter
  2. Type /etc/init.d/apache2 restart  and hit enter.
  3. Type chmod -R 777 /var/www and hit enter






If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

Time zone error in drupal

While installing drupal theme, I encountered an error saying " We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone " . It also suggested me to change the demo_profile.profile file in the Drupal installation folder.

Error Cause :  No timezone available in server system( it can be your personal PC on which Drupal site is hosted ).

Solution :
  1. Open /etc/php5/apache2/php.ini in a text editor like gedit.
  2. Search for the line " date.timezone ". # Mostly it will be in commented state
  3. Change it to " date.timezone = Your Zone " For ex: date.timezone = Asia/Kolkata 
  4. If you are unsure about what to put in place of time zone, goto this link. Search for the region and copy paste the relevant. 
  5. If you are on a hosting server, please ask your administrator to do this for you.


NOTE : This solution is for Drupal installation on a Linux platform.



If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged