1) Open terminal and type sudo su and then put in your password 2) Then type ps aux | grep mysql (just copy and paste this) 3) You will need to get the process id of mysql. There should be number near the top, something like 739 or 8827 4) Kill the process using kill […]

Introduction Drupal is a popular content management system (CMS) that is used to quickly deploy websites on sites in an easy to use framework. This guide will cover how to deploy multiple sites from within a single Drupal installation. We will be installing the latest version of Drupal as of this writing (7.23), on an […]

Pick a directory to download the openssl files Download openssl wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz Unzip the openssl package: tar -zxf openssl-1.0.1g.tar.gzcd openssl-1.0.1g./configmakemake testmake install Check openssl versio after installation : openssl version If it shows old version do the steps below. mv /usr/bin/openssl /root/ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl Check the version again:  openssl version

Open xampp/conf/extra/httpd-xampp.conf and look for and adding: <LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow #Deny from all Allow from ::1 127.0.0.0/8 Allow from ::1 xxx.xxx.x.xxx (the computer’s IP address)    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var</LocationMatch> Finally, type the IP address of the computer with xampp in the address bar.   OR For testing purpose, you only have to turn off firewall by /etc/init.d/iptables […]

Full detail of the error you may encounter when you try to run Xampp in the computer that have VMWare installed:  Port 443 in use by “”C:Program Files (x86)VMwareVMware Workstationvmware-hostd.exe” -u “C:ProgramDataVMwarehostdconfig.xml”” with PID 2612! Apache WILL NOT start without the configured ports free! You need to uninstall/disable/reconfigure the blocking application or reconfigure Apache and the […]

/bin (and /sbin) were intended for programs that needed to be on a small / partition before the larger /usr, etc. partitions were mounted. These days, it mostly serves as a standard location for key programs like /bin/sh, although the original intent may still be relevant for e.g. installations on small embedded devices. /sbin, as […]

This installation are full and complete installation for latest release of ffmpeg/mplayer/x264 and other module on 28-12-2009 and tested working on Centos 5.3 x86_64 or rhel server, below installation work for major media script.

Edit the /etc/ld.so.conf file and add the following lines

Continue reading

Make sure you accomplised complete installation of XAMPP, If not, please visit this tutorial (Windows | Linux | Mac OSX).

Open /opt/lampp/lampp restart/httpd-xampp.conf in an editor. Then, look for <LocationMatch> </LocationMatch>, comment the “Deny from all” statement.

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
#Deny from all
Allow from ::1 127.0.0.0/8
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
fe80::/10 169.254.0.0/16

ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

 Reset Xampp with /opt/lampp/lampp restart

Continue reading

For Ubuntu: Create a script in init.d called lampp sudo gedit /etc/init.d/lampp Paste this code on the script and save #!/bin/bash /opt/lampp/lampp start Give -x permissions to the file sudo chmod +x /etc/init.d/lampp Use update-rc.d to install init scripts to all runlevel by typing sudo update-rc.d lampp defaults For CentOS: Open /etc/rc.local using command vi […]

First turn on your computer and access to BIOS immediately . If you don’t know how, please visit this article. After you get in BIOS, open Advanced tab > Restore on AC/Power Loss. Make sure that its value is “Power On“ Finally, Save & exit. If you like to give it a test, unplug your computer […]

Asus notebook, desktop, and laptop

  • Press F2 immediately after powering on.

Acer – Aspire, Power, Veriton, Extensa, Ferrari, TravelMate, Altos

  •     Press Del or F2 immediately after powering on.
  •     The BIOS on the Acer Altos 600 server uses the Ctrl+Alt+Esc key and the F1 key for advanced options.
  •     Older Acer computers may use also use the F1 or Ctrl+Alt+Esc keys to access BIOS.

Compaq – Presario, Prolinea, Deskpro, Systempro, Portable

  •     Press F10 while the cursor in the top right corner of the screen is blinking.
  •     Older Compaq computers may use the F1, F2, F10, or Del key to give access to BIOS.

Continue reading

First of all, you have to make sure that rpmforge repo installed. If not, here is how :

Open the terminal, and enter the following commannds :

Now you have rpmforge repo installed. Then you start install NTFS driver for CentOS by usinig the following command:

  • yum install fuse fuse-ntfs-3g
  • Try this if your rpmforge repo is disabled by default:   yum –enablerepo=rpmforge install fuse fuse-ntfs-3g

After this, you are able to plug any NTFS USB or device to your CENTOS. Enjoy !!!

 

Continue reading

Here is command line that check current version of Mac OSX Sever:  Full:     sw_vers Only product version:   sw_vers | grep ‘ProductVersion:’  Just version number:   sw_vers | grep ‘ProductVersion:’ | grep -o ‘[0-9]*.[0-9]*.[0-9]*’  

Base on my experience,  First download all of files from remote server to local machine.  Down load this application, it will help you to find and remove Malware contents . Zip the clean content, and upload it to your hosting server. 

This command can be used in local directory and remote hosting linux server.   find . -type f -iname “*” -print0 | xargs -I {} -0 chmod 0444 {}

Step 1: Install Lamp for linux environment.    Step 2: Go to ( WordPress website ) download the latest version of WordPress.    Step 3: Extract the WordPress zip file in to Lamp server directory. Using this the following command: “sudo tar zxvf wordpress-x.x.x.tar.gz –directory=/var/www/”   Step 4: Use PHPmyAdmin(recommended) or Mysql terminal to create […]

Step 1: Add Ubuntu-VN repository, Open terminal, and use this command:  $sudo add-apt-repository ppa:ubuntu-vn/ppa   Step 2: Update your system. Use the command: $sudo apt-get update.   Step 3: Install Ibus in your computer. Use the command:  $sudo apt-get install ibus-unikey.   Step 4: In order to start iBus automatically startup. Use the command:  $/usr/bin/ibus-daemon […]

System: Mint Linux 8.0 Step 1: Download the installation file from http://tomcat.apache.org/tomcat-6.0-doc/index.html Step 2: Extract the installation file, (if you want to use terminal in linux, here is the command: “tar xvzf apache-tomcat-6.0.14.tar.gz”) Step 3: move to the extracted folder to “/usr/local/tomcat”( Linux Command: sudo mv apache-tomcat-6.0.14 /usr/local/tomcat) Step 4(optional): If you want the Tomcat […]

What is Lamp ? Lamp is Linux, Apache Http Server, MYSQL, PHP.    Install Lamp in Linux Environment, It’s so freaking easy.    1st way: Open Package Manager, search and install mysql client, mysql server, and apache 2. After installation finishes, restart the system.    2nd way: Open terminal, use the command: sudo apt-get install […]