Linux Root Command - Linux Support BD

Linux Root Command

    1  ssh-keygen
    2  ssh-copy-id borhanit@172.16.253.245
    3  exit
    4  cd
    5  ssh hashem@192.168.144.165
    6  ssh-copy-id hashem@192.168.144.165
    7  ssh-keygen
    8  ssh-copy-id hashem@192.168.144.165
    9  nano /etc/shells
   10  useradd test -d/home/myftp -s/bin/false
   11  passwd test
   12  cd ..
   13  mkdir myftp
   14  cd myftp/
   15  mkdir Upload Download
   16  chmod 777 Upload/
   17  chmod 755 Download/
   18  nano /etc/proftpd/proftpd.conf
   19  gedit /etc/proftpd/proftpd.conf
   20  cd
   21  exit
   22  cd
   23  cd /var/www/html/suitecrm/
   24  composer install
   25  apt install composer
   26  composer install
   27  sudo nano /etc/apache2/sites-available/suitecrm.conf
   28  sudo a2ensite suitecrm.conf
   29  sudo a2enmod rewrite
   30  sudo apt-get install python-certbot-apache
   31  sudo nano /etc/apache2/sites-available/suitecrm.conf
   32  cd
   33  chmod -R 777 /var/www/html/
   34  chmod -R 777 /var/www/html/info.php
   35  chmod -R 777 /var/www/html/
   36  chmod -R 777 /var/www/html
   37  cd /var/www/html/suitecrm/
   38  sudo nano /etc/apache2/sites-available/suitecrm.conf
   39  chown -R www-data:www-data /var/www/html/
   40  chmod -R 755 /var/www/html/
   41  apt-get install php7.0-xml php7.0-mbstring php7.0-zip
   42  service apache2 restart
   43  apt-get install php7.0-imap php7.0-gd php7.0-curl
   44  gedit /etc/php/7.0/apache2/php.ini
   45  chmod -R 755 /var/www/html/
   46  chmod -R 777 /var/www/html/
   47  gedit /etc/php/7.0/apache2/php.ini
   48  service apache2 restart
   49  chmod -R 777 /var/www/html/
   50  sudo nano /etc/apache2/apache2.conf
   51  cd
   52  cd /var/www/html/
   53  cd suitecrm/
   54  gedit /etc/apache2/apache2.conf
   55  chmod -R 777 /var/www/html/
   56  service apache2 restart
   57  gedit /etc/php/7.0/apache2/php.ini
   58  chmod -R 777 /var/www/html/
   59  chmod -R 777 /var/www/html/suitecrm/
   60  gedit /etc/php/7.0/apache2/php.ini
   61  apt-get install php7.0-imap php7.0-gd php7.0-curl
   62  sudo nano /etc/apache2/sites-available/suitecrm.conf
   63  chmod -R 777 /var/www/html/suitecrm/
   64  gedit /etc/php/7.0/apache2/php.ini
   65  chmod -R 777 /var/www/html/suitecrm/
   66  sudo crontab -e -u ultrav
   67  cd /home
   68  restart
   69  init6
   70  ls
   71  ssh-copy-id rony@172.16.253.116
   72  cd
   73  exit
   74  cd
   75  nano /bin/bash
   76  gedit
   77  gedit  #!/bin/bash
   78  vim.tiny  #!/bin/bash
   79  cd
   80  chmod +x hello.sh
   81  exit
   82  chmod +x hello.sh
   83  ./hello.sh
   84  gedit hello.sh
   85  chmod +x hello.sh
   86  ./hello.sh
   87  gedit hello.sh
   88  chmod +x hello.sh
   89  ./hello.sh
   90  chmod -R 777 /var/www/html/Register/
   91  cd /var/www/
   92  ls -lthr
   93  ls -l
   94  ls
   95  cd html/
   96  ls
   97  ls -l
   98  cd Register/
   99  ls -l
  100  chown root:root .
  101  ls -l
  102  chown -R root:root .
  103  ls -l
  104  cd ..
  105  ls -l
  106  cat /etc/hosts
  107  vi /etc/hosts
  108  /etc/init.d/apache restart
  109  /etc/init.d/apache2 restart
  110  ls -l /var/www/
  111  chown -R root:root /var/www/
  112  cd Register/
  113  ls
  114  ls -l
  115  chown -R www-data:www-data /var/www/
  116  cat /etc/hosts
  117  vi /etc/hosts
  118  cat /etc/hosts
  119  /etc/init.d/apache2 restart
  120  cd /var/`
  121  cd /var/
  122  ls -l
  123  ls -l www
  124  cd www/
  125  ls
  126  ls -l
  127  cd html
  128  ls -l
  129  cd
  130  exit
  131  cd
  132  apt-get remove phpmyadmin
  133  apt-get purge phpmyadmin
  134  apt-get purge php*
  135  apt-get purge mysql-server
  136  apt-get purge apache2
  137  apt-get purge mysql-server
  138  apt-get install mysql-server
  139  apt-get install apache2
  140  apt-get install php*
  141  apt-get install php7.2
  142  apt-get install phpmyadmin
  143  mysql_secure_installation
  144  mysql -u root -p
  145  gedit /etc/php/7.2/apache2/php.ini
  146  Include /etc/phpmyadmin/apache.conf
  147  gedit  /etc/apache2/apache2.conf
  148  sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
  149  sudo /etc/init.d/apache2 reload
  150  ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
  151  cd /var/www/
  152  sudo svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin
  153  svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin
  154  apt install subversion
  155  svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin
  156  cd
  157  cd /var/www/html
  158  wget https://files.phpmyadmin.net/phpMyAdmin/4.6.5.2/phpMyAdmin-4.6.5.2-all-languages.zip
  159  chmod -R 755 /var/www/html/
  160  cd
  161  ssh-keygen
  162  ssh-copy-id borhan@172.16.253.244
  163  ssh-copy-id borhanit@172.16.253.244
  164  cd
  165  apt-get install php-mysql
  166  apt-get install php7.0-mysql
  167  apt-get install php7.2-mysql
  168  apt-get install php7.3-mysql
  169  sudo add-apt-repository ppa:ondrej/php
  170  apt-get update
  171  apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-mbstring php7.0-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0
  172  mysql_secure_installation
  173  ls
  174  cd
  175  exit
  176  python Email-Flood.py
  177  cd
  178  python Email-Flood.py
  179  chmod -R 777 Email_bomber.py
  180  ./Email_bomber.py
  181  chmod -R 777 EmBomber.py
  182  ./EmBomber.py
  183  chmod -R 777 EmBomber.py
  184  ./EmBomber.py
  185  chmod +x EmBomber.py
  186  ./EmBomber.py
  187  chmod +x EmBomber.py
  188  ./EmBomber.py
  189  chmod +x EmBomber.py
  190  ./EmBomber.py
  191  Your Username or Password is incorrect, please try again using the correct credentials
  192  eed to enable less secure apps
  193  ./EmBomber.py
  194  cd
  195  cd /home/borhan/Desktop
  196  chmod +x borhan.py
  197  ./borhan.py
  198  cs
  199  exit
  200  cd
  201  exit
  202  chmod +x borhan.py
  203  ./borhan.py
  204  chmod +x borhan.py
  205  ./borhan.py
  206  chmod +x borhan.py
  207  ./borhan.py
  208  chmod +x borhan.py
  209  cd /De
  210  cd Desktop
  211  chmod +x borhan.py
  212  ./borhan.py
  213  chmod +x borhan.py
  214  ./borhan.py
  215  chmod +x borhan.py
  216  ./borhan.py
  217  chmod +x borhan.py
  218  ./borhan.py
  219  exit
  220  cd
  221  cd /tmp && wget https://wordpress.org/latest.tar.gz
  222  tar -zxvf latest.tar.gz
  223  sudo mv wordpress /var/www/html/wordpress
  224  sudo chown -R www-data:www-data /var/www/html/wordpress/
  225  sudo chmod -R 755 /var/www/html/wordpress/
  226  cd
  227  gedit /etc/apache2/sites-available/wordpress.conf
  228  sudo a2ensite wordpress.conf
  229  sudo a2enmod rewrite
  230  sudo a2dismod php7.0
  231  sudo a2enmod php7.1
  232  exit
  233  cd
  234  chmod -R 777 /var/www/html/wordpress/
  235  exit
  236  cd
  237  wget -c http://wordpress.org/latest.tar.gz
  238  tar -xzvf latest.tar.gz
  239  sudo rsync -av wordpress/* /var/www/html/
  240  sudo chown -R www-data:www-data /var/www/html/
  241  sudo chmod -R 755 /var/www/html/
  242  sudo mv wp-config-sample.php wp-config.php
  243  gedit /var/www/html/wordpress/wp-config.php
  244  exit
  245  cd
  246  exit
  247  cd
  248  history
Next Post Previous Post
No Comment
Add Comment
comment url