The FTP credential needed when trying to update WordPress is really annoying. However, to fix that problem is easy. It is related to file and folder ownership and permissions.
File and Folder Ownership
We need to change the file and folder ownership to
www-data. Apply for both user and group otherwise it won’t work.
Usually the folder of web server directory in Linux is
/var/www/yourweb.com/public_html/ we need to change the ownership on public_html itself and files and folders inside it to
$ cd /var/www/yourweb.com/
$ chown -R www-data:www-data *
File and Folder Permission
Same as above, we need to change the file and folder permissions for both public_html and files and folders inside it. But, isn’t it difficult to change those things one by one?
Therefore, we created a guide to change the file and folder permissions recursively in an easy way. For files you need to change the permission to 755 and for folders 644.
Let us know if you still have problem.
Before creating the Let’s Encrypt SSL Certificate you must do the following basic prerequisites first.
- Don’t forget to put your domain inside
- Create NGINX configuration file in
- Create symbolic link to your domain’s NGINX configuration file inside
- Test your setting by executing
$ nginx -t. If all good then restart the server
$ service nginx restart
Let’s go enable your http into https and redirect the http to https forever.
Continue reading Create and Delete SSL Certificate Let’s Encrypt
I’ve discovered the hidden treasure at superuser to change the permission of directories or files recursively in a folder. Not quite simple, but straight. To recursively give directories read & execute privileges:
Continue reading Changing Directory and Files Permission Recursively in Linux
Installing Node.js is not as difficult as a year ago. You can simply install it through your Terminal. First get the installer.
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
And then install it with
$ sudo apt-get install -y nodejs
Continue reading Installing Node.js, NPM, Grunt, and Yeoman in Ubuntu 14.04 LTS
How to install Vodafone K3765 in Ubuntu 10.10? You should install the bcm-install-offline.tar first. It is offline installer, extract it to folder and install it by using this command in your terminal.
If it doesn’t work, you maybe should change it permission to
chmod 755 install.sh
Reboot your computer if it is necessary.
It is very easy about installing CURL to your PHP5 in Ubuntu 10.10 just straight do this in your Terminal.
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt
Restart your Apache Server
sudo /etc/init.d/apache2 restart
Welldone! And special thanks to Ivan Kristianto
It is easy to ZIP multiple files and folders. You should go with this command in your Terminal.
zip -9 -r <filename.zip> <yourfolder>
zip -9 -r sqlfiles.zip mysqlfolder
-9 stands for quality. Lower you set the parameter faster it will zips, but the zip file size will be larger. You can set it -1 to -9 for good sake.
At the first time I was using PrtSc (Print Screen) button to take a screenshot on Ubuntu, but it was not satisfying because it took the entire screen. I want resizeable screenshot with chosen area.
Continue reading How to Take Resizeable Screenshot on Ubuntu’s Terminal
You can connect your VPS with SSH from your Ubuntu Terminal. You only need to install SSH Client on your Ubuntu by running this command on your Terminal.
Continue reading How to Connect VPS with SSH from Ubuntu Terminal
Instead of using Yahoo! Messenger as your chat client, you can use Pidgin. It is containing many of chat client applications in an application (Pidgin).
Pidgin has better functionality than the original chat client of Ubuntu 10.10. You can install Pidgin by following the instruction on Pidgin website.