What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-31 11:11:02
how to increase nginx maximum file upload size
sudo nano /etc/nginx/nginx.conf # edit/add the following line client_max_body_size 8M; # put the size that is enough sudo nano /etc/php/php.ini # edit the following upload_max_filesize=8M # also put what is enough Add solution -
Shell/Bash 2021-08-31 01:02:02
debian disable ipv6
#1. Open a terminal window. #2. Issue the command sudo nano /etc/sysctl.conf #3. Add the following at the bottom of the file: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 #4. Save and close ... Add solution -
Shell/Bash 2021-08-30 19:03:02
bash: flutter: command not found
# Tried out all the above methods, but all of them lasted only until # the terminal was open. So I went ahead and directly added it to the # path file permanently. sudo nano /etc/paths # add this to the file /Users/yourUserName/Development/flutter/bin Add solution -
Shell/Bash 2021-08-30 18:26:02
install redis ubuntu
sudo apt update sudo apt install redis-server sudo nano /etc/redis/redis.conf # change "supervised no" to "supervised systemd" supervised systemd sudo systemctl restart redis.service sudo systemctl status redis redis-cli Add solution -
Shell/Bash 2021-08-30 12:06:02
install vscode centos 7
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo nano /etc/yum.repos.d/vscode.repo [code] name=Visual Studio Code baseurl=https://packages.microsoft.com/yumrepos/vscode enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.c... Add solution -
-
Shell/Bash 2021-08-29 14:47:02
Failed to fetch https://packages.sury.org/php/dists/jessie/main/binary-amd64/Packages HttpError404
it because the "jessie" has been removed. to change it, follow this step: sudo nano /etc/apt/sources.list.d/php.list change this line deb https://packages.sury.org/php/ jessie main to this deb https://packages.sury.org/php/ stretch main save Add solution -
Shell/Bash 2021-08-29 13:32:02
Create A Shared Folder On Linux With Samba
sudo apt install samba #Installing Samba sudo service smbd status #Check Samba Service mkdir /home/<username>/mysambafolder #create your shared folder sudo nano /etc/samba/smb.conf #edit this file with nano #add this to the end of the smb.conf file... Add solution -
Shell/Bash 2021-08-29 09:27:02
how to enable ftp on centos 7
sudo yum update sudo yum install vsftpd sudo systemctl start vsftpd //to start the server on boot sudo systemctl enable vsftpd //to allow trafic to port 21 sudo firewall-cmd --zone=public --permanent --add-port=21/tcp sudo firewall-cmd --zone=public --... Add solution