I log in with ubuntu, and I don"t have the permission to modify files in some directories, so I can"t modify some configuration files, but I can"t log in with root. Find a solution
I log in with ubuntu, and I don"t have the permission to modify files in some directories, so I can"t modify some configuration files, but I can"t log in with root. Find a solution
configure sublime with environment variables so that he can open it with the command line,
then sudo sublime filename opens the file to edit
root for security reasons, the user's password is random, you can't use root casually.
there are several ways to solve this problem:
1. To modify the permissions of the directory you want to modify, chmod-R xxxx, will downgrade the permissions of the directory you want to modify
2. Increase the permissions of your own operations, sudo
sincerely ask for advice: < hr > I want to use node as the background to build a video streaming server. The front end is similar to Youku VOD. It can record the playback node function, and load the progress bar at any point (starting from the c...
prompt as follows: Starting nginx: nginx: [emerg] "server " directive is not allowed here in etc nginx nginx.conf:17 what is the reason for this? How to solve it? ...
nginx main configuration: server { listen 80; server_name www.xxx.cn; -sharpcharset koi8-r; -sharpaccess_log logs host.access.log main; location admin { root app server; try_files $uri $uri adm...
Server: Aliyun, lnmp1.4 version (centos7+nginx+mysql+php) recently updated the static file of the website with ftp, found that after overwriting the old picture with the new picture, the foreground still displays the old picture, then deletes the pict...
visit https: www.oyohyee.com admin] will be redirected to [ http: www.oyohyee.com,www.oy.] use curl-IL https: www.oyohyee.com admin to get the following information HTTP 1.1 301 MOVED PERMANENTLY Server: nginx 1.12.2 Date: Thu, 12 Apr 2018 00:45:2...
it seems that apache will do the same. nginxserver linux personal website, there is no problem with index page refresh, but entering other page refresh will be gg. http: leisuremoment.com ...
there is a site that has just successfully installed a free certificate for Let s Encrypt, and nginx has configured access to https. can now be accessed through both https and http. Some pages can be accessed both ways, but some pages can be accessed...
the vue-cli project has been deployed to the formal environment. There is no address of 192.168.0.200 in the project. Access-Control-Allow-Origin has also been set up * , but this problem still occurs ....
< H2 > 1 Environment description-- three services within K8s are mapped to node, which are abc services < H2 >. upstream a { server 192.168.71.210:30080; server 192.168.71.213:30080; server 192.168.71.214:30080; ip_hash; } upstream b { server...
win10 the virtual machine is installed with ubuntu16.04 LTS . After installation, I will log in to the system as an ordinary user dp, and then I need to install nginx and php , mysql and so on. What I have done now is 1, modify the permissions ...
refer to the tutorial: http: www.runoob.com linux n., such as the title. locaohost cannot be accessed, but ping can be reached searched, it is useless to open port 80 After , modify the domain name and modify the etc host etc hosts file. The dom...
currently is centos1 nginx1 + keepalived master centos2 nginx2 + keepalived backup centos3 is not equipped with anything the domain name is resolved to the IP of centos1. VIP is the IP, of centos1, but vip doesn t know what to modify. now when ...
Why do you want to copy a copy of php.ini to usr local php lib php.ini after installing php I ve tried why copy a php.ini from the installation package to the usr local php lib php.ini directory if it doesn t work properly without a copy of php. ...
to append an element to a two-dimensional array. I don t know why I can t append it all the time. The similar code is as follows, mainly using the function array_unshift (). In the document, it is said that elements can be appended to the array. <...
I am Ubuntu18 + php7.1 + Nginx and want to integrate workerman https: www.kancloud.cn manua. on tp5. According to this tutorial, the first step is to fail composer require topthink think-worker error as shown in figure gd2 usr lib php 20170718gd.s...
can multiple projects share the same domain name, and why it is safer to use a domain name ...
I want to store the contents of the log read through logstash in elasticsearch, but the contents of the log are stored in the message field. Can I use a custom template to extract the contents of the log as a certain field? for example, is there an ip:x...
SwooleProcess::__construct (): handle 10003462 exceed 10000000 in xxxxxxxxx what s wrong with this? Exceed the limit? But I only opened about 10 sub-processes, my version: PHP 7.2.7 swoole 4.0.1 ...
attempted to mount the project under the www directory in windosw to mnt hgfs WWW in vm, and then added a virtual host through nginx, pointing the domain name to a project in mnt hgfs WWW, with various 403404503 errors . some said that php-fpm did ...
is anyone familiar with moloch? I have two moloch cluster now. I now need to import data from one cluster to another cluster. [moloch-clusters] cluster1=url: http: 10.10.10.1:8005;passwordSecret:test;name:cluster1 but select send session to cluste...