关于 mnihyc Network Global(AS140938)内网的配置也告一段落了(实在是没时间搞(那怎么有时间水))
分类: 网站
apache2 & Ubuntu 配置优化
CSP-S 2019 退役游记 && 破百纪念
Ablenet VPS 测评 k-opti 机房
一周年 && Lightsail评测
Google Drive 无限容量及挂载
配置Postfix和Dovecot邮件服务器
有一句话要说在前头:“Linux配置速成,从入门到跳楼一步走”
很绝望,我去Google了一圈,都没有找到解决方法,还是我自己乱**试出来的。
我不想说话,只是默默的贴上配置。
依次遇到的错误:“Mail content denied”,“dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN mechanism needs one”,“ dovecot: imap-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs)”,“dovecot: imap(root): Error: Invalid settings in userdb: userdb returned 0 as uid”,“dovecot: imap(root): Error: Invalid user settings. Refer to server log for more information.”,“error: open database /etc/postfix/vmaps.txt.db: No such file or directory”,“postfix/trivial-rewrite[13636]: error: open file /etc/postfix/vhosts.txt: No such file or directory”,“Temporary lookup failure”
特别是下面这几个,弄了几百年才弄好:
“fatal: no SASL authentication mechanisms”,“ warning: SASL: Connect to private/auth failed: No such file or directory”,“Recipient address rejected: User unknown in local recipient table”,“Relay access denied”…
WordPress显示文章最后更新时间
WolframAlpha全功能访问(API
大家都知道,“WolframAlpha”是一个非常好的在线数学查询工具,但是唯一的缺点就是——它并不是免费的。在没有付费的情况下,WolframAlpha的官网还是支持一部分免费查询的,只不过功能有限。(推荐配合GeoGebra官网使用)比如说我很喜欢的(作弊用到的 )功能“Step-by-step”没有买Pro就不能使用。但是其实这个软件手机上有破解版,然后就用BurpSuite抓了下包分析下它的协议(主要为APP_ID(注:PHP接口使用v1,抓包协议使用v2)),同时结合官网提供的PHP API Libraries(PHP API库)(是真的垃圾什么功能都没有都要我自己写)和我自己添加的功能,写出了一个基本上App上破解版能用的功能都能实现的网页查询版本。
附: Octave似乎也不错,但是我不会用
*** 需要把 podstate 尽量控制在 1 个以内,多数 podstate 可能会发生签名验证错误
不要问我为什么没修这个东西,因为:lg的APP也是这B样
废话不多说,蓝色的东西在这里: Click Here
开启apache2插件——URL重写
之前apache2的url重写一直开不起来,也搜了很多资料但都没有用。
最近终于找到了解决方法,其实很简单:
只需要
1 |
vim /etc/apache2/sites-available/000-default.conf |
1 |
然后修改 |
1 2 3 4 5 6 7 8 9 10 |
<VirtualHost *:80> <Directory /var/www/html/> Options FollowSymLinks #AllowOverride None 把None改为All使.htaccess作用在所有地方 AllowOverride All Require all granted </Directory> . . . </VirtualHost> |
最后,最关键的一步:
1 2 3 |
a2enmod rewrite //开启扩展,apache2专用 //或使用 ln -s /etc/apache2/mods-cuailable/rewrite.load /etc/apache2/mods-enabled/rewrite.load service apache2 restart |
然后就可以开心的使用啦!