Skip to main content

Posts

How to Upgrade Your RAM and SSD on Ubuntu: A Complete Guide 2025 - 2026 midway

php uplod_max_size change in php nginx server

Sanjay Tech solutions i have try with all available option but i found easy and short  solution i have WordPress website its hosted on LEMP server i am try to upload 56 mb file so simple steps  access your php environments   how to find ini file   locate php.ini  linux show all file  edit php.ini file    find max-upload  change here     change with current value  ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 60M    resart a php service using command service php7.2-fpm restart  

wordpress domain name migration with LEMP stack (Digital occen ubunatu 16 )

your website running on same server with  ( NGINX and mysql php fpm 7) you dont need to re upload complete website same server you have all access of old website files and database now you need to change a only configuration in WordPress defined site url and home url you can change from database or wp-config.php  file wp-config file change domain URL      define( 'WP_HOME', 'http://example.com' ); define( 'WP_SITEURL', 'http://example.com' ); now you need to set host name  -> /etc/hosts ip  url need to change in nginx sites-available configuration file  change server name  then reload a nginx server sudo systemctl reload nginx

flask app publish in ec2 aws ubantu server

flask app publish in ec2 aws ubantu server you need a flask app code and server access right now i have a server access with .pem key upload a local file to server using terminal  open in terminal -> write a command $  sudo scp -i serverkey.pem flask-code .zip ubuntu@ec2-xx-xxx-xxx-9.us-east-2.compute.amazonaws.com : scp : command -i : option pera *.pem : your server key flask-code.zip : local file ubuntu@ec2.... : server url..... com: your server url after com: file goes to user main dir how to access server $ ssh -i mykey.pem ubuntu@ec2-18-xx-xx-9.us-east-2.compute.amazonaws.com now you access server terminal Run flask code  use tmux for run flask code ' goto terminal : type " tmux " are you using 80 port in flask app code use sudo $

easy to make blog mobile application in andriod and iphone app

easy to make blog mobile application in andriod and iphone app for a blog, news, etc make easily mobile application. wordpress is open source platform to make blog,news, website easily. for mobile application you need a API with Data feed this both feature prebuilt in wordpress website option 1 : using fees you need to enable a wordrpess feed from a wordpress admin site. settings -> reading - Blog pages show at most posts Syndication feeds show the most recent items For each article in a feed, show For each article in a feed, show Full text Summary Search Engine Visibility Search Engine Visibility Discourage search engines from indexing this site It is up to search engines to honor this request.     test feed are working - > yoursite.com/feed option : 2 using json api after your server ip - or site address wp-json/wp/v2/posts/ now you get latest post from wordpress post page data in json f...

ubuntu server free ssl with nginx server

how can create self sign. SSL certificate with Open SSL system requirements. ubunti 16.04 nginx open ssl need complete working Install SSL in NGINX you need correct working nginx sites. - create a SSL directory $sudo mkdir /etc/nginx/ssl - install open SSL completely. $sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt - goto nginx sites configuration $cd /etc/nginx/sites-available $sudo nano default -add SSL crt file in NGINX configuration file. server_name _; ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; - allow to connect https server. Removed comments #. # SSL configuration # listen 443 ssl default_server; listen [::]:443 ssl default_server; ## # You should look at the following URL's in order to grasp a solid understanding # of Nginx configuration files in order to fully unleash the power of Ng...

Good IT technical online courses

1. Udemy: https://www.udemy.com/  2. Coursera: https://www.coursera.org/   3. Lynda: https://www.lynda.com/ 4. Open Culture: http://www.openculture.com/ 5. EDx: https://www.edx.org/  6. Tuts+: https://tutsplus.com/ 7. Udacity: https://www.udacity.com/ 8. Alison: https://alison.com/ 9. Future Learn: https://www.futurelearn.com/programs 10.Open Learn: http://www.open.edu/openlearn/

c90 mysql database import

type command in .bash terminal.  phpmyadmin-ctl install  https://url__.c9users.io/phpmyadmin now phpmyadmin accessible login with your Cloud9 username and a blank password. import db from terminal. mysql -u username -p dbnameallredycreated <sql.sql

Anaconda update error PermissionError(13, 'Permission denied')

sanjay@luck:~$ conda update -n base conda Solving environment: done ## Package Plan ##   environment location: /home/sanjay/anaconda3   added / updated specs:     - conda The following packages will be UPDATED:     conda: 4.4.10-py36_0 --> 4.5.4-py36_0 Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(481): An error occurred while uninstalling package 'defaults::conda-4.4.10-py36_0'. PermissionError(13, 'Permission denied') Attempting to roll back. Rolling back transaction: done PermissionError(13, 'Permission denied') =========== you need to give a writable directory permission. on anaconda install directory. --> $ sudo chmod -R 755 anaconda3 sanjay@luck:~$ sudo chmod -R 777 anaconda3/  ============== sanjay@luck:~$ conda update anaconda-navigator Solving environment: done ## Package Plan ##   environment location: /home/san...

why most of the start-ups fail in last few years

why most of the business fail last some years you know that ? i will explain you? past 20 year all business per doing business developments. now all small company hire a business developer executive. business fail reason : business developer executive. BD executive not from as your industrial background with education.  BD executive not very well know about  product  and service. DB team does not ask your production team from more details. DB team does not about what exactly price for that and tell fix cost. DB team always thinking about i am business owner. we will experts. DB team does know to technical details. DB team tell only cost of product based cost they does not about how much total cost for the product or server.  DB does not how many man power needed.   IF are business Owner you shoud know all the details  how much cost for product. need row martial and cost. man power.  available n=on of resource

moviepy convert : not authorized

site-packages/moviepy/video/VideoClip.py", line 1165, in __init__     raise IOError(error) IOError: MoviePy Error: creation of None failed because of the following error: convert: not authorized `@/tmp/tmp56X4Vc.txt' @ error/property.c/InterpretImageProperties/3405. convert: no images defined `PNG32:/tmp/tmphQviwJ.png' @ error/convert.c/ConvertImageCommand/3210. . .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect Process finished with exit code 1 :- need to comment a /etc/ImageMagick-6$   policy.xml edit   <policy domain="coder" rights="none" pattern="WIN" />   <policy domain="coder" rights="none" pattern="PLT" /> <!-- after add line -->  <!--  <policy domain="path" rights="none...