Search This Blog

Thursday, March 14, 2013

Enable vsftpd for remote host


  1. sudo /etc/vsftpd.conf
  2. anonymouse_enable=NO
  3. local_enable=YES
  4. write_enable=YES
  5. chroot_local_user=YES
  6. chroot_listl_enable=YES
  7. chroot_list_file=/etc/vsftpd.chroot_list
  8. sudo vi /etc/vsftpd.chroot_list
  9. put user into the file
  10. sudo /etc/init.d/vsftpd restart

Basic setup for allowing remote login in mysql

1. check sudo mysqladmin variables | grep socket
2. check sudo mysqladmin variables | grep port
3. vi /etc/my.cnf ( make sure bind-address is local address)
4. sudo vi /etc/init.d/mysql restart

5. grant access to any host


Monday, March 11, 2013

Enable WAMP server for file uploading

By default the WAMP server is installed in a different path from php.ini specification. Also your current user in  windows might not allow you to write to the folder. If you tried to use move_uploaded_file in your PHP script and it doesn't work. Please make sure that the upload_tmp_dir is the right location and ENABLE the current user 's permission to write to the www folder or the subfolder where the file gets upload to.

Thursday, February 21, 2013

Packages requried by EDB on Ubuntu

EDB is a useful tool for debugging ELF files.  Here are the packages it requires

1. qt4-qmake
2. libqt4-dev
3.build-essential
4.libboost-math-dev