Creating a Drupal site

Hey Folks

Get your own Drupal site within few minutes and few clicks ๐Ÿ™‚

First install xampp

Go to this link and download xampp according to your operating system -> http://www.apachefriends.org/en/xampp-linux.html\

Then follow these codes –

cd /home/[Username]/Downloads
ls

Now to make installable file execute

chmod +x xampp-linux-1.8.2-0-installer.run

Your file is ready to execute, now to run this file

sudo -s -H
./xampp-linux-1.8.2-0-installer.run

Now you will get a dialogue box to install it, do install

and then type the following command to get started with xampp

sudo /opt/lampp/lampp restart

Here you installed xampp server

Now go to your browser and type the following on address bar

http://localhost/

and you will be redirected to xampp server. Scroll down and check for Drupal in the following list. Click on Drupal to Download.

Now do the following commands

cd 
cd Downloads/
ls
chmod +x <name of the drupal file you downloaded>
./ <name of the drupal file you downloaded>

This will show you another dialogue box to install Drupal. install it and get into your own Drupal site ๐Ÿ™‚

 

Hope this worked for you

Changing Ubuntu’s password

Hello folks, usually we should keep a perfect password for our computer which will safer, secure and easy to remember. But it happens sometimes that you forget your password. This blog will no more offend for forgetting ubuntu’s password. ๐Ÿ™‚

 

Very first thing you need to do is **reboot your computer**

Hold shift key to get into GRUB, for dual booted version they automatically get into GRUB.

Highlight your image of Ubuntu and press E to edit image.

Find out the line starting with linux and at the end of the line Type this command -> rw init=/bin/bash

Then press F10 or ctrl + x to boot and wait for sometime, if it comes as a blank page with a blinking underscore then do all above steps again.

Hope it worked till now …….

Now you get into root mode and type passwd <your username>

You will get an option to enter a new UNIX password, enter your new password and press enter.

REBOOT YOUR SYSTEM ๐Ÿ™‚

Congratulations your are back to ubuntu ๐Ÿ™‚

Installing LAMP server on ubuntu

LAMP is a open source web server to set up websites. It is used to get access to website locally. It include Linux, Apache, Mysql and PHP/Python/Perl.

How to setup a lamp server ?

Installing LAMP is not a difficult task, you just need to copy some codes to your terminal and here it is.

Installing LAMP on ubuntu

Installing Apache

$ sudo apt-get install apache2

To check whether apache is installed or not, you can type http://localhost/ on your address bar and you will be redirected to an apache page.

Installing MySQL

$ sudo apt-get install mysql-server

Installing PHP

$ sudo apt-get install php5 libapache2-mod-php5

Restarting apache

$ sudo /etc/init.d/apache2 restart

Try again to check your localhost

Also you can check about php

$ php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'

 

If you have successfully completed all of these, then congratulations you have installed LAMP in your pc.

 

 

 

” Always hope for the best and work for the worst “

WiFi issue for rtl8723be Drivers

*** This method is only applicable to rtl8723be drivers and for Ubuntu users ***

Greeting Folks

Recently I was having an issue with my laptop which supports rtl8723be driver. It was not getting connected to WiFi network. Then I searched a lot and got a solution for it, although it is not permanent but still it will work for two lines of code ๐Ÿ™‚

For continuing this process you must do the following things :

First of all go to bios setup and then follow –

System configuration -> Boot option -> Secure boot -> Disable

Then you need to install rtlwifi-linux-firmware, open your terminal and follow these codes

$ sudo add-apt-repository ppa:hanipouspilot/rtlwifi
$ sudo apt-get update
$ sudo apt-get install rtlwifi-new-dkms linux-firmware

*set your country code( like for India – IN )

$ sudo iw reg set 'your country code'

Do restart your computer once the country code is set

$ sudo iw reg set IN

Now go to the given link and download or clone the zip file from Github. Also extract that file in your home terminal.

Follow these codes :

$ sudo apt-get install linux-headers-$(uname -r) gcc g++ build-essential dkms git 
 (try to install one by one)
$ sudo reboot
$ cd rtlwifi_new-rock.new_btcoex
$ make
$ sudo make install
$ sudo modprobe -rv rtl8723be

Now copy these following code in your terminal

$ sudo modprobe -v rtl8723be ant_sel=2
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be

Now your system will be okay with WiFi.

To make it permanent follow these codes :

$ echo "options rtl8723be ant_sel=2 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf

 

Hope it worked ๐Ÿ™‚

If any problem occurred then please do a comment.

 

 

 

 

Source : https://chirath02.wordpress.com/

” It’s all fun and games until you lose your WiFi signal “

Google Summer of Code Meet Up In Delhi (2016)

A GSoC meet up was held in Delhi @Codingblock, Pitampura. More than 400 students applied to attend this session but unfortunately only 100 were selected to attend it ( one of them was me ๐Ÿ˜› ). Session started at 03:00 pm till 06:00 pm with lot of talks.

First talk was from Shiven Mian ( GSoC 2016, FOSSASIA ), he gave a brief explanation about GSoC program and also discussed about various organizations. Then he started showing about his GSoC project and described his proposal and ideas to implement. Though he was having only 6 months experience but still he is a contributor to FOSSASIA and his mentor was a co-founder of FOSSASIA : Mario Behling.

In between there was a video conference with Mario Behling, it was one of the best session among all and got some tips to contribute to open source as well as FOSSASIA. He interacted with all of us and asked about our interest to contribute and guided us accordingly.

Second talkย  was from Arnav Gupta ( GSoC 2015 & 2016, FOSSASIA ), he explained about version control system , pull requests , GIT and many more. He shared all his experience in FOSSASIA and how he get into summer of code program.

Third talk was from Harshit Dwivedi ( GSoC 2016, FOSSASIA ), he too shared his experience and some tips to use gitter and other open chat sessions. He also showed his well did proposal ( personally it was one of the best proposal I have ever seen ๐Ÿ™‚ ) and his contributions to FOSSASIA.

Fourth talk was about FOSSASIA’s new application developed by Manan Wason (GSoC 2015 & 2016, FOSSASIA ) and Harshit Dwivedi, there project was to build an app as an open event project. Some more talk sessions from Rakesh Verma, Aayush Arora, Aditya Vyas and Saptak Sengupta.

At last, there was an interactive session but unfortunately due to lack of time and long distance I couldn’t attend that. missed :'(.

Really it was a great session and good experience with these GSoCer fellows.

 

 

 

 

“Don’t just think of contributing , start contributing (</>)”

#dgplug Sessions ( based on linux )

Recently a linux users group from Durgapur is conducting a new program on IRC free chatnode #dgplug. Basically this program is for 3 months and there motto is to increase the number of linux developer and making them a pro in this line.

Every year this program starts in the month of June. This time it started on 19th June 2016.

First day it was an introduction session. Later on it started with introduction to terminal and bash. Then we got to know about oh-my-zsh also many other terminal codes. They also startedย  Python session from the basic level.

This session will improve our mail etiquette and it will also help us to get familiar with IRC chatnodes.ย  ๐Ÿ™‚

Till now there are nearly 100 users and everyday it increases, if anyone is interested then register in IRC and start following #dgplug freenode.

 

 

 

” Happy Codingย  </> ; “

Switching to zsh from bash

Terminal ( a more common word bash ) is very common in the world of linux.

What is zsh ?

The Z shell (zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. It improves the ability of bash i.e built in shell in linux; it makes a shellย ย  more interactive using more than 140 themes.

Installing zsh –

Things to be required to before migrating

  1. Any linux disro
  2. Installed git ( $sudo apt-get install git )
  3. Installed curl or wget ( $sudo apt-get install curl or wget )
  4. Installed zsh latest version ( $sudo apt-get install zsh )

Installing oh my zsh –

via curl : $sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget : $sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

For manual installation –

First we need to clone the repository :
$git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
Creating a new zsh file for configuration :
$cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Finally for changing your shell :
$chsh -s /bin/zsh
For upgrading oh my zsh manually :
upgrade_oh_my_zsh
For executing bash while using zsh :
$exec bash
$exec zsh

Further we can configure it in ~/.zshrc file.