Yesterday, i finished the whole process to built up a completely new LAMP stacks. After that, i am going to import my test server to my production server.

During this transition, i have to upload my sql database dump from my production server 1 to this new server.

Unfortunately, there is a problem for myself that i left off from yesterday’s process. I did not modify any of the PHP configuration. Therefore, i wasn’t able to upload the sql file which size 14MB. By default,t he upload single file is only 2MB.

So, today i am going to dig into this php configuration file and do some modifications.

First, i would go to change the file php.ini. You can run following command to edit the php.ini file. (Sometime it’s stored in /etc/php.ini, but it also could be in /etc/php.d/cgi/php.ini or /usr/local/etc/php.ini)

vi /etc/php.ini

Then use the vi ‘s search function to search for below syntax and modify to suit your needs. (type in /strings to find your keyword and use keybaord i to get into insert mode to modify it one by one.)

memory_limit = 32M
upload_max_filesize = 10M
post_max_size = 20M

here is the search function: i type in /post_max and then hit enter

Then, the cursor will jump to the result it found

After all the modification has been completed, you can do following command to restart the apache

然后问你要不要进行密码设置，输入y然后进行密码设置
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

It doesn’t matter if you are a T-mobile user or not. You probably have heard of the T-mobile Tuesday things going on lately. It is really excited and interesting that T-mobile willing to offer something to their royal customers.

On top of that, many people on line are accusing that T-mobile coverage sucks and speed are slow. To be honest, i have only use Tmo,sprint, AT&T and MetroPCs in my life. By far, Tmo has been the best in class in service representataives plus the growths on their technoliges upgrades. If i live on a mobile service provider that has the same service and have not yet to satifsy me and they have not thinking about going out and making any improvents, i think that sucks.

I think i am off topic already. But just want to say T-mobile network does not sucks..The speed are also pretty amazing. I assume T-mobile is not the best, but its service is soso which is a plus to me already..

Wait…I think i am still off topic. So, with this T-mobile Tuesday APP, you basically getting freebies every tuesday. The first week, i redeemed my one share of T-mobile stock, one warcraft movie ticket as well as a free 2 toppting medium pizza. The pizza is soso, but taste not too bad. The warcraft movie i have been excited about can be one year back when i first heard of they are reasing this movie.

I am jost bored….and think about writing something down when i saw those comments when i was looking about t-mobile tuesday APP.. ROFL.

Somehow i always struggling with the broadcom wireless that i have. This is just coincidence that even after two LAPTOP i have changed, both them came with Broadcom wireless module.

The current laptop i have is a Lenovo Z500. Which equiped with Intel core i5 4200M/8GB RAM/120GBSSD/1THDD. Nowaday, you can get a 6th gen core i laptop with something around $600. Though my laptop still runs pretty fast compare to the 6th gen core i gadgets.

This is really off topic. Now today, my problem is to go through the bottleneck of no drivers exsisting in my laptop with my Ubuntu 15.10 to support.

There is a couple simple command i ran to check whats really going on with my wireless.

First, i kicked off with following command to see the result of what network card avaliable. (wireless modules.)

Noted, above information is very important. In this case, it tells me the correct model and firmware that i have for my broadcom wireless module.

Then, here is the useful command for linux to configue wireless network.

iwconfig

lo no wireless extensions.

enp1s0 no wireless extensions.

The second line could be something similar but it could be different too… (I know some of my co-league would get eth0 for their module.)

Now, we are done with playing around and determining our wireless hardware. Let’s starting with the solutions to fix the wirless driver issue.

Remember the information we get above? The [14e4:4365] (rev 01) is something we would need to deceided which broadcome wireless module firmware we would need for installing with to support the wireless function.

I have been doing some research on self adjusting height on some of my site projects. One of the most challenging one for me is that some of my pages using ifrmae to reference from another page. The problem is, it’s not always diplsy correctly the height and width. it’s been exahusting since i am not majoring in CS and coding is a been hard for me. But i finally get this work well.

I have tried jscripts, it never really works. The problem i suspect is because not all browser using the same language translater. IE or most will redefined the iframe value to 0 and reload it, in another words some others will do it accorindly by the abolute values.

So, i reinstall my ubuntu and decided to go with a somewhat new distribution called Elementary OS. Everything works fine except that my Logitech Mouse is not working. It kinds of feel like the mouse is not pair with my Unify receiver.Here is the solution i found and seemd to work like a charm.

After that, you should be able to find your ltunify in $Home/bin/ltunify. Next thingyou need to do is redirect to this folder and run:
./ltunify pair
The program will probably ask you to turn on and off of your mouse to pair with your Logitech USB receiver.
After that, start enjoy your logitech and ubuntu!
I found it also useful by installing a graphic UI program to manage your unify receiver. This App is call "Solaar".
Go to your software center. (You can just click the left corner and type in "software" to search for software center.)
After you launch the software center APP, click on the "Edit" and select "software source". Navigate to "Other software". Click on "Add..." button, then add following ppa:daniel.pavel/solaar
After doing so, you will need to go to your terminal window and do a "sudo apt-get update". Then you can just type in command "sudo apt-get install solaar".
Once everything is done. you will be able to search for your "solaar" in your application menu.
This program will provide you some possible features provided by your unify receiveras well as the mouse battery level. (This could come in handy if you need to know if you possibly need to change your battery soon or if it still can last a while.)