How to check linux version ?
If you are new to linux and you asked what linux version you are running or is your linux is a 32bit or 64 bits. You can easily answer this by running “uname -a” on your linux box to get the required versionRead More →
If you are new to linux and you asked what linux version you are running or is your linux is a 32bit or 64 bits. You can easily answer this by running “uname -a” on your linux box to get the required versionRead More →
If you cant not login to gmail via your outlook , and you got a message asking you to visit https://support.google.com/mail/bin/answer.py?hl=en&answer=78754 This means your account maybe blocked, you can follow these steps to fix it – login to your gmail via webmail if you see any captcha ,enter it and login to webmail if this step does t fix your problem , go to your Account Settings and change to a new password Hope it helpRead More →
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 can use Login to mysql: mysql -uroot -p Enter your mysql root password Run the following command to disable the replication with master. STOP SLAVE; RESET SLAVE; change master to master_host=”, master_user=”, master_password=”; On the master, if you want to disable the replication you should login to mysql and run : stop master Delete all .bin file in /var/log/mysql Edit /etc/my.inf and remove the replication sectionRead More →
You need to use the –progress option which show progress during file transfer. The syntax is as follows: rsync –progress -avz -e ssh /home/mydir [email protected]:/home/myremotedirRead More →
There are various method to setup multiple of mysql instances on a single linux ubuntu server. In this scope of this page, i will show you the most simple one. You can follow the steps below to get it done: 1. Create separate data and log directories We need to create new directories for our datadir and log folder (if used). Also we need to assign proper permissions on those folders: mkdir /var/lib/mysql2 chown -R mysql.mysql /var/lib/mysql2/ mkdir /var/log/mysql2 chown -R mysql.mysql /var/log/mysql2 2. Create a new mysql configuration file Next we need a separate configuration file. We can start by copying the existing one andRead More →
If you need to create a file with a specific filesize on linux for testing , you can run this command $ truncate -s filesize filename for ex: truncate -s 100MB output.file this will create file 100MB output.fileRead More →
this is because you rodn’t have php-xml on your server, you can install it by running : yum install php-xml or apt-get install php-xml retart your apacheRead More →
error_reporting = E_ALL & ~E_NOTICE => PHP will stop if we have any error related to E_DEPRECATED , it may not show you any warning – very silent – different to debug , this is when we use some old function. error_reporting = EALL & ~E_NOTICE & ~ E_DEPRECATED => it will skip the error and let you continue to run.Read More →
There is a folder windows\system32\config\regback , copy the file system32\config\regback\system to config\system will fix the problem copy c:\windows\system32\config\regback\system c:\windows\system32\config\system confirm the overwrite operation.Read More →
This is a nice extension, it’s much faster than the normal web page. Try it https://chrome.google.com/webstore/detail/omioeahgfecgfpfldejlnideemfidnkc/reviewsRead More →