Warning: Creating default object from empty value in /home/mayankra/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_filesystem.php on line 29

Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/mayankra/public_html/wp-content/plugins/js_composer_salient/include/classes/editors/class-vc-frontend-editor.php on line 653
Which are useful Sudo Commands in Ububntu? - Top Website & Mobile Application Development Team
Notice:Trying to access array offset on value of type bool in /home/mayankra/public_html/wp-content/themes/salient/nectar/helpers/media.php on line 368

Notice: Trying to access array offset on value of type bool in /home/mayankra/public_html/wp-content/themes/salient/nectar/helpers/media.php on line 368

1. set all rights in specific folder :

mayank@abc:~$ cd /var/
mayank@abc:/var$ sudo chmod 777 -R www/abc/

 

2. for stop asking ftp details on plugins.

plz run below command on terminal

cd /var/
sudo chown -R www-data:www-data www

 

3. change rights for www folder in wordpress

sudo chmod -R 777 www/

 

4. Edit config.inc.php file in Ubuntu.

sudo gedit /etc/phpmyadmin/config.inc.php

 

5. mount others project

sshfs goldy@192.168.100.116:/home/goldy /home/amphee/Desktop/nik

 

6. Login into server to assign permission :-

ssh mayank@192.168.100.116

 

7. Mount Directory =

sshfs mayank@192.168.100.116:/home/mayank /home/amphee/Desktop/mayank
sshfs nik@192.168.100.116:/home/nik /home/amphee/Desktop/nik = nik123

 

8. Host Entry Project

1. sudo nano /etc/hosts
2. add url from according to config file.
3. save

 

9. give permission to folder

chmod 777 -R images/

 

10. open phpmyadmin

http://192.168.100.116/phpmyadmin/

 

11. make host entry in ubuntu :-

sudo pluma /etc/hosts

 

 

Leave a Reply