Anwar

Posts

Unknown Failed to write session data (files). Please verify that the current setting of session.save path is correct

Look at your message So first thing it relate to permission open(/var/lib/php/session/sess_isu2r2bqudeosqvpoo8a67oj02, O_RDWR) failed: Permission denied (13) in Unknown on line 0 you have to check...

Ubuntu Linux Delete All Files In Directory

https://www.cyberciti.biz/faq/linux-delete-all-files-in-directory-using-command-line/       Linux Delete All Files In Directory The procedure to remove all files from a directory: Open the terminal application To delete...

Ubuntu install packages as non root user

https://askubuntu.com/questions/1226361/install-packages-as-non-root-user https://pawelgrzybek.com/fix-priviliges-and-never-again-use-sudo-with-npm/ sudo chown -R $(whoami) /usr/local/lib/node_modules sudo chown -R $(whoami) /usr/local/bin sudo chown -R $(whoami) /usr/local/share    

Ubuntu How to Switch Users in Ubuntu and Other Linux Distributions

https://itsfoss.com/switch-users-ubuntu/#:~:text=Here’s%20how%20to%20switch%20users,on%20running)%20for%20current%20user.   It is really simple to switch users in Ubuntu or any other Linux distribution using the terminal. All you need to do is to know...

Ubuntu how to check var size

https://dzone.com/articles/check-directorydirfile-size   #check partition sizes df -h #check directory size du -s -h /var/log/ #check every directory and file sizes under a dir. du -s...

Ubuntu 18.04 Install xRDP the easy way (Scripted Installation)

https://jerrygamblin.com/2016/10/19/ubuntu-remote-desktop-on-digital-ocean/   http://c-nergy.be/blog/?p=11868   https://www.makeuseof.com/tag/how-to-establish-simple-remote-desktop-access-between-ubuntu-and-windows/   Ubuntu Remote Desktop On Digital Ocean 19/10/20164889 Views I use DigitalOcean for a majority of my testing and from time to...

Ubuntu install firefox

sudo apt update $ sudo apt install firefox

Two network adapters on Ubuntu Server 9.10 – Can’t have both working at once

http://serverfault.com/questions/129595/two-network-adapters-on-ubuntu-server-9-10-cant-have-both-working-at-once     5 down vote favorite 1 I’m trying to set up two network adapters in Ubuntu (server edition) 9.10. One for the public...

Tracking the script execution time in PHP

https://stackoverflow.com/questions/535020/tracking-the-script-execution-time-in-php   $time_start = microtime(true);         $time_end = microtime(true); $execution_time = ($time_end – $time_start); echo ‘<b>Total Execution Time:</b> ‘.$execution_time.’ Seconds’;