- sudo /etc/vsftpd.conf
- anonymouse_enable=NO
- local_enable=YES
- write_enable=YES
- chroot_local_user=YES
- chroot_listl_enable=YES
- chroot_list_file=/etc/vsftpd.chroot_list
- sudo vi /etc/vsftpd.chroot_list
- put user into the file
- sudo /etc/init.d/vsftpd restart
Search This Blog
Thursday, March 14, 2013
Enable vsftpd for remote host
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
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.
Subscribe to:
Posts (Atom)