Tuesday, May 20, 2014

code 127 --> sh: /usr/bin/expect: not found

 sh: /usr/bin/expect: not found

Install expect on your Linux system.

If you are using ubuntu or debian, Run
sudo apt-get install expect

If you are using CentOS, fedora or RHEL, Run
sudo yum install expect

ftp server vsftpd - Allow root login

 
By Default, root is not able to access ftp because it's name in the list of /etc/ftpusers or /etc/vsftpd/ftpusers
Remove root from the list. Save the file.
Restart vsftpd.
root will be able to log-in using ftp.

If you are using CentOS, fedora or RHEL and still you are not able to log in as root in your ftp server.
Add following line in the file vsftpd.conf
userlist_deny=YES
Remove user root in file /etc/vsftpd/user_list 
Restart vsftpd.
root should be able to log-in using ftp.
 
You can see the solution in the following video.
 


Friday, May 16, 2014

Open XAMPP control Panel - A GUI interface

XAMPP Control Panel - A GUI Interface

If you do not want to start/stop/restart xampp using command line, you can do it using UI interface. Just click on the button and your service will be started/stopped.

If you are using new XAMPP
To open XAMPP's control Panel (GUI interface), Run following command.
cd /opt/lampp && sudo ./manager-linux.run
If you are using older versions of XAMPP, Run following command.
gksu /opt/lampp/share/xampp-control-panel/xampp-control-panel

You can create launcher for this command. Whenever you run the launcher, it launches the XAMPP control panel.