MENU

Catalog

    新系统前端常用命令(待整理)

    April 4, 2018 • Read: 4062 • 常用命令

     1002  ls
     1003  git pull
     1004  ls
     1005  cp config.php.bak config.php
     1006  ls
     1007  sudo apt-get install php-redis
     1008  free -m
     1009  cd /etc/php/7.0/fpm/
     1010  ls
     1011  cd pool.d/
     1012  ls
     1013  sudo vi www.conf 
     1014  sudo service php7.0-fpm restart
     1015  sudo /usr/local/nginx/sbin/nginx -t
     1016  sudo /usr/local/nginx/sbin/nginx -s reload
     1017  cd /var/www/nuoruishop/runtime/cache/
     1018  ll
     1019  redis-cli -c -h newjiekeyin.loohh3.ng.0001.apse1.cache.amazonaws.com -p 6379
     1020  cd /var/www/nuoruishop/application/
     1021  ls
     1022  cd frontend/
     1023  ls
     1024  rz -be
     1025  ls
     1026  rm config.php -rf
     1027  mv config1.php config.php
     1028  ls
     1029  cd /var/www/nuoruishop/
     1030  cd application/
     1031  vim config.php 
     1032  cd /var/www/nuoruishop/
     1033  ls
     1034  cd application/frontend/
     1035  ls
     1036  rz -be
     1037  ls
     1038  mv config2.php config.php
     1039  ls
     1040  cd ..
     1041  ls
     1042  cd ..
     1043  ls
     1044  cd runtime/
     1045  ls
     1046  cd cache/
     1047  ls -la
     1048  ls
     1049  cd /var/www/nuoruishop/
     1050  git pull
     1051  git checkout -- application/config.php
     1052  git pull
     1053  cd /var/www/nuoruishop/
     1054  ls
     1055  cd public/
     1056  ls
     1057  vi robots.txt 
     1058  mysql
     1059  cd /var/log
     1060  l
     1061  ls
     1062  sudo tail -f php7.0-fpm.log
     1063  ls
     1064  cd /etc/php/7.0/
     1065  ls
     1066  cd fpm/
     1067  ls
     1068  cd pool.d/
     1069  ls
     1070  sudo vi www.conf 
     1071  sudo service php7.0-fpm restart
     1072  sudo /usr/local/nginx/sbin/nginx -t
     1073  sudo /usr/local/nginx/sbin/nginx -s reload
     1074  cd /var/log/
     1075  ls
     1076  sudo tail -f php7.0-fpm.log
     1077  cd /var/log/
     1078  ls
     1079  sudo tail -f php7.0-fpm.log
     1080  ls
     1081  cd /etc/php/7.0/
     1082  ls
     1083  cd fpm/
     1084  ls
     1085  cd pool.d/
     1086  ls
     1087  sudo vi www.conf 
     1088  ls
     1089  sudo vi www.conf 
     1090  sudo service php7.0-fpm  restart
     1091  sudo /usr/local/nginx/sbin/nginx -t
     1092  sudo /usr/local/nginx/sbin/nginx -s reload
     1093  cd /etc/php/7.0/
     1094  ls
     1095  cd fpm/
     1096  ls
     1097  cd pool.d/
     1098  ls
     1099  cd /var/log/
     1100  ls
     1101  sudo tail -f php7.0-fpm.log
     1102  cd /etc/php/7.0/
     1103  ls
     1104  cd fpm/
     1105  ls
     1106  cd pool.d/
     1107  ls
     1108  sudo vi www.conf 
     1109  sudo service php7.0-fpm restart
     1110  ls
     1111  cd /var/log/
     1112  ls
     1113  sudo tail -f php7.0-fpm.log
     1114  top
     1115  top
     1116  cd /usr/local/nginx/
     1117  ls
     1118  cd conf/
     1119  ls
     1120  sudo vi nginx.conf
     1121  sudo /usr/local/nginx/sbin/nginx -t
     1122  sudo /usr/local/nginx/sbin/nginx -s reaload
     1123  sudo /usr/local/nginx/sbin/nginx -t
     1124  sudo /usr/local/nginx/sbin/nginx -s reload
     1125  cd /usr/local/nginx/
     1126  cd conf/
     1127  ls
     1128  sudo vi nginx.conf
     1129  sudo /usr/local/nginx/sbin/nginx -t
     1130  sudo /usr/local/nginx/sbin/nginx -s reload
     1131  top
     1132  df -h
     1133  cd /usr/local/nginx/
     1134  ls
     1135  cd logs/
     1136  ls
     1137  cd ..
     1138  ls
     1139  cd /var/log/
     1140  ls
     1141  sudo rm php7.0-fpm.log.* -rf
     1142  ls
     1143  df -h
     1144  cd /usr/local/nginx/
     1145  ls
     1146  cd logs/
     1147  ls
     1148  sudo du -h access.log 
     1149  sudo rm access.log 
     1150  ls
     1151  sudo vi access.log
     1152  ls
     1153  sudo chmod -R 777 access.log 
     1154  ls -la
     1155  ls
     1156  du -h access.log
     1157  sudo /usr/local/nginx/sbin/nginx -t
     1158  sudo /usr/local/nginx/sbin/nginx -s reload
     1159  ls
     1160  du -h access.log 
     1161  top
     1162  ls
     1163  sdf
     1164  ld
     1165  ldf
     1166  df -h
     1167  cd /vcd /var/www/
     1168  cd /var/www/
     1169  cd nuoruishop
     1170  ls
     1171  cd runtime
     1172  ls
     1173  sudo rm session -rf
     1174  ls
     1175  du -h session
     1176  df -h
     1177  ls
     1178  sudo rm session/ -rf
     1179  cd /var/www/nuoruishop/
     1180  ls
     1181  cd application/
     1182  ls
     1183  cd frontend/
     1184  ls
     1185  vi config.php
     1186  df -h
     1187  cd /var/log/
     1188  ls
     1189  sudo vi php7.0-fpm.log 
     1190  ls
     1191  sudo tail -f php7.0-fpm.log 
     1192  sudo service php7.0-fpm restart
     1193  sudo tail -f php7.0-fpm.log 
     1194  sudo service php7.0-fpm restart
     1195  sudo /usr/local/nginx/sbin/nginx -t
     1196  sudo /usr/local/nginx/sbin/nginx -s reload
     1197  ll
     1198  cd v
     1199  cd /var/
     1200  ll
     1201  df -f
     1202  df -i
     1203  df -ia
     1204  cd /var/www/nuoruishop/
     1205  ls
     1206  cd application/
     1207  ls
     1208  vi config.php 
     1209  cd /var/www/nuoruishop/
     1210  ls
     1211  cd runtime/
     1212  ls
     1213  cd session/
     1214  ls
     1215  cd /var/www/nuoruishop/runtime/
     1216  ls
     1217  cd session/
     1218  ls
     1219  cd ../../
     1220  ls
     1221  cd ..
     1222  cd nuoruishop/
     1223  ls
     1224  cd application/
     1225  vi config.php 
     1226  ls
     1227  cd ../
     1228  cd runtime/
     1229  ls
     1230  sudo rm session/ -rf
     1231  ls
     1232  mkdir session
     1233  sudo chmod -R 777 session/
     1234  ls
     1235  cd session/
     1236  ls
     1237  cd /var/www/nuoruishop/
     1238  git pull
     1239  df 
     1240  top
     1241  sudo su
     1242  cd /var/www/nuoruishop/
     1243  cd application/
     1244  ll
     1245  vim config.php 
     1246  cd /var/www/nuoruishop/
     1247  ls
     1248  cd application/frontend/
     1249  ls
     1250  vi config.php
     1251  cd /var/www/nuoruishop/
     1252  git pull
     1253  cd application/
     1254  ll
     1255  vim config.php 
     1256  sudo service php7.0-fpm restart
     1257  top
     1258  sudo service php7.0-fpm restart
     1259  cd /var/www/nuoruishop/
     1260  ls
     1261  cd application/
     1262  ls
     1263  rm database.php.bak 
     1264  mv database.php database.php.copy
     1265  rz -be
     1266  ls
     1267  rm database.php
     1268  rz -be
     1269  ls
     1270  cd /var/www/nuoruishop/application/
     1271  ls
     1272  rm database.php 
     1273  rz -be
     1274  sudo service php7.0-fpm restart
     1275  cd /var/www/nuoruishop/application/
     1276  ls
     1277  rm database.php 
     1278  rz -be
     1279  cd /var/www/nuoruishop/
     1280  ll
     1281  git pull
     1282  sudo service php7.0-fpm restart
     1283  sudo /usr/local/nginx/sbin/nginx -s reload
     1284  cd /usr/local/nginx/logs/
     1285  ll
     1286  tail -n 200 error.log 
     1287  ll
     1288  cd ..
     1289  ls
     1290  cd /var/www/
     1291  ls
     1292  cd nuoruishop/
     1293  ll
     1294  sudo service php7.0-fpm restart
     1295  cd /usr/local/nginx/
     1296  ls
     1297  cd conf/
     1298  ls
     1299  sudo vi nginx.conf
     1300  sudo /usr/local/nginx/sbin/nginx -t
     1301  sudo /usr/local/nginx/sbin/nginx -s reload
     1302  ps -aux
     1303  top
     1304  cd /etc/
     1305  ls
     1306  cd php/
     1307  ls
     1308  cd 7.0/
     1309  ls
     1310  cd fpm/
     1311  ls
     1312  sudo vi php.ini 
     1313  ls
     1314  cd ../
     1315  ls
     1316  cd ../
     1317  ls
     1318  cd ../
     1319  ls
     1320  top
     1321  LS
     1322  df -h
     1323  cd /var/
     1324  ls
     1325  cd log/
     1326  ls
     1327  sudo tail -f php7.0-fpm.log 
     1328  ls
     1329  cd ../
     1330  ls
     1331  top
     1332  top
     1333  ls
     1334  top
     1335  cd /etc/php/
     1336  ls
     1337  cd 7.0/
     1338  ls
     1339  cd fpm/
     1340  ls
     1341  vi php-fpm.conf 
     1342  top
     1343  sudo su
     1344  cd /var/www/nuoruishop/
     1345  ls
     1346  cd public/
     1347  mkdir html
     1348  sudo chmod -R 777 html
     1349  git pull
     1350  cd /var/www/nuoruishop/public/html/
     1351  ls
     1352  cd /var/www/nuoruishop/
     1353  ls
     1354  cd application/frontend/
     1355  ls
     1356  vi config.php
     1357  cd /var/www/nuoruishop/
     1358  git pull
     1359  cd /var/www/nuoruishop/application/
     1360  vim config.php 
     1361  sudo service php7.0-fpm restart
     1362  sudo service php7.0-fpm restart
     1363  cd /usr/local/nginx/
     1364  ls
     1365  cd conf/
     1366  ls
     1367  sudo vi nginx.conf
     1368  sudo service php7.0-fpm restart
     1369  ssudo /usr/local/nginx/sbin/nginx -t
     1370  sudo /usr/local/nginx/sbin/nginx -t
     1371  sudo /usr/local/nginx/sbin/nginx -s reload
     1372  cd /usr/local/nginx/conf/
     1373  ls
     1374  sudo vi nginx.conf
     1375  sudo /usr/local/nginx/sbin/nginx -s reload
     1376  cd /var/www/nuoruishop/
     1377  ls
     1378  cd application/
     1379  ls
     1380  vi config.php 
     1381  sudo service php7.0-fpm restart
     1382  cd /usr/local/nginx/
     1383  ls
     1384  cd conf/
     1385  ls
     1386  sudo vi nginx.conf
     1387  sudo service php7.0-fpm restar
     1388  sudo service php7.0-fpm restart
     1389  sudo /usr/local/nginx/sbin/nginx -t
     1390  sudo /usr/local/nginx/sbin/nginx -s reload
     1391  cd /usr/local/nginx/conf/
     1392  ls
     1393  sudo vi nginx.conf
     1394  sudo /usr/local/nginx/sbin/nginx -t
     1395  sudo /usr/local/nginx/sbin/nginx -s reload
     1396  sudo service php7.0-fpm restart
     1397  cd /usr/local/nginx/conf/
     1398  ls
     1399  sudo vi nginx.conf
     1400  sudo /usr/local/nginx/sbin/nginx -t
     1401  sudo /usr/local/nginx/sbin/nginx -s reload
     1402  sudo service php7.0-fpm restart
     1403  sudo /usr/local/nginx/sbin/nginx -t
     1404  sudo /usr/local/nginx/sbin/nginx -s reload
     1405  cd /usr/local/nginx/conf/
     1406  ls
     1407  sudo vi nginx.conf
     1408  sudo service php7.0-fpm restart
     1409  sudo /usr/local/nginx/sbin/nginx -t
     1410  sudo /usr/local/nginx/sbin/nginx -s reload
     1411  sudo service php7.0-fpm retart
     1412  sudo service php7.0-fpm restart
     1413  sudo reboot
     1414  sudo service php7.0-fpm restart
     1415  sudo service php7.0-fpm restrat
     1416  sudo service php7.0-fpm restart
     1417  sudo /usr/local/nginx/sbin/nginx -t
     1418  sudo /usr/local/nginx/sbin/nginx -s reload
     1419  cd /usr/local/nginx/conf/
     1420  ls
     1421  sudo vi nginx.conf
     1422  sudo service php7.0-fpm restat
     1423  sudo service php7.0-fpm restart
     1424  sudo /usr/local/nginx/sbin/nginx -t
     1425  sudo /usr/local/nginx/sbin/nginx -s reload
     1426  sudo /usr/local/nginx/sbin/nginx 
     1427  sudo service php7.0-fpm retart
     1428  sudo service php7.0-fpm restart
     1429  ps -aux|grep fpm|wc -l
     1430  sudo service php7.0-fpm restart
     1431  sudo /usr/local/nginx/sbin/nginx -s reload
     1432  ls
     1433  cd /var/www/nuoruishop/
     1434  ls
     1435  cd application/frontend/
     1436  ls
     1437  vi config.php
     1438  sudo service php7.0-fpm restart
     1439  sudo /usr/local/nginx/sbin/nginx -t
     1440  sudo /usr/local/nginx/sbin/nginx -s reload
     1441  cd /etc/php/7.0/fpm/
     1442  ls
     1443  cd pool.d/
     1444  ls
     1445  sudo vi www.conf 
     1446  cd /etc/php/7.0/fpm/
     1447  ls
     1448  cd pool.d/
     1449  ls
     1450  sudo vi www.conf 
     1451  ls -la
     1452  sudo rm .www.conf.swp 
     1453  sudo vi www.conf 
     1454  cd /var/www/nuoruishop/
     1455  ls
     1456  cd application/
     1457  ls
     1458  cd frontend/
     1459  ls
     1460  vi config.php
     1461  redis-cli -c -h newjiekeyin.loohh3.ng.0001.apse1.cache.amazonaws.com -p 6379
     1462  cd /etc/php/7.0/fpm/
     1463  ls
     1464  cd /var/log/
     1465  kls
     1466  ls
     1467  sudo tail -f php7.0-fpm.log
     1468  cd /var/www/nuoruishop/
     1469  ls
     1470  cd application/
     1471  ls
     1472  vi config.php 
     1473  ls
     1474  vi config.php 
     1475  dc ..
     1476  cd frontend/
     1477  ls
     1478  vi config.php
     1479  cd /var/www/nuoruishop/
     1480  ls
     1481  cd public/
     1482  ls
     1483  cd html/
     1484  ls
     1485  sudo rm * -rf
     1486  ls
     1487  cd ../
     1488  ls
     1489  cd ..
     1490  ls
     1491  cd application/frontend/
     1492  ls
     1493  vi config.php
     1494  cd ..
     1495  ls
     1496  cd ..
     1497  ls
     1498  cd public/html/
     1499  ls
     1500  cd /var/www/nuoruishop/
     1501  ls
     1502  cd application/
     1503  ls
     1504  vi config.php 
     1505  ls
     1506  cd frontend/
     1507  ls
     1508  vi config.php
     1509  ulimit -a
     1510  sudo vim /etc/security/limits.conf
     1511  sudo vi /etc/pam.d/su
     1512  sudo vi /etc/profile
     1513  sudo reboot
     1514  cd /var/www/nuoruishop/
     1515  ls
     1516  cd runtime/log/
     1517  ls
     1518  cd 201712
     1519  ls
     1520  sudo zip -r 072.log.zip 07.log 
     1521  ls
     1522  sudo sz -be 072.log.zip 
     1523  cd /var/www/nuoruishop/
     1524  ls
     1525  cd application/
     1526  ls
     1527  cd ..
     1528  cd runtime/
     1529  ls
     1530  cd log/
     1531  ls
     1532  cd 201712
     1533  ls
     1534  sudo vi 07.log 
     1535  ulimit -a
     1536  sudo /usr/local/nginx/sbin/nginx 
     1537  sudo service php7.0-fpm restart
     1538  sudo apt install sysstat
     1539  sudo su
     1540  cd /var/log/
     1541  ls
     1542  sudo sz -be syslog.1
     1543  cd /usr/local/nginx/conf/
     1544  ls
     1545  sudo vi nuoruishop.conf
     1546  vi nginx.conf
     1547  cd /etc/php/7.0/fpm/
     1548  ls
     1549  cd pool.d/
     1550  ls
     1551  vi www.conf 
     1552  sudo vi www.conf 
     1553  sudo service php7.0-fpm restart
     1554  sudo /usr/local/nginx/sbin/nginx -t
     1555  sudo /usr/local/nginx/sbin/nginx -s reload
     1556  sudo su
     1557  cd /var/www/nuoruishop/application/frontend/
     1558  ls
     1559  rm config.php
     1560  rz -be
     1561  vi config.php
     1562  ls
     1563  cd /var/www/nuoruishop/public/
     1564  ls
     1565  cd html
     1566  ls
     1567  sudo rm * -rf
     1568  cd ..
     1569  sudo rm html/* -rf
     1570  ls
     1571  sudo rm html/ -rf
     1572  mkdir html 
     1573  sudo chmod -R 777 html/
     1574  cd html/
     1575  ls
     1576  cd /var/www/nuoruishop/
     1577  cd application/
     1578  ls
     1579  vi config.php 
     1580  cd frontend/
     1581  ls
     1582  vi config.php
     1583  cd ..
     1584  ls
     1585  cd ..
     1586  ls
     1587  cd public/html/
     1588  ls
     1589  cd ../
     1590  ls
     1591  cd ..
     1592  ls
     1593  cd runtime/session/
     1594  ls
     1595  cd ..
     1596  ls
     1597  sudo rm session -rf
     1598  ls
     1599  sudo mkdir session
     1600  sudo chmod -R 777 session/
     1601  sudo chown -R ubuntu.ubuntu session/
     1602  ls
     1603  cd session/
     1604  ls
     1605  cd /var/www/nuoruishop/
     1606  ls
     1607  cd application/
     1608  ls
     1609  cd ..
     1610  ls
     1611  cd runtime/
     1612  ls
     1613  cd cache/
     1614  ls
     1615  sudo rm * -rf
     1616  cd /var/www/nuoruishop/
     1617  ls
     1618  cd application/
     1619  ls
     1620  vi config.php 
     1621  redis-cli
     1622  ls
     1623  cd /var/www/nuoruishop/
     1624  ls
     1625  cd application/frontend/
     1626  ls
     1627  vi config.php
     1628  redis-cli
     1629  free -mh
     1630  cd /var/www/nuoruishop/gi
     1631  cd ..
     1632  cd /var/www/nuoruishop/
     1633  git pull
     1634  cd public/
     1635  ls
     1636  vi ping.php 
     1637  cd /var/www/nuoruishop/
     1638  ls
     1639  cd application/frontend/
     1640  ls
     1641  vi config.php
     1642  ls
     1643  cd ..
     1644  ls
     1645  vi database.php
     1646  cd /var/www/
     1647  ls
     1648  cd /var/www/nuoruishop/application/
     1649  ls
     1650  rm config.php  -rf
     1651  git pull
     1652  ls
     1653  rm config.php 
     1654  rz -be
     1655  ls
     1656  vi config.php 
     1657  cd /var/www/nuoruishop/application/
     1658  rm config.php 
     1659  git pull
     1660  rz -be
     1661  cd /var/www/nuoruishop/application/frontend/
     1662  ls
     1663  vi config.php
     1664  sudo service php7.0-fpm restrat
     1665  sudo service php7.0-fpm restart
     1666  cd /var/www/nuoruishop/
     1667  ls
     1668  cd application/
     1669  ls
     1670  redis-cli
     1671  cd /var/www/nuoruishop/runtime/log/
     1672  ll
     1673  cd 201712/
     1674  ll
     1675  cd ..
     1676  ll
     1677  cd 201708/
     1678  ll
     1679  cd ..
     1680  cd 201712/
     1681  ll
     1682  sz product_form_19.log
     1683  cd /var/www/nuoruishop/
     1684  ls
     1685  cd application/
     1686  ls
     1687  vi database.php
     1688  cd /var/www/nuoruishop/
     1689  ls
     1690  cd application/
     1691  vi database.php
     1692  cd /var/www/nuoruishop/
     1693  ls
     1694  cd application/
     1695  ls
     1696  ls -la
     1697  rm .database.php.swp 
     1698  rm database.php
     1699  rz -be
     1700  redis-cli
     1701  redis-cli keys "page*" | xargs redis-cli del
     1702  cd /var/www/nuoruishop/application/
     1703  ls
     1704  cd ../
     1705  ls
     1706  cd runtime/
     1707  ls
     1708  cd cache/
     1709  ls
     1710  sudo rm * -rf
     1711  cd /var/www/nuoruishop/runtime/cache/
     1712  rm * -rf
     1713  cd /var/www/nuoruishop/
     1714  ls
     1715  cd runtime/
     1716  ls
     1717  cd log/
     1718  ls
     1719  cd 201712/
     1720  ls
     1721  sz -be product_form_25.log
     1722  top
     1723  df -h
     1724  cd /usr/local/nginx/modules/
     1725  ls
     1726  sudo rz -be
     1727  cd ..
     1728  cd conf/waf/
     1729  ls
     1730  sudo rz -be\
     1731  sudo rz -be
     1732  ls
     1733  cd ..
     1734  ls
     1735  sudo vi nginx.conf
     1736  sudo /usr/local/nginx/sbin/nginx -t
     1737  sudo /usr/local/nginx/sbin/nginx -s reload
     1738  cd /usr/local/nginx/conf/
     1739  ls
     1740  sudo vi nginx.conf
     1741  sudo vi nuoruishop.conf
     1742  ls
     1743  cd ..
     1744  ls
     1745  sudo mkdir lua
     1746  sudo rz -be
     1747  ls
     1748  cd lua/
     1749  ls
     1750  cd ..
     1751  ls
     1752  sudo mv cache_home.lua lua/
     1753  cd lua/
     1754  ls
     1755  sudo vi cache_home.lua 
     1756  sudo /usr/local/nginx/sbin/nginx -t
     1757  sudo /usr/local/nginx/sbin/nginx -s reload
     1758  cd /usr/local/nginx/conf/
     1759  l;s
     1760  ls
     1761  sudo vi nuoruishop.conf
     1762  sudo /usr/local/nginx/sbin/nginx -t
     1763  sudo /usr/local/nginx/sbin/nginx -s reload
     1764  cd /usr/local/nginx/lua/
     1765  ls
     1766  sudo rm cache_home.lua 
     1767  ls
     1768  sudo rz -be
     1769  ls
     1770  sudo vi cache_detail.lua 
     1771  sudo vi cache_home.lua 
     1772  cd ..
     1773  ls
     1774  cd conf/
     1775  ls
     1776  sudo vi nuoruishop.conf
     1777  sudo /usr/local/nginx/sbin/nginx -t
     1778  sudo /usr/local/nginx/sbin/nginx -s reload
     1779  redis-cli flushdb
     1780  cd /var/www/nuoruishop/application/giikin/
     1781  ls
     1782  sudo rz -be
     1783  cd /usr/local/nginx/lua/
     1784  ls
     1785  sudo rm * -rf
     1786  sudo rz -be
     1787  sudo vi cache_detail.lua 
     1788  ls
     1789  sudo rz -be
     1790  sudo vi cache_home.lua 
     1791  sudo /usr/local/nginx/sbin/nginx -t
     1792  sudo /usr/local/nginx/sbin/nginx -s reload
     1793  cd ..
     1794  cd conf/
     1795  ls
     1796  sudo rm nuoruishop.conf
     1797  sudo rz -be
     1798  sudo /usr/local/nginx/sbin/nginx -s reload
     1799  cd /var/www
     1800  git pull
     1801  cd nuoruishop/
     1802  git pull
     1803  cd /var/www/nuoruishop/
     1804  git pull
     1805  cd /var/www/nuoruishop/
     1806  git
     1807  git pull
     1808  ll
     1809  git pull
     1810  cd /usr/local/nginx/
     1811  cd logs
     1812  vi access.log 
     1813  redis-cli
     1814  cd /usr/local/nginx/lua/
     1815  ls
     1816  sudov vi cache_home.lua 
     1817  sudo vi cache_home.lua 
     1818  cd /usr/local/nginx/lua/
     1819  ls
     1820  sudo vi cache_home.lua 
     1821  ls
     1822  ls -la
     1823  sudo rm .cache_home.lua.swp 
     1824  sudo vi cache_home.lua 
     1825  sudo /usr/local/nginx/sbin/nginx -t
     1826  sudo /usr/local/nginx/sbin/nginx -s reload
     1827  cd /usr/local/nginx/lua/
     1828  ls
     1829  sudo vi cache_home.lua 
     1830  sudo /usr/local/nginx/sbin/nginx -t
     1831  sudo /usr/local/nginx/sbin/nginx -s reload
     1832  sudo vi cache_home.lua 
     1833  cd /var/www/nuoruishop/
     1834  ll
     1835  cd public/
     1836  ll
     1837  cd html/
     1838  ll
     1839  cd /var/www/nuoruishop/
     1840  git pull
     1841  ls
     1842  pwd
     1843  ls
     1844  cd /
     1845  ls
     1846  cd etc/
     1847  ls
     1848  cd /
     1849  ls
     1850  cd /var/www/nuoruishop/
     1851  ls
     1852  cd application/
     1853  ls
     1854  vi config.php 
     1855  top
     1856  cd /var/www/nuoruishop/
     1857  git pull
     1858  sudo service php7.0-fpm restart
     1859  cd /var/www/nuoruishop/application/frontend/
     1860  vim config.php
     1861  ll
     1862  cd /usr/local/nginx/lua/
     1863  ls
     1864  sudo vi cache_home.lua 
     1865  sudo /usr/local/nginx/sbin/nginx -t
     1866  sudo /usr/local/nginx/sbin/nginx -s reload
     1867  ls
     1868  sudo vi cache_home.lua 
     1869  sudo /usr/local/nginx/sbin/nginx -t
     1870  sudo /usr/local/nginx/sbin/nginx -s reload
     1871  ls
     1872  sudo vi cache_detail.lua 
     1873  sudo /usr/local/nginx/sbin/nginx -s reload
     1874  sudo vi cache_detail.lua 
     1875  ls
     1876  sudo vi cache_home.lua 
     1877  sudo /usr/local/nginx/sbin/nginx -s reload
     1878  cd /var/www/nuoruishop/application/frontend/
     1879  vi config.php
     1880  ll
     1881  vim config.php
     1882  cd /var/www/nuoruishop/
     1883  ll
     1884  cd ..
     1885  ll
     1886  cd /var/www/nuoruishop/
     1887  ll
     1888  cd public/
     1889  ll
     1890  cd ..
     1891  ll
     1892  cd runtime/
     1893  ll
     1894  cd log/
     1895  ll
     1896  sz 201803/
     1897  **01000000039a32
     1898  cd 201803/
     1899  ll
     1900  sz product_form_01.log 
     1901  cd /var/www/nuoruishop/runtime/
     1902  ll
     1903  cd log/
     1904  ll
     1905  cd 201803/
     1906  ll
     1907  sz product_form_02.log 
     1908  cd /var/www/nuoruishop/gii
     1909  cd /var/www/nuoruishop/
     1910  ls
     1911  cd application/giikin/
     1912  ls
     1913  sz config.php 
     1914  free
     1915  cd /var/www/nuoruishop/application/giikin/
     1916  ls
     1917  sz config.php 
     1918  df
     1919  cd /usr/local/nginx/
     1920  cd logs/
     1921  ls
     1922  ll
     1923  vi access.log 
     1924  cd /var/www/nuoruishop/runtime/log/201803/
     1925  ll
     1926  sz product_form_09.log 
     1927  crontab -e
     1928  cd /var/www/nuoruishop/runtime/log/201803/
     1929  ll
     1930  sz product_form_12.log 
     1931  cd /var/www/nuoruishop/runtime/log/201803/
     1932  sz product_form_11.log 
     1933  cd /var/www/nuoruishop/
     1934  git pull
     1935  cd /usr/local/nginx/logs/
     1936  ls
     1937  cd /usr/local/nginx/logs/
     1938  ls
     1939  sudo rz -be
     1940  crontab -e
     1941  cd /usr/local/nginx/
     1942  ls
     1943  cd logs/
     1944  pwd
     1945  crontab -e
     1946  cd /var/www/nuoruishop/
     1947  ls
     1948  cd application/
     1949  ls
     1950  vi config.php 
     1951  cd /var/www/nuoruishop/
     1952  ls
     1953  cd runtime/
     1954  ls
     1955  cd log/
     1956  ls
     1957  cd 201803
     1958  ls
     1959  vi product_form_24.log 
     1960  top
     1961  cd /usr/local/nginx/lua/
     1962  ls
     1963  sudo vi cache_home.lua 
     1964  cd /var/www/nuoruishop/application/
     1965  ls
     1966  cd giikin/
     1967  ls
     1968  ls -la
     1969  sudo chown ubuntu.ubuntu config.php 
     1970  vi config.php 
     1971  top
     1972  ls
     1973  vi config.php 
     1974  sudo service php7.0-fpm restart
     1975  cd /var/www/nuoruishop/runtime/log/201803 && grep -rn "NV600030775" product_form_27.log
     1976  vi product_form_27.log 
     1977  cd /var/www/nuoruishop/runtime/log/201803 && grep -rn "正在准备入库" product_form_27.log | grep -rn "NV600030775"
     1978  cd /usr/local/nginx/
     1979  ls
     1980  cd conf/
     1981  ls
     1982  cat nginx.conf
     1983  history
     1984  top
     1985  top
     1986  redis-cli 
     1987  redis-cli
     1988  cd /etc/redis/c
     1989  cd /etc/redis/
     1990  ls
     1991  sudo vi redis.conf 
     1992  sudo service redis restart
     1993  redis-cli
     1994  cd /var/www/nuoruishop/runtime/
     1995  ls
     1996  cd log/
     1997  ls
     1998  cd 201803
     1999  ls
     2000  vi product_form_30.log 
     2001  history
    

    兼总条贯 知至知终

    无标签