Archives for Linux - Page 10
Port forwarding for windows filesharing & samba
You need to setup port forwarding for 3 ports : 135-139 for windows , 445 for samba in Linux.
How to set/check my DNS setting on Debian/Ubuntu Linux System?
The DNS server setting for Ubuntu is located on /
Apache: How to force download a file using .htaccess ?
I have some videos that i want other people to download it instead of playing it on the browsers. First, i just try to upload that file to my...
How to create SSL Certificate Request – CSR ?
Login to your Ubuntu, and run the following command: It then will ask you some information for the certificate, fill them in and complete the process. Do...
ipvsadm – load balancer – it changes the weight automatically
Do you have this problem ? – you made the changes in / , – restart ipvsadm : / restart you see the changes : ipvsadm -L But after...
Mysql server – How to disable replication on slave ?
Sometimes, you want to remove the replication , it could be because the replication no longer works, or you don’t want to replicate. Here are some commands that you...
Dumping MySQL Stored Procedures, Functions and Triggers
When you run mysqldump , by default it will not export your procedures or function , if you want to include these info , you need to add –routines...
Command to find CPU usage in Linux
There are 3 commands that we can use sar top mpstats You may need to install sysstat package to use these commands : apt-get install sysstat If you install...
Php: Temp upload files not deleted
Today, my server is out of disk and i see there are lot of files in /tmp , their names are phpXXXX , i know these files are uploaded...
child pid XXXX exit signal File size limit exceeded (25) on apache log
Today I found that Apache on my server was very slow and a lot of child pid xxxx exit signal File size limit exceeded (25) errors in error_log. It...