Sticky

Introduction A “LAMP” stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in aRead More →

Server Requirements The Laravel framework has a few system requirements. All of these requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended that you use Homestead as your local Laravel development environment. However, if you are not using Homestead, you will need to make sure yourRead More →

! [rejected] master -> master (non-fast-forward) error: failed to push some refs to ‘https://linuxsolustion@************* url.git’ hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: ‘git pull …’) before pushing again. hint: See the ‘Note about fast-forwards’Read More →

Clone Data from server to local htdocs,public_html,www. git clone https://linuxsguru@bitbucket.org/yourprojectrepo.git . Git step:- 1. Login git using command git config –global user.name “My Name” git config –global user.email “user@domain.com” 2. Clone the project git clone git@github.com:user/test.git 3. Pull the leatest code git pull origin (branch name) 4. Changes the fileRead More →

sudo nano /etc/apache2/sites-available/default <VirtualHost *:80>         ServerAdmin webmaster@localhost         DocumentRoot /var/www         <Directory />                 Options FollowSymLinks                 AllowOverride None         </Directory>    Read More →

Export all databases via terminal 🙂 ssh root@address user password ******** cd Saving path mysqldump -u root -p –all-databases > all_dbs.sql databases Password *********** Export single databases via terminal 🙂 ssh root@address user password ******** cd Saving path mysqldump -u root -p databases_name > databases_name.sql databases Password *********** IMPOrt singleRead More →

MySQL import got a packet bigger than max_allowed_packet bytes #1153 – Got a packet bigger than ‘max_allowed_packet bytes Step 1:- Open this file my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql max_allowed_packet = 128M (Add this line) Restart mysql sudo /etc/init.d/mysqld restart

Access to the requested object is only available from the local network phpmyadmin sudo /opt/lampp/etc/extra/httpd-xampp.conf Comment “Deny from all” in the following section,      Change file     # # New XAMPP security concept # <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow #Deny from all #Require local Allow from ::1 127.0.0.0/8 \ fc00::/7Read More →

Delete a Database in MySQL on command’s  mysql -u root -p mysql> DROP DATABASE name_database; Or mysqladmin -u[username] -p[password] drop [database] DROP DATABASE ‘name-database’; EXIT;

Press Alt+Ctrl+t  Go to download path the run this command. Download the app Click here sudo apt update sudo apt upgrade sudo dpkg -i file location with extension face Any error like Errors were encountered while processing: Skype Solution sudo apt-get -f install sudo apt update sudo apt upgrade thenRead More →