centos6安装mysql5.7出错:yum install mysql-community-server出错

安装mysql5.7,参考教程:https://www.php.cn/mysql-tutorials-386847.html

一开始不知道 地址中的el7应该对应自己的centos版本,直接执行该命令进行下载

wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm

然后执行以下命令也没有报错,

yum -y localinstall mysql57-community-release-el7-11.noarch.rpm

但是执行下面命令的时候一直报错

yum -y install mysql-community-server

之后重新下载centos6的版本,安装源

# wget https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
# yum -y localinstall mysql57-community-release-el6-11.noarch.rpm

然而进行安装的时候还是报错

yum -y install mysql-community-server

原因在于他还是跑去安装el7的版本了

---> Package mysql-community-server.i686 0:5.7.17-1.el7 will be 安装

尝试了各种方法,重装了好多次,能删除的就删除,结果一直都是这样

获取mysql-community-server的信息,结果如下:
图片说明

尝试删除无果:

[root@localhost ~]# yum remove mysql-community-server
已加载插件:fastestmirror, security
设置移除进程
参数 mysql-community-server 没有匹配
Loading mirror speeds from cached hostfile
Package(s) mysql-community-server available, but not installed.
不删除任何软件包

真的搞了一天,心累啊!如果哪个好心人看到,可以提点提点,真的万分感谢!

4个回答

报的什么错呢, 可以参考下https://www.jianshu.com/p/7b8c4dea6829

不知道你有没有卸载这个mysql57-community-release-el7-11.noarch.rpm

may be you need to try with sudo

and try to do the get packages command first

or try this

Head over here and get the url for yum repo to be deployed in your server: http://dev.mysql.com/downloads/repo/yum/
Copy the download link:

Now that you have the download link, wget get the repo rpm and check file checksum to make sure that rpm is downloaded with out errors. Make a note of checksum from first picture above (Checksum validation is optional)

Enter below codes Kindly replace the Capital letters in first with small eg: Wget is wget

wget http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
md5sum mysql57-community-release-el6-7.noarch.rpm
rpm -ivh mysql57-community-release-el6-7.noarch.rpm

yum install -y mysql-community-client mysql-community-server

service mysqld start

And find initial mysql 5.7 root password from log file

grep -i temporary /var/log/mysqld.log

ogin into MySQL 5.7 using password you got from temporary password that you searched from above

mysql -uroot -p

Only command MySQL 5.7 is going to let you run once you login with your default password is password command

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Yourpassword1!');

That’s it, you have successfully installed MySQL 5.7 server on CentOS 6/Redhat EL6/Fedora. Open some firewall rules if needed and create users to access your database.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
linux下安装Mysql5.7出现的问题,搞了一天了!

出现了如下问题: --> Finished Dependency Resolution Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libsasl2.so.3()(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-libs-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: systemd Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.17)(64bit) 试着装了一次mysql5.6没有问题,但是装5.7却出现了这个问题,求助!!

centos 7安装 yum install openssl-devel出现了问题,求解!

``` Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). The program yum-complete-transaction is found in the yum-utils package. --> Running transaction check ---> Package openssl-devel.x86_64 1:1.0.1e-60.el7 will be installed --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-60.el7.x86_64 --> Running transaction check ---> Package krb5-devel.x86_64 0:1.14.1-27.el7_3 will be installed --> Processing Dependency: libkadm5(x86-64) = 1.14.1-27.el7_3 for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.14.1-27.el7_3.x86_64 --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed ---> Package libcom_err-devel.x86_64 0:1.42.9-9.el7 will be installed ---> Package libkadm5.x86_64 0:1.14.1-27.el7_3 will be installed ---> Package libselinux-devel.x86_64 0:2.5-6.el7 will be installed --> Processing Dependency: libselinux(x86-64) = 2.5-6.el7 for package: libselinux-devel-2.5-6.el7.x86_64 --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-6.el7.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-6.el7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed --> Running transaction check ---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated ---> Package libselinux.x86_64 0:2.5-6.el7 will be an update --> Processing Dependency: libsepol(x86-64) >= 2.5-6 for package: libselinux-2.5-6.el7.x86_64 --> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0)(64bit) for package: libselinux-2.5-6.el7.x86_64 ---> Package libsepol-devel.x86_64 0:2.5-6.el7 will be installed --> Running transaction check ---> Package libsepol.x86_64 0:2.1.9-3.el7 will be updated ---> Package libsepol.x86_64 0:2.5-6.el7 will be an update --> Processing Conflict: libselinux-2.5-6.el7.x86_64 conflicts systemd < 219-20 --> Finished Dependency Resolution Error: libselinux conflicts with systemd-container-208.20-6.el7.centos.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest ```

linux 执行 yum install perl-Time-HiRes per-devel

[root@xxx mysql]# yum install perl-Time-HiRes per-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Package 4:perl-Time-HiRes-1.9725-3.el7.x86_64 already installed and latest version No package per-devel available. Nothing to do

centos下安装mysql,安装上了,但死活进不去啊啊

我是在VMware 上装的centos,然后安装mysql 命令: yum install wget wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm rpm -ivh mysql-community-release-el7-5.noarch.rpm yum install mysql-server 这样就安装完成mysql了,我们可以用命令查看一下是否安装成功了 命令是:rpm -qa | grep mysql 显示: mysql-community-release-el7-5.noarch mysql-community-libs-5.6.23-3.el7.x86_64 mysql-community-server-5.6.23-3.el7.x86_64 mysql-community-common-5.6.23-3.el7.x86_64 mysql-community-client-5.6.23-3.el7.x86_64 刚刚安装好的时候是能进去的 直接 mysql 改了下密码,用的是这个命令: # mysql -uroot mysql> set password for ‘root’@‘localhost’ = password('我的密码'); mysql> exit 然后就进不去了 然后我就重装 重装时,我也注意到需要将上个mysql卸载干净,这样卸载的: yum remove mysql mysql-server mysql-libs mysql-client; find / -name mysql 将找到的相关东西删掉; rm -rf 目录 -删除目录 rpm -qa|grep mysql(查询出来的东东yum remove掉) 然后安装完后,输入:mysql 提示: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 咋回事呢 新人没币打赏啊 静待好心人解答

求救:centos6.8中的mysql 5.7启动报错

centos6.8中的mysql 5.7启动出现basedir:command not found及datadir:command not found报错![图片说明](https://img-ask.csdn.net/upload/201901/27/1548561728_469847.png)

无法在centos上安装带有yum的php-gd和freetype

<div class="post-text" itemprop="text"> <p>I'm unable to install GD and Freetype for PHP on centos.</p> <p>I've read many similar questions like this one <a href="https://stackoverflow.com/questions/21216129/install-gd-library-and-freetype-on-linux">Install GD library and freetype on Linux</a> But I'm still having no luck..</p> <pre><code> [root@media modules]# sudo yum install php-gd Loaded plugins: fastestmirror, priorities, replace, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.overthewire.com.au * extras: mirror.nsw.coloau.com.au * ius: ius.mirror.digitalpacific.com.au * remi-php56: mirror.innosol.asia * rpmforge: mirror.ventraip.net.au * updates: mirror.overthewire.com.au Resolving Dependencies --&gt; Running transaction check ---&gt; Package php-gd.x86_64 0:5.6.20-1.el6.remi will be installed --&gt; Processing Dependency: gd-last(x86-64) &gt;= 2.1.1 for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libvpx.so.1()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Running transaction check ---&gt; Package libvpx.x86_64 0:1.3.0-5.el6_5 will be installed ---&gt; Package php-gd.x86_64 0:5.6.20-1.el6.remi will be installed --&gt; Processing Dependency: gd-last(x86-64) &gt;= 2.1.1 for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Finished Dependency Resolution Error: Package: php-gd-5.6.20-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) &gt;= 2.1.1 Error: Package: php-gd-5.6.20-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest sudo apt-get install freetype*[root@media modules]# sudo apt-get install freetype* sudo: apt-get: command not found [root@media modules]# sudo yum install freetype* Loaded plugins: fastestmirror, priorities, replace, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.overthewire.com.au * extras: mirror.nsw.coloau.com.au * ius: ius.mirror.digitalpacific.com.au * remi-php56: remi.conetix.com.au * rpmforge: repoforge.mirror.digitalpacific.com.au * updates: mirror.overthewire.com.au Package freetype-2.3.11-15.el6_6.1.x86_64 already installed and latest version Package freetype-devel-2.3.11-15.el6_6.1.x86_64 already installed and latest version Package freetype-demos-2.3.11-15.el6_6.1.x86_64 already installed and latest version Nothing to do [root@media modules]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] [root@media modules]# sudo yum install php56-gd Loaded plugins: fastestmirror, priorities, replace, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.overthewire.com.au * extras: mirror.nsw.coloau.com.au * ius: syd.mirror.rackspace.com * remi-php56: remi.conetix.com.au * rpmforge: mirror.ventraip.net.au * updates: mirror.overthewire.com.au No package php56-gd available. Error: Nothing to do [root@media modules]# yum install php-gd --enablerepo=remi,remi-php56 Loaded plugins: fastestmirror, priorities, replace, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.overthewire.com.au * extras: mirror.nsw.coloau.com.au * ius: ius.mirror.digitalpacific.com.au * remi-php56: remi.conetix.com.au * rpmforge: repoforge.mirror.digitalpacific.com.au * updates: mirror.overthewire.com.au Resolving Dependencies --&gt; Running transaction check ---&gt; Package php-gd.x86_64 0:5.6.20-1.el6.remi will be installed --&gt; Processing Dependency: gd-last(x86-64) &gt;= 2.1.1 for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libvpx.so.1()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Running transaction check ---&gt; Package libvpx.x86_64 0:1.3.0-5.el6_5 will be installed ---&gt; Package php-gd.x86_64 0:5.6.20-1.el6.remi will be installed --&gt; Processing Dependency: gd-last(x86-64) &gt;= 2.1.1 for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.20-1.el6.remi.x86_64 --&gt; Finished Dependency Resolution Error: Package: php-gd-5.6.20-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) &gt;= 2.1.1 Error: Package: php-gd-5.6.20-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest </code></pre> <p>My web app still shows</p> <pre><code>PHP GD Extension: Not Found PHP FreeType Support: Not Found </code></pre> <p>And I'm pretty confident about this because it work before I uninstalled PHP and installed a different version and lost these extensions :/</p> </div>

yum安装出错 --skip-broken

各位网友大家好,在安装ffmpeg库的时候出现如下错误,在网上找了几个方法,解决不掉,帖出来,望大家帮帮忙,感激不尽!! ``` [root@localhost asterisk-14.2.0]# yum install ffmpeg 已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.cn99.com * epel: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.cqu.edu.cn * linuxtech-release: pkgrepo.linuxtech.net * updates: mirrors.tuna.tsinghua.edu.cn 正在解决依赖关系 --> 正在检查事务 ---> 软件包 ffmpeg.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libswscale.so.2(LIBSWSCALE_2)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswresample.so.0(LIBSWRESAMPLE_0)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libpostproc.so.52(LIBPOSTPROC_52)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavutil.so.52(LIBAVUTIL_52)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavformat.so.54(LIBAVFORMAT_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavfilter.so.3(LIBAVFILTER_3)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavdevice.so.54(LIBAVDEVICE_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavcodec.so.54(LIBAVCODEC_54)(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswscale.so.2()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libswresample.so.0()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libpostproc.so.52()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavutil.so.52()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavformat.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavfilter.so.3()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavdevice.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libavcodec.so.54()(64bit),它被软件包 ffmpeg-1.1.5-2.el6.x86_64 需要 --> 正在检查事务 ---> 软件包 ffmpeg-libs_1.1.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0(CDIO_CDDA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 librtmp.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libopenjpeg.so.2()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcxcore.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcv.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libass.so.4()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在检查事务 ---> 软件包 ffmpeg-libs_1.1.x86_64.0.1.1.5-2.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0(CDIO_CDDA_0)(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libopenjpeg.so.2()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcxcore.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcv.so.2.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_paranoia.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 --> 正在处理依赖关系 libcdio_cdda.so.0()(64bit),它被软件包 ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 需要 ---> 软件包 libass.x86_64.0.0.10.0-3.el6 将被 安装 ---> 软件包 librtmp.x86_64.0.2.3-3.el6 将被 安装 --> 正在处理依赖关系 libgnutls.so.26(GNUTLS_1_4)(64bit),它被软件包 librtmp-2.3-3.el6.x86_64 需要 --> 正在处理依赖关系 libgnutls.so.26()(64bit),它被软件包 librtmp-2.3-3.el6.x86_64 需要 --> 解决依赖关系完成 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26(GNUTLS_1_4)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libopenjpeg.so.2()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_cdda.so.0(CDIO_CDDA_0)(64bit) 错误:软件包:librtmp-2.3-3.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26(GNUTLS_1_4)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_cdda.so.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcv.so.2.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26()(64bit) 错误:软件包:librtmp-2.3-3.el6.x86_64 (linuxtech-release) 需要:libgnutls.so.26()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcdio_paranoia.so.0()(64bit) 错误:软件包:ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release) 需要:libcxcore.so.2.0()(64bit) 您可以尝试添加 --skip-broken 选项来解决该问题 您可以尝试执行:rpm -Va --nofiles --nodigest ```

在linux环境中安装mysqlclient出错,安装gcc包时,提示您可以尝试执行:rpm -Va --nofiles --nodigest,执行后依然不能安装mysqlclient

![图片说明](https://img-ask.csdn.net/upload/201909/21/1569068128_843741.png)

centos下 openstack yum无法安装dashboard

报错 Error: Package: python-django-openstack-auth-1.1.2-1.el6.noarch (openstack-havana) Requires: Django14 Error: Package: python-django-appconf-0.5-3.el6.noarch (openstack-havana) Requires: Django14 Error: Package: python-django-horizon-2013.2.3-1.el6.noarch (openstack-havana) Requires: Django14 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Linux(centos-8.0)安装wine,yum安装和手动安装都报错,卡这了

# 1.yum安装wine ``` [root@10-7-185-27 wine]# sudo yum -y install wine CentOS-8.0 - AppStream 161 B/s | 162 B 00:01 CentOS-8.0 - Base 38 kB/s | 162 B 00:00 CentOS-8.0 - Extras 48 kB/s | 162 B 00:00 CentOS-8.0 - Plus 161 B/s | 162 B 00:01 Failed to synchronize cache for repo 'AppStream', ignoring this repo. Failed to synchronize cache for repo 'BaseOS', ignoring this repo. Failed to synchronize cache for repo 'extras', ignoring this repo. Failed to synchronize cache for repo 'centosplus', ignoring this repo. Last metadata expiration check: 0:09:27 ago on Mon 04 May 2020 10:43:43 PM HKT. Error: Problem: package wine-4.0.3-1.el7.x86_64 requires wine-twain(x86-64) = 4.0.3-1.el7, but none of the providers can be installed - conflicting requests - nothing provides sane-backends-libs(x86-64) needed by wine-twain-4.0.3-1.el7.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) ``` # 手动下包,安装 解压完以后输入:./configure --enable-win64 ``` configure: WARNING: prelink not found, base address of core dlls won't be set correctly. configure: WARNING: libxrender development files not found, XRender won't be supported. configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. configure: WARNING: libxslt development files not found, xslt won't be supported. configure: WARNING: libgnutls development files not found, no schannel support. configure: WARNING: libjpeg development files not found, JPEG won't be supported. configure: WARNING: No sound system was found. Windows applications will be silent. configure: Finished. Do 'make' to compile Wine. ``` 这是最后面的几行 再输入wine -version表示没有wine 小白,求大神指教~谢谢~~

关于centos7.0进入mysql5.7无法输入中文

我用的是云服务器,然后用bitwise SHH和putty远程登录 装了mysql5.7数据库,不能输入中文,只能输入字符,没进入数据库的话,就可以在控制台 输入中文。数据库编码我全设为utf8也没有用。敲中文就是敲不进去

centos7.2下安装python-pip的问题

Error: Package: python-pip-7.1.0-1.el6.noarch (epel) Requires: python(abi) = 2.6 Installed: python-2.7.5-48.el7.x86_64 (@base) python(abi) = 2.7 python(abi) = 2.7 Available: python34-3.4.5-2.el6.i686 (epel) python(abi) = 3.4 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 麻烦哪位大神给讲一下,安装时报了这个错误怎么解决

centos上通过rpm安装mysql失败

具体如下: [root@localhost 下载]# rpm -ivh MySQL-server-5.5.46-1.linux2.6.x86_64.rpm --nosignature 准备中... ################################# [100%] Giving mysqld 5 seconds to exit nicely 正在升级/安装... 1:MySQL-server-5.5.46-1.linux2.6 ################################# [100%] 错误:解压压缩文件 在文件/usr/share/mysql/korean/errmsg.sys;561db6af 失败:cpio: read 失败 - 没有那个文件或目录 错误:MySQL-server-5.5.46-1.linux2.6.x86_64: 安裝 已失败 MySQL-devel/MySQL-client都能安装成功!

CentOS7安装MySQL8.0要负责任解决的回答

yum方式的。在安装过程中超级慢,用网上的方式也解决不了。 我想要解压安装的方式去配置MySQL,我要详细版的。不要那种不负责的博客,看了好多都是假的,完全不能安成功,希望哪位好心人帮我一下。谢谢

如何解决使用yum无法安装containuer-selinux、docker的问题?

## 1. 最近准备在linux上安装docker,而安装docker之前就需要安装container-selinux、selinux-policy ![图片说明](https://img-ask.csdn.net/upload/201905/05/1557042666_31883.png) ## 2.尝试过像网上所说(https://blog.csdn.net/qq_41772936/article/details/81080284) 的将tencent的镜像、源换成aliyun,但执行yum makecache命令就一直Trying other mirror.用yum安装container-selinux,出现了以前一样的问题。 ![图片说明](https://img-ask.csdn.net/upload/201905/05/1557043170_982023.png) ## 3 .看网上的教程多次修改过centos-base.repo和centos-epel.repo文件,频繁的更换yum源,很怀疑是因为yum的配置文件修改有误才导致的一系列问题。因为卸载并重装过yum还是出现同样的问题。 ## ![图片说明](https://img-ask.csdn.net/upload/201905/05/1557043399_214872.png) ![图片说明](https://img-ask.csdn.net/upload/201905/05/1557043516_409194.png) ## 所以问一下大佬们如何修改配置文件或者使用什么yum源来顺利安装container-selinx和docker(也不懂Linux系统里是怎么处理各种软件安装包的……)

安装CDH过程中无法安装cloudera-manager-agent

系统是CENTOS7.2,安装CDH5.11.1。为什么在安装的时候老是会报错有依赖包没装?CM WEB端或者直接系统中安装都 不会。到底是哪里出问题了,有大神帮忙 吗》》???谢谢 [root@master yum.repos.d]# yum -y install cloudera-manager-agent.x86_64 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). --> Running transaction check ---> Package cloudera-manager-agent.x86_64 0:5.11.1-1.cm5111.p0.9.el7 will be installed --> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 --> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 --> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 --> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 --> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 --> Finished Dependency Resolution Error: Package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 (cloudera-manager) Requires: MySQL-python Error: Package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 (cloudera-manager) Requires: openssl-devel Error: Package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 (cloudera-manager) Requires: python-psycopg2 Error: Package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el7.x86_64 (cloudera-manager) Requires: /lib/lsb/init-functions You could try using --skip-broken to work around the problem ** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows: MariaDB-client-10.2.1-1.el7.centos.x86_64 has missing requires of MariaDB-common MariaDB-server-10.2.1-1.el7.centos.x86_64 has missing requires of MariaDB-common 2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit) 2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)

如何修复yum install php-mysqli错误

<div class="post-text" itemprop="text"> <p>I installed php-msqli on Centos 6.5, but it shows this error:</p> <p><a href="https://i.stack.imgur.com/9LWnW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9LWnW.jpg" alt="image"></a></p> <p>How to fix this?</p> </div>

centos7安装mysql workbench 依赖检测失败

[root@localhost tmp]# rpm -ivh mysql-workbench-gpl-5.2.47-1el6.i686.rpm 错误:依赖检测失败: libGL.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libX11.so.6 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libatk-1.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libatkmm-1.6.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.1) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.1.3) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.2) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.3) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.3.4) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libc.so.6(GLIBC_2.4) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libcairo.so.2 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libcairomm-1.0.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libcrypt.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libcrypto.so.10 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libdl.so.2 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libdl.so.2(GLIBC_2.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libdl.so.2(GLIBC_2.1) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libfontconfig.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libfreetype.so.6 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgcc_s.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgcc_s.so.1(GCC_3.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgcc_s.so.1(GLIBC_2.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgdk-x11-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgdk_pixbuf-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgdkmm-2.4.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgio-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgiomm-2.4.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libglib-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libglibmm-2.4.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgmodule-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgnome-keyring.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgobject-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgthread-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgtk-x11-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libgtkmm-2.4.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 liblua-5.1.so 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libm.so.6 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libm.so.6(GLIBC_2.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libm.so.6(GLIBC_2.1) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libmysqlclient_r.so.16 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libmysqlclient_r.so.16(libmysqlclient_16) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libnsl.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpango-1.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpangocairo-1.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpangoft2-1.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpangomm-1.4.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpcre.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpthread.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpthread.so.0(GLIBC_2.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libpython2.6.so.1.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 librt.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libsigc-2.0.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libsqlite3.so.0 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libssl.so.10 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(CXXABI_1.3) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(CXXABI_1.3.1) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(GLIBCXX_3.4) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(GLIBCXX_3.4.10) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(GLIBCXX_3.4.11) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libstdc++.so.6(GLIBCXX_3.4.9) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libuuid.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libuuid.so.1(UUID_1.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libxml2.so.2 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libxml2.so.2(LIBXML2_2.4.30) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libxml2.so.2(LIBXML2_2.6.0) 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libz.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 libzip.so.1 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 pexpect 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 python-paramiko 被 mysql-workbench-gpl-5.2.47-1el6.i686 需要 请问这个怎麼解决阿。

rpm安装jenkins启动后报错 UnknownHostException: centos68-192-168-18-4: Name or service not known

1. jenkins 版本 jenkins-2.164.1-1.1.noarch.rpm 2. rpm安装方式安装成功后通过service jenkins start启动报错 3. hostname和/etc/hosts都已修改centos68 ``` [root@centos68 work]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 centos68 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 centos68 127.0.0.1 centos68-192-168-18-4 192.168.18.4 centos68 ``` 4. 错误: ``` [root@centos68 jenkins]# tail -200f /var/log/jenkins/jenkins.log Running from: /usr/lib/jenkins/jenkins.war webroot: $user.home/.jenkins Mar 26, 2019 2:58:18 PM org.eclipse.jetty.util.log.Log initialized INFO: Logging initialized @428ms to org.eclipse.jetty.util.log.JavaUtilLog Mar 26, 2019 2:58:18 PM winstone.Logger logInternal INFO: Beginning extraction from war file Mar 26, 2019 2:58:18 PM org.eclipse.jetty.server.Server doStart INFO: jetty-9.4.z-SNAPSHOT; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 11.0.1+13-LTS Mar 26, 2019 2:58:18 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet INFO: NO JSP Support for /jenkins, did not find org.eclipse.jetty.jsp.JettyJspServlet Mar 26, 2019 2:58:18 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart INFO: DefaultSessionIdManager workerName=node0 Mar 26, 2019 2:58:18 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart INFO: No SessionScavenger set, using defaults Mar 26, 2019 2:58:18 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging INFO: node0 Scavenging every 660000ms WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/root/.jenkins/war/WEB-INF/lib/xstream-1.4.7-jenkins-1.jar) to field java.util.TreeMap.comparator WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Jenkins home directory: /root/.jenkins found at: $user.home/.jenkins Mar 26, 2019 2:58:19 PM org.eclipse.jetty.server.handler.ContextHandler doStart INFO: Started w.@66b72664{Jenkins v2.164.1,/jenkins,file:///root/.jenkins/war/,AVAILABLE}{/root/.jenkins/war} Mar 26, 2019 2:58:19 PM org.eclipse.jetty.server.AbstractConnector doStart INFO: Started ServerConnector@76b0ae1b{HTTP/1.1,[http/1.1]}{0.0.0.0:2155} Mar 26, 2019 2:58:19 PM org.eclipse.jetty.server.Server doStart INFO: Started @1369ms Mar 26, 2019 2:58:19 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled Mar 26, 2019 2:58:19 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Mar 26, 2019 2:58:19 PM hudson.PluginManager loadDetachedPlugins INFO: Upgrading Jenkins. The last running version was 2.150.1. This Jenkins is version 2.164.1. Mar 26, 2019 2:58:19 PM hudson.PluginManager loadDetachedPlugins INFO: Upgraded Jenkins from version 2.150.1 to version 2.164.1. Loaded detached plugins (and dependencies): [jaxb.hpi] Mar 26, 2019 2:58:19 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Mar 26, 2019 2:58:20 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Mar 26, 2019 2:58:20 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Mar 26, 2019 2:58:20 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Mar 26, 2019 2:58:20 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Mar 26, 2019 2:58:20 PM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Mar 26, 2019 2:58:20 PM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Download metadata. 3 ms Mar 26, 2019 2:58:21 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@3bf691fa: display name [Root WebApplicationContext]; startup date [Tue Mar 26 14:58:21 CST 2019]; root of context hierarchy Mar 26, 2019 2:58:21 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@3bf691fa]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6a2e76fa Mar 26, 2019 2:58:21 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6a2e76fa: defining beans [authenticationManager]; root of factory hierarchy Mar 26, 2019 2:58:21 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@101e1204: display name [Root WebApplicationContext]; startup date [Tue Mar 26 14:58:21 CST 2019]; root of context hierarchy Mar 26, 2019 2:58:21 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@101e1204]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1a7623e2 Mar 26, 2019 2:58:21 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a7623e2: defining beans [filter,legacy]; root of factory hierarchy Mar 26, 2019 2:58:21 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Mar 26, 2019 2:58:21 PM hudson.WebAppMain$3 run INFO: Jenkins is fully up and running Mar 26, 2019 2:58:21 PM javax.jmdns.impl.HostInfo newHostInfo WARNING: Could not intialize the host network interface on nullbecause of an error: centos68-192-168-18-4: centos68-192-168-18-4: Name or service not known java.net.UnknownHostException: centos68-192-168-18-4: centos68-192-168-18-4: Name or service not known at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1642) at javax.jmdns.impl.HostInfo.newHostInfo(HostInfo.java:75) at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:407) at javax.jmdns.JmDNS.create(JmDNS.java:60) at hudson.DNSMultiCast$1.call(DNSMultiCast.java:33) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.net.UnknownHostException: centos68-192-168-18-4: Name or service not known at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1515) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505) at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1637) ... 10 more ```

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

删库了,我们一定要跑路吗?

在工作中,我们误删数据或者数据库,我们一定需要跑路吗?我看未必,程序员一定要学会自救,神不知鬼不觉的将数据找回。 在 mysql 数据库中,我们知道 binlog 日志记录了我们对数据库的所有操作,所以 binlog 日志就是我们自救的利器。 接下来就来开启程序员自救之路。 想要自救成功,binlog 这把利器一定要好,在自己之前,我们一定要确定我们有 binlog 这把利器,以下就是确保有 bi...

再不跳槽,应届毕业生拿的都比我多了!

跳槽几乎是每个人职业生涯的一部分,很多HR说“三年两跳”已经是一个跳槽频繁与否的阈值了,可为什么市面上有很多程序员不到一年就跳槽呢?他们不担心影响履历吗? PayScale之前发布的**《员工最短任期公司排行榜》中,两家码农大厂Amazon和Google**,以1年和1.1年的员工任期中位数分列第二、第四名。 PayScale:员工最短任期公司排行榜 意外的是,任期中位数极小的这两家公司,薪资...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

华为初面+综合面试(Java技术面)附上面试题

华为面试整体流程大致分为笔试,性格测试,面试,综合面试,回学校等结果。笔试来说,华为的难度较中等,选择题难度和网易腾讯差不多。最后的代码题,相比下来就简单很多,一共3道题目,前2题很容易就AC,题目已经记不太清楚,不过难度确实不大。最后一题最后提交的代码过了75%的样例,一直没有发现剩下的25%可能存在什么坑。 笔试部分太久远,我就不怎么回忆了。直接将面试。 面试 如果说腾讯的面试是挥金如土...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

立即提问
相关内容推荐