Kayıtlar

Ekim, 2017 tarihine ait yayınlar gösteriliyor

Installing and Configuring ProFTPD on Ubuntu 14.4

To install  ProFTPd  on Ubuntu (or most Debian based) Linux, execute the following command. sudo apt-get install proftpd Installing a GUI Manager for ProFTPd sudo apt-get install gadmin-proftpd sudo rm /etc/proftpd/proftpd.conf we should remove because if we won't be able to run the app. The first time you start gadmin-proftpd, you will need to configure a few settings. All default values should be used unless otherwise noted below: Server Name: off Admin email: your.email@yourdomain.com Enable virtual users: checked Server user: ftpuser Server group: ftpgroup To add a virtual user: Click on the  Users  tab Click the '+Add' button. All settings can remain with their default values except: Username: Enter a username. Password: Enter a password. Group: ftpgroup Click +Add directory Click  File System Click home Click ftpuser Click the Open button Modify the directory permissions as needed. Click the Apply but...

Install VSFTPD, stands for Very Secure File Transfer Protocol Daemon on Ubuntu 16.04.3 LTS

In Ubuntu, the FileZilla server is not available. The VSFTPD is used instead of FileZilla Server. To install this, sudo apt-get install vsftpd Edit /etc/vsftpd.conf file: sudo nano /etc/vsftpd.conf  1.Disable anonymous user login. anonymous_enable=NO 2.Uncomment these two lines. ascii_upload_enable=YES ascii_download_enable=YES 3.Uncomment and enter your Welcome message - Not necessary, It's optional. ftpd_banner=Welcome to OSTechNix FTP service. 4.Add this line the end. use_localtime=YES 5.Save and close the file. Restart vsftpd service to take effect the changes. sudo systemctl restart vsftpd or sudo service vsftpd restart 6.Check if vsftpd service is running or not: sudo systemctl status vsftpd You will see like this  vsftpd.service - vsftpd FTP server    Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled)    Active: active (running) since Mon 2017-10-30 15:10:15 CST; 19s ago   ...

Fork the repository and clone your fork

You could make your changes directly to the master branch in your fork, but when contributing to a public repository, it’s standard practice to make the changes in a non-master branch within the fork. This way, you can easily keep your master branch up-to-date with master of the original repository, and merge changes from master into your branch when you are ready. Note for Windows Users:  The story has grown so large that it exceeds Windows' path length limit. If you encounter an error when cloning you can work around it by modifying a configuration setting. Run this command in git bash:  git config --system core.longpaths true .

Old Notes

Spring Boot Instead of using @EnableAutoConfiguration, @ComponentScan & @Configuration on a class, you could just use only @SpringBootApplication which is equivalent to using @Configuration, @EnableAutoConfiguration and @ComponentScan with their default attributes. http://websystique.com/spring-boot/spring-boot-introduction-hello-world-example/ Eclipse eclipse:clean \\Deletes the .project, .classpath, .wtpmodules files and .settings folder used by Eclipse. eclipse:eclipse \\build the project into eclipse project like structure. JAXB Java Architecture for XML Binding (JAXB) is a Java standard that defines how Java objects are converted from and to XML.JAXB defines an API for reading and writing Java objects to and from XML documents.Using JAXB annotation to convert Java object to / from XML file. Use JAXB to do following stuffs : Marshalling – Convert a Java object into a XML file. Unmarshalling – Convert XML content into a Java Object. SAX SAX (Simple API for XML) is ...

Getting git to work with a proxy server

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 change  proxyuser  to your proxy user change  proxypwd  to your proxy password change  proxy.server.com  to the URL of your proxy server change  8080  to the proxy port configured on your proxy server If you decide at any time to reset this proxy and work without proxy: Command to use: git config --global --unset http.proxy Finally, to check the currently set proxy: git config --global --get http.proxy OR Step 1:  Open Git BASH Step 2:  Look for  .gitconfig , executing following command: git config --list --global --show-origin Step 3:  Copy the below content in  .gitconfig : [http] proxy = http://YOUR_PROXY_USERNAME:YOUR_PROXY_PASSWORD@YOUR.PROXY.SERVER:YOUR.PROXY.SERVER.PORT sslverify = false [https] proxy = http://YOUR_PROXY_USERNAME:YOUR_PROXY_PASSWORD@YOUR.PROXY.SERVER:YOUR.PROXY.SERVER.PORT sslverify ...

Recover saved QuickConnect Passwords in FileZilla

It is under the C:\Users\{user}\AppData\Roaming\FileZilla folder. There is a file recernservers.xml Then find your password that had been hashed base64. Go to  https://www.base64decode.net/  to decode64 password. Holllaaa :)

XAMPP - Port 80 in use by “Unable to open process” with PID 4!

The XAMPP gives error when you start the apache server 12:51:22 PM [Apache] Problem detected! 12:51:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 12:51:22 PM [Apache] Apache WILL NOT start without the configured ports free! 12:51:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 12:51:22 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port just disabled  "BranchCache Service"  in services. Somehow windows updates, this service is triggered in startup, and uses 80 ports. When you check via netstat you could see the system is used this but couldnt understand which service is used.

Process Explorer Replace Task Monitor issue

When Process Explorer is used instead of Task Monitor, somehow you couldn't disable "Replace Task Monitor" in the menu in Process Explorer. Follow these steps below; 1-Open Registry, type regedit.exe in command window. 2-Set "Debugger" data empty under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe