Keep Blogging

Yesterday, I was quite tired and skipped writing my daily diary. Trust me, I was figuring out to take a nap for about 1 hour and then get back to work. But, I couldn’t 😦

I seriously admire those persons who can prioritize their work and make a perfect balance in between. (Heading towards that)

Starting with the technical aspects, I explored a little bit about LARAVEL. Plus, an interesting tool i.e Invoice Ninja It is a free and opensource invoicing software. You may also refer here

I have made a documentation on this software. You can find it here: GitHub

During the installation and configuration, Whenever I tried to login, it was giving an error:

Whoops, looks like something went wrong

So, I checked the logs and saw an error related to php_curl. For solving it,

sudo apt-get install php5-curl
Then,   sudo service apache2 restart

Also, I have used Sublime editor for the first time and find it really beneficial in searching a text within the whole folder.

sub.png

Oops! an unanticipated action happened. The Apache server stopped working and when I was giving a command to restart it. It was giving an error to check:

systemctl status apache2.service

a1.PNG

Then after figuring out, I found the problem was related to the libphp5 file.

I checked that /usr/lib/apache2/modules/libphp5.so file was missing. I could have found some other solution but just to seek it out quickly, I purged apache2 and then reinstalled it again.

I have also made a simple presentation using reveal-js. You can find it here

Also, I get to know about an enbuilt software in Linux for messaging i.e Empathy Internet Messaging.

 

 

Digging Deeper

Today, was my second day at the firm (counting many more.) I started with exploring different frameworks for PHP. Some of them are:

  • LARAVEL
  • CodeIgnitor
  • CakePHP
  • Lithium
  • Yii
  • Symfony

and much more …..

I have successfully installed and configured CakePHP on my ubuntu virtual box and was accessing it using Windows.

I have followed this link to install and configure CakePHP on my Ubuntu system. (Don’t forget to give permissions to the folder.)

Interesting? I get to familiarize with a new tool today, i.e Samba. Samba is an open source/Free software which gives many powers to the client. It’s used for interoperability between Linux/Unix and Windows users.

sudo apt-get install samba

Then, I have created a folder in /var/www/html with 777 permissions, so that I can access (read+write+execute) the folder from Windows itself. Later on, under configuration file present in /etc/samba i.e smb.conf, I have added my folder details in the end.

[deepti_projects]

path=/var/www/html

read only= no 

printable = yes

guest ok = yes

Command: testparm is used to check whether Samba is configured properly or not.

Finally, On Windows, Start -> Run -> (enter IP address here). You will be able to access your files located on that server using Windows.

Apart from this, I get to know about Putty

Putty is a free/open source application for sharing files over a network. PuTTY includes pscp and plink which serves as SSH and SCP directly through the console window.

Also, I have worked on TTY (teletype, now named as terminal) today and has created a new sudo user:

 sudo adduser <user_name>

Then enter the password. For switching to this user,

su – <user_name>

To delete a user,

userdel <user_name>

Apart from this, just wanna put light on Bitnami

Bitnami Stacks are used to install software on Linux, Windows etc. It is a library of installers and software packages.

 

9th + 10th Day (Century Count)

Hello, lovely people from every nook of this world. Today I am gonna share my experience about the sessions I was pursuing from last 10 days. In the last days of this college training, I have gained some knowledge related to Data Mining and WEKA tool. You can contact Google “Baba” to get acquainted with their  basic functionalities 😛 🙂

I am not gonna discuss about the basic terms related to Mining like Classification, Clustering, Pre-processing etc. One can look up about its definition (I have already suggested the contact :p)

I am here gonna focus on my thought, progress, changes in me and much more. Intially, I guess a year before when I was just a beginner in blogging trend (Still a learner), I used to copy-paste stuff or later on just reading and side by side writing in my language by taking help. So, I am narrating about the changes I have noticed in myself from being a copier to a learner then a writer (still emerging). Plus I am truly in love with this tranformation. It used to raise my confidence level and my trust to accomplish the things I intend for.

Apart from this I helped my fellow batchmates Amisha and Taman in common gmail settings related to reply snipping. For this, just got to settings and under Labs section, enable quote selected text. I also tried installing GUI for Postgresql i.e pgadminIII

 

sudo apt-get install postgresql-9.3-postgis-2.1

 

sudo apt-get install pgadmin3

After this, I have connected this GUI with localhost server.

sudo vim /etc/postgresql/9.x/main/pg_hba.conf

Change the line:

local   all             postgres                                md5

to

local   all             postgres                                trust

Error: I have even uncommented a Database line written before this by mistake. Later on, I commented it again. i.e

Database administrative login by Unix domain socket

Then, restart the server

sudo service postgresql restart

Now, login into psql and set a password

psql -U postgres

ALTER USER postgres with password 'new password';

Now, restart the server again.

w1.png

w2.png

P.S : Yippie, Hit a century 😉

 

 

7th & 8th Day

Ok, so this blog is in continuation to my previous blog related to making a website using WordPress. After setting WordPress environment and installing it on my system. I faced an error saying:

Enter your FTP/SSH Credentials.

I have used FileZilla for setting credentials. I have given my host address, user, and password for a quick connect. It worked 🙂

Furthur at the time of uploading my website on hostinger, I want to delete some of the old content I have already transferred over there. For this, I connect with FileZilla by adding credentials and deleted the stuff.

Later on, I faced error saying:

Unable to locate WordPress theme directory

Still in progress, but for an alternative, I get to know about Jekyll.

Jekyll is a static site generator. It’s simple, light-weight and one can have free hosting from gitlab or GitHub.

Apart from this, I get to know about “diff” command which can find the difference between two different files.

diff file1.txt file2.txt

Also, I was introduced to a Password manager software i.e LastPass

Do you ever get a problem in memorizing all of your passwords? We usually go for browser remembering, but it’s not much secure. Hence, here is a new software which saves your passwords and provides much more features. Though it’s free with limited functionality but is worth trying. (You can suggest any open-source password manager software in below comments 🙂)

Beside, A lecture was delivered regarding Aptitude, Interview and common things related to the placement session.

I have also upgraded cmake today.

sudo -E add-apt-repository -y ppa:george-edison55/cmake-3.x

sudo apt-get update

sudo apt-get install cmake 

The other day we were delivered a talk related to an Android Application. The product was used by municipal corporation and state govt mostly.

It’s related to clicking picture and sending the location of any such problem related to roads, bridges, garbage collection etc. which came under Municipal Judiciary and in this way there overhead to locate the problems will be relaxed. Common people can report through the App and then the action will be taken soon by municipal committee.

 

 

 

 

 

 

 

 

 

 

 

 

 

WordPress Era

Today I tried my hands on one of the popular CMS i.e WordPress. I have installed it locally on my system (ubuntu) and then tried creating a website using wordpress.

I followed this link to install wordpress locally. I faced some of the errors which I am gonna discuss here:

I have created a user to access the database made for wordpress using:

CREATE USER wpuser@localhost IDENTIFIED BY 'password';

Then at the time of edditing details in cofig.php file apart from DB, password, host etc.

One have to put a unique phrase indicated given by terminal :

#define('AUTH_KEY', 'put your unique phrase here');
#define('SECURE_AUTH_KEY', 'put your unique phrase here');
...........                            

Then I need to give permissons to wordpress folder:

sudo chmod 755 -R wordpress/

Also,

sudo chown -R deepti:www-data /var/www/html/wp-content/uploads

Still, this process is going on and I will discuss about making my first website through WordPress in my coming blogs.

Also, I have made a portfolio website using template and just uploaded it on Hostinger (But oops! It provides free hosting service only for a particular duration.)

You may visit: Portfolio

(One can suggest some more free hosting service providers in the comments below 🙂)

Apart from this, for making my experimental server to be shown on browser, I have given permissions to home:

chmod 755 -R .

 

CAD Family

I have been introduced to many CAD related softwares like FreeCAD, LibreCAD, Draft Sight etc.

Apart from this, there is CAD diff, which is a Windows freeware utility for distinguishing between various files of format dxf, dwg, png, gif etc. You may visit here for basic introduction: CAD diff

I am gonna discuss about the errors I got while exploring this utility.

I installed cad_diff. zip file. Maybe, it’s a silly thing but I was looking for extract option and wasn’t able to see it directly after right clicking. Then, I have opened it using WinRAR Archiver (WinRAR is a trialware file archiver utility for Windows. It can create and view archives in RAR or ZIP file formats, and unpack numerous archive file formats.)

Then I extracted the zip folder. The cad_diff is asking for 2 files: An old one and other is new one. So that it can differentiate between the two.

ghgh

It was giving me an error saying: MS Visio missing. 

Then I tried installing MS Visio, which is a diagrammatic and vector graphics application.

After Installation, An error occurs saying uncompatible MS Office with Visio. It was because Office installed was of 32 bit setup and Visio was 64.

Then I took compatible version of office from one of my friend.

It’s solved. But now, opening above cad_diff is not giving any response. Plus through CLI,

it’s giving pop out:

Application components not found.
Please, check for you have unpack application properly.

Here the problem still persists. And later on, I get to know that cad_diff isn’t open source.