Minimize the current file in Vim
to minimize the current open file in VIM editor in linux:
ctrl + z
Maximize the current file in Vim
to maximize the current open file in VIM editor in linux:
fg [1|2|...]
Linux Command
--------------
service httpd restart
service firewalld status
yum install vim
nmtui // For Network Manager
service network restart
route -n
yum install httpd
wget http://downloads2.goautodial.org/centos/7/goautodial.repo
yum install wget
yum install -y epel-release
yum update -y
yum -y groupinstall "Development Tools"
yum install -y httpd php-common php-pdo php php-pear php-mbstring php-cli php-gd php-imap php-devel phpsysinfo php-mysql phpmyadmin mod_ssl mariadb mariadb-server mariadb-devel perl-DBI perl-DBD-MySQL perl-Digest-HMAC perl-YAML perl-ExtUtils-ParseXS perl-NetAddr-IP perl-Crypt-SSLeay perl-Curses perl-DBD-Pg perl-Module-ScanDeps perl-Text-CSV perl-HTML-Template perl-IO-Compress perl-Text-Glob perl-Jcode perl-Test-Script perl-Archive-Tar perl-Test-Base perl-OLE-Storage_Lite perl-Archive-Zip perl-Net-Server perl-Convert-ASN1 perl perl-Compress-Raw-Zlib perl-Digest-SHA1 perl-Data-Dumper perl-Error perl-ExtUtils-CBuilder perl-Test-Tester perl-Parse-RecDescent perl-Spiffy perl-IO-Zlib perl-Module-Build perl-HTML-Parser perl-Net-SSLeay perl-Proc-ProcessTable perl-TermReadKey perl-Term-ReadLine-Gnu perl-Digest-SHA perl-Tk perl-Net-SNMP perl-Test-NoWarnings perl-XML-Writer perl-Proc-PID-File perl-Compress-Raw-Bzip2 perl-libwww-perl perl-XML-Parser perl-File-Remove perl-Parse-CPAN-Meta perl-Set-Scalar perl-Probe-Perl perl-File-Which perl-Package-Constants perl-Module-Install perl-File-HomeDir perl-Spreadsheet-ParseExcel perl-Mail-Sendmail perl-Spreadsheet-XLSX asterisk-perl perl-version perl-Crypt-DES perl-URI perl-Net-Daemon perl-IO-stringy perl-YAML-Tiny perl-HTML-Tagset perl-Socket6 perl-BSD-Resource perl-PlRPC perl-IPC-Run3 perl-Text-CSV_XS perl-Unicode-Map perl-Module-CoreList perl-Net-Telnet perl-PAR-Dist perl-Date-Manip perl-JSON perl-Proc-Daemon perl-Spreadsheet-WriteExcel perl-rrdtool install lame screen sox ntp iftop subversion asterisk asterisk-configs dahdi-tools dahdi-linux-devel php-xcache
systemctl enable httpd.service; systemctl enable mariadb.service
tar -zxvf SuiteCRM-7.6.6.zip
iptables -L
service iptables stop
elink http://localhost
yum install ifconfig
yum install netstat
ip route show
less /var/log/httpd/error_log
chmod 777 /var/www -R
less /etc/httpd/conf/httpd.conf
chown -R apache:apache *
chown apache:apache SuiteCRM -R
chmod 777 -Rvf SuiteCRM
vim /etc/asterisk/extensions.conf
php composer.phar composer.json
sudo chown -R apache:apache /var/www/html
To change all the directories to 755 (drwxr-xr-x):
find . -type d -exec chmod 755 {} \;
To change all the files to 644 (-rw-r--r--):
find . -type f -exec chmod 644 {} \;
Comments